Title: [201925] trunk
Revision
201925
Author
[email protected]
Date
2016-06-10 07:47:37 -0700 (Fri, 10 Jun 2016)

Log Message

MessagePort should be exposed to workers
https://bugs.webkit.org/show_bug.cgi?id=158607

Reviewed by Brady Eidson.

Source/WebCore:

MessagePort should be exposed to workers:
https://html.spec.whatwg.org/multipage/comms.html#messageport

Firefox and Chrome both already expose it.

No new tests, rebaselined existing test.

* dom/MessagePort.idl:

LayoutTests:

Rebaseline test.

* js/dom/global-constructors-attributes-dedicated-worker-expected.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (201924 => 201925)


--- trunk/LayoutTests/ChangeLog	2016-06-10 13:26:30 UTC (rev 201924)
+++ trunk/LayoutTests/ChangeLog	2016-06-10 14:47:37 UTC (rev 201925)
@@ -1,3 +1,14 @@
+2016-06-10  Chris Dumez  <[email protected]>
+
+        MessagePort should be exposed to workers
+        https://bugs.webkit.org/show_bug.cgi?id=158607
+
+        Reviewed by Brady Eidson.
+
+        Rebaseline test.
+
+        * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
+
 2016-06-10  Adam Bergkvist  <[email protected]>
 
         WebRTC: Imlement MediaEndpointPeerConnection::createAnswer()

Modified: trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt (201924 => 201925)


--- trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt	2016-06-10 13:26:30 UTC (rev 201924)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt	2016-06-10 14:47:37 UTC (rev 201925)
@@ -144,6 +144,11 @@
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'MessageEvent').hasOwnProperty('set') is false
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'MessageEvent').enumerable is false
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'MessageEvent').configurable is true
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'MessagePort').value is MessagePort
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'MessagePort').hasOwnProperty('get') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'MessagePort').hasOwnProperty('set') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'MessagePort').enumerable is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'MessagePort').configurable is true
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Number').value is Number
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Number').hasOwnProperty('get') is false
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Number').hasOwnProperty('set') is false

Modified: trunk/Source/WebCore/ChangeLog (201924 => 201925)


--- trunk/Source/WebCore/ChangeLog	2016-06-10 13:26:30 UTC (rev 201924)
+++ trunk/Source/WebCore/ChangeLog	2016-06-10 14:47:37 UTC (rev 201925)
@@ -1,3 +1,19 @@
+2016-06-10  Chris Dumez  <[email protected]>
+
+        MessagePort should be exposed to workers
+        https://bugs.webkit.org/show_bug.cgi?id=158607
+
+        Reviewed by Brady Eidson.
+
+        MessagePort should be exposed to workers:
+        https://html.spec.whatwg.org/multipage/comms.html#messageport
+
+        Firefox and Chrome both already expose it.
+
+        No new tests, rebaselined existing test.
+
+        * dom/MessagePort.idl:
+
 2016-06-10  Youenn Fablet  <[email protected]>
 
         Move preflight check code outside of DocumentThreadableLoader

Modified: trunk/Source/WebCore/dom/MessagePort.idl (201924 => 201925)


--- trunk/Source/WebCore/dom/MessagePort.idl	2016-06-10 13:26:30 UTC (rev 201924)
+++ trunk/Source/WebCore/dom/MessagePort.idl	2016-06-10 14:47:37 UTC (rev 201925)
@@ -26,6 +26,7 @@
  */
 
 [
+    Exposed=(Window,Worker),
     JSCustomMarkFunction,
     GenerateIsReachable=Impl,
     ActiveDOMObject,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to