Initial patch.
[vuplus_webkit] / Source / WebCore / workers / Worker.idl
index f871df9..1faac7a 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved.
+ * Copyright (C) 2011 Google Inc. All Rights Reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -45,6 +46,8 @@ module threads {
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
         [Custom] void postMessage(in SerialisedScriptValue message, in [Optional] Array messagePorts)
             raises(DOMException);
+        [Custom] void webkitPostMessage(in SerialisedScriptValue message, in [Optional] Array messagePorts)
+            raises(DOMException);
 #else
         // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
         void postMessage(in SerializedScriptValue message, in [Optional] MessagePort messagePort)