Title: [126040] trunk/Source/WebCore
- Revision
- 126040
- Author
- [email protected]
- Date
- 2012-08-20 09:39:11 -0700 (Mon, 20 Aug 2012)
Log Message
postMessage() in MessagePort.idl does not match spec
https://bugs.webkit.org/show_bug.cgi?id=94477
Patch by Christophe Dumez <[email protected]> on 2012-08-20
Reviewed by Kentaro Hara.
Update definition of postMessage() in MessagePort.idl
to match the specification at:
http://www.w3.org/TR/html5/comms.html#messageport
The first argument should be of type 'any', not
'DOMString'.
No new tests, no behavior change.
* dom/MessagePort.idl:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (126039 => 126040)
--- trunk/Source/WebCore/ChangeLog 2012-08-20 16:18:47 UTC (rev 126039)
+++ trunk/Source/WebCore/ChangeLog 2012-08-20 16:39:11 UTC (rev 126040)
@@ -1,3 +1,21 @@
+2012-08-20 Christophe Dumez <[email protected]>
+
+ postMessage() in MessagePort.idl does not match spec
+ https://bugs.webkit.org/show_bug.cgi?id=94477
+
+ Reviewed by Kentaro Hara.
+
+ Update definition of postMessage() in MessagePort.idl
+ to match the specification at:
+ http://www.w3.org/TR/html5/comms.html#messageport
+
+ The first argument should be of type 'any', not
+ 'DOMString'.
+
+ No new tests, no behavior change.
+
+ * dom/MessagePort.idl:
+
2012-08-20 Sheriff Bot <[email protected]>
Unreviewed, rolling out r125989.
Modified: trunk/Source/WebCore/dom/MessagePort.idl (126039 => 126040)
--- trunk/Source/WebCore/dom/MessagePort.idl 2012-08-20 16:18:47 UTC (rev 126039)
+++ trunk/Source/WebCore/dom/MessagePort.idl 2012-08-20 16:39:11 UTC (rev 126040)
@@ -37,9 +37,9 @@
// We need to have something as an ObjC binding, because MessagePort is used in MessageEvent, which already has one,
// but we don't want to actually expose the API while it is in flux.
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
- [Custom] void postMessage(in DOMString message, in [Optional] Array messagePorts)
+ [Custom] void postMessage(in any message, in [Optional] Array messagePorts)
raises(DOMException);
- [Custom] void webkitPostMessage(in DOMString message, in [Optional] Array transfer)
+ [Custom] void webkitPostMessage(in any message, in [Optional] Array transfer)
raises(DOMException);
void start();
void close();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes