Title: [201791] trunk
Revision
201791
Author
[email protected]
Date
2016-06-07 22:28:37 -0700 (Tue, 07 Jun 2016)

Log Message

Expose Event / EventTarget properties on WorkerGlobalScope
https://bugs.webkit.org/show_bug.cgi?id=158511

Reviewed by Sam Weinig.

Source/WebCore:

Expose Event / EventTarget properties on WorkerGlobalScope, as per the
latest DOM specification:
- https://dom.spec.whatwg.org/#interface-event
- https://dom.spec.whatwg.org/#interface-eventtarget

No new tests, rebaselined existing test.

* dom/Event.idl:
* dom/EventTarget.idl:

LayoutTests:

Rebaseline existing test.

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

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (201790 => 201791)


--- trunk/LayoutTests/ChangeLog	2016-06-08 04:27:45 UTC (rev 201790)
+++ trunk/LayoutTests/ChangeLog	2016-06-08 05:28:37 UTC (rev 201791)
@@ -1,3 +1,14 @@
+2016-06-07  Chris Dumez  <[email protected]>
+
+        Expose Event / EventTarget properties on WorkerGlobalScope
+        https://bugs.webkit.org/show_bug.cgi?id=158511
+
+        Reviewed by Sam Weinig.
+
+        Rebaseline existing test.
+
+        * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
+
 2016-06-07  Antoine Quint  <[email protected]>
 
         The backdrop-filter property does not respect border-radius

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


--- trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt	2016-06-08 04:27:45 UTC (rev 201790)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt	2016-06-08 05:28:37 UTC (rev 201791)
@@ -59,11 +59,21 @@
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EvalError').hasOwnProperty('set') is false
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EvalError').enumerable is false
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EvalError').configurable is true
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Event').value is Event
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Event').hasOwnProperty('get') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Event').hasOwnProperty('set') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('set') is false
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventSource').enumerable is false
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventSource').configurable is true
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventTarget').value is EventTarget
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventTarget').hasOwnProperty('get') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventTarget').hasOwnProperty('set') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventTarget').enumerable is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'EventTarget').configurable is true
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'FileReader').value is FileReader
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'FileReader').hasOwnProperty('get') is false
 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'FileReader').hasOwnProperty('set') is false

Modified: trunk/Source/WebCore/ChangeLog (201790 => 201791)


--- trunk/Source/WebCore/ChangeLog	2016-06-08 04:27:45 UTC (rev 201790)
+++ trunk/Source/WebCore/ChangeLog	2016-06-08 05:28:37 UTC (rev 201791)
@@ -1,3 +1,20 @@
+2016-06-07  Chris Dumez  <[email protected]>
+
+        Expose Event / EventTarget properties on WorkerGlobalScope
+        https://bugs.webkit.org/show_bug.cgi?id=158511
+
+        Reviewed by Sam Weinig.
+
+        Expose Event / EventTarget properties on WorkerGlobalScope, as per the
+        latest DOM specification:
+        - https://dom.spec.whatwg.org/#interface-event
+        - https://dom.spec.whatwg.org/#interface-eventtarget
+
+        No new tests, rebaselined existing test.
+
+        * dom/Event.idl:
+        * dom/EventTarget.idl:
+
 2016-06-07  Joonghun Park  <[email protected]>
 
         [EFL] Build fix related with SharedBuffer::createFromReadingFile in SharedBufferPosix.cpp

Modified: trunk/Source/WebCore/dom/Event.idl (201790 => 201791)


--- trunk/Source/WebCore/dom/Event.idl	2016-06-08 04:27:45 UTC (rev 201790)
+++ trunk/Source/WebCore/dom/Event.idl	2016-06-08 05:28:37 UTC (rev 201791)
@@ -22,6 +22,7 @@
 [
     CustomToJSObject,
     ConstructorTemplate=Event,
+    Exposed=(Window,Worker),
     ObjCPolymorphic,
 ] interface Event {
 

Modified: trunk/Source/WebCore/dom/EventTarget.idl (201790 => 201791)


--- trunk/Source/WebCore/dom/EventTarget.idl	2016-06-08 04:27:45 UTC (rev 201790)
+++ trunk/Source/WebCore/dom/EventTarget.idl	2016-06-08 05:28:37 UTC (rev 201791)
@@ -21,6 +21,7 @@
 // Introduced in DOM Level 2:
 [
     CustomToJSObject,
+    Exposed=(Window,Worker),
     JSCustomHeader,
     JSCustomToNativeObject,
     ObjCProtocol,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to