Title: [196621] trunk
Revision
196621
Author
[email protected]
Date
2016-02-15 21:32:56 -0800 (Mon, 15 Feb 2016)

Log Message

The following properties should exist on the global object: AudioTrackList, AudioTrack, VideoTrackList, VideoTrack
https://bugs.webkit.org/show_bug.cgi?id=154250
<rdar://problem/24660829>

Reviewed by Eric Carlson.

LayoutTests/imported/w3c:

Rebaseline now that more checks are passing.

* web-platform-tests/html/dom/interfaces-expected.txt:

Source/WebCore:

The following properties should exist on the global object:
- AudioTrackList, AudioTrack, VideoTrackList, VideoTrack

These interfaces are not marked as [NoInterfaceObject] in:
- https://html.spec.whatwg.org/#audiotracklist-and-videotracklist-objects

No new tests, already covered by existing tests.

* html/track/AudioTrack.idl:
* html/track/AudioTrackList.idl:
* html/track/VideoTrack.idl:
* html/track/VideoTrackList.idl:

LayoutTests:

Rebaseline now that AudioTrackList, AudioTrack, VideoTrackList and VideoTrack
are exposed on the global Window object.

* js/dom/global-constructors-attributes-expected.txt:
* platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
* platform/mac/js/dom/global-constructors-attributes-expected.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (196620 => 196621)


--- trunk/LayoutTests/ChangeLog	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/LayoutTests/ChangeLog	2016-02-16 05:32:56 UTC (rev 196621)
@@ -1,3 +1,19 @@
+2016-02-15  Chris Dumez  <[email protected]>
+
+        The following properties should exist on the global object: AudioTrackList, AudioTrack, VideoTrackList, VideoTrack
+        https://bugs.webkit.org/show_bug.cgi?id=154250
+        <rdar://problem/24660829>
+
+        Reviewed by Eric Carlson.
+
+        Rebaseline now that AudioTrackList, AudioTrack, VideoTrackList and VideoTrack
+        are exposed on the global Window object.
+
+        * js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac/js/dom/global-constructors-attributes-expected.txt:
+
 2016-02-15  Hunseop Jeong  <[email protected]>
 
         [EFL] Rebaseline after r196244.

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (196620 => 196621)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2016-02-16 05:32:56 UTC (rev 196621)
@@ -1,5 +1,17 @@
 2016-02-15  Chris Dumez  <[email protected]>
 
+        The following properties should exist on the global object: AudioTrackList, AudioTrack, VideoTrackList, VideoTrack
+        https://bugs.webkit.org/show_bug.cgi?id=154250
+        <rdar://problem/24660829>
+
+        Reviewed by Eric Carlson.
+
+        Rebaseline now that more checks are passing.
+
+        * web-platform-tests/html/dom/interfaces-expected.txt:
+
+2016-02-15  Chris Dumez  <[email protected]>
+
         Re-sync W3C web-platform-tests' html/dom/interfaces.html
         https://bugs.webkit.org/show_bug.cgi?id=154259
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt (196620 => 196621)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt	2016-02-16 05:32:56 UTC (rev 196621)
@@ -2192,47 +2192,55 @@
 PASS MediaError interface: errorVideo.error must inherit property "MEDIA_ERR_DECODE" with the proper type (2) 
 PASS MediaError interface: errorVideo.error must inherit property "MEDIA_ERR_SRC_NOT_SUPPORTED" with the proper type (3) 
 FAIL MediaError interface: errorVideo.error must inherit property "code" with the proper type (4) assert_inherits: property "code" found on object expected in prototype chain
-FAIL AudioTrackList interface: existence and properties of interface object assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrackList interface object length assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrackList interface object name assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrackList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrackList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrackList interface: attribute length assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrackList interface: operation getTrackById(DOMString) assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrackList interface: attribute onchange assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrackList interface: attribute onaddtrack assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrackList interface: attribute onremovetrack assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing
-FAIL AudioTrack interface: existence and properties of interface object assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL AudioTrack interface object length assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL AudioTrack interface object name assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL AudioTrack interface: existence and properties of interface prototype object assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL AudioTrack interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL AudioTrack interface: attribute id assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL AudioTrack interface: attribute kind assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL AudioTrack interface: attribute label assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL AudioTrack interface: attribute language assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL AudioTrack interface: attribute enabled assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing
-FAIL VideoTrackList interface: existence and properties of interface object assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface object length assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface object name assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface: attribute length assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface: operation getTrackById(DOMString) assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface: attribute selectedIndex assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface: attribute onchange assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface: attribute onaddtrack assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrackList interface: attribute onremovetrack assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing
-FAIL VideoTrack interface: existence and properties of interface object assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
-FAIL VideoTrack interface object length assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
-FAIL VideoTrack interface object name assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
-FAIL VideoTrack interface: existence and properties of interface prototype object assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
-FAIL VideoTrack interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
-FAIL VideoTrack interface: attribute id assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
-FAIL VideoTrack interface: attribute kind assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
-FAIL VideoTrack interface: attribute label assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
-FAIL VideoTrack interface: attribute language assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
-FAIL VideoTrack interface: attribute selected assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing
+PASS AudioTrackList interface: existence and properties of interface object 
+PASS AudioTrackList interface object length 
+PASS AudioTrackList interface object name 
+PASS AudioTrackList interface: existence and properties of interface prototype object 
+PASS AudioTrackList interface: existence and properties of interface prototype object's "constructor" property 
+PASS AudioTrackList interface: attribute length 
+PASS AudioTrackList interface: operation getTrackById(DOMString) 
+PASS AudioTrackList interface: attribute onchange 
+PASS AudioTrackList interface: attribute onaddtrack 
+PASS AudioTrackList interface: attribute onremovetrack 
+PASS AudioTrack interface: existence and properties of interface object 
+PASS AudioTrack interface object length 
+PASS AudioTrack interface object name 
+PASS AudioTrack interface: existence and properties of interface prototype object 
+PASS AudioTrack interface: existence and properties of interface prototype object's "constructor" property 
+PASS AudioTrack interface: attribute id 
+FAIL AudioTrack interface: attribute kind assert_equals: setter must be undefined for readonly attributes expected (undefined) undefined but got (function) function "function kind() {
+    [native code]
+}"
+PASS AudioTrack interface: attribute label 
+FAIL AudioTrack interface: attribute language assert_equals: setter must be undefined for readonly attributes expected (undefined) undefined but got (function) function "function language() {
+    [native code]
+}"
+PASS AudioTrack interface: attribute enabled 
+PASS VideoTrackList interface: existence and properties of interface object 
+PASS VideoTrackList interface object length 
+PASS VideoTrackList interface object name 
+PASS VideoTrackList interface: existence and properties of interface prototype object 
+PASS VideoTrackList interface: existence and properties of interface prototype object's "constructor" property 
+PASS VideoTrackList interface: attribute length 
+PASS VideoTrackList interface: operation getTrackById(DOMString) 
+PASS VideoTrackList interface: attribute selectedIndex 
+PASS VideoTrackList interface: attribute onchange 
+PASS VideoTrackList interface: attribute onaddtrack 
+PASS VideoTrackList interface: attribute onremovetrack 
+PASS VideoTrack interface: existence and properties of interface object 
+PASS VideoTrack interface object length 
+PASS VideoTrack interface object name 
+PASS VideoTrack interface: existence and properties of interface prototype object 
+PASS VideoTrack interface: existence and properties of interface prototype object's "constructor" property 
+PASS VideoTrack interface: attribute id 
+FAIL VideoTrack interface: attribute kind assert_equals: setter must be undefined for readonly attributes expected (undefined) undefined but got (function) function "function kind() {
+    [native code]
+}"
+PASS VideoTrack interface: attribute label 
+FAIL VideoTrack interface: attribute language assert_equals: setter must be undefined for readonly attributes expected (undefined) undefined but got (function) function "function language() {
+    [native code]
+}"
+PASS VideoTrack interface: attribute selected 
 PASS MediaController interface: existence and properties of interface object 
 PASS MediaController interface object length 
 PASS MediaController interface object name 

Modified: trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt (196620 => 196621)


--- trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt	2016-02-16 05:32:56 UTC (rev 196621)
@@ -63,6 +63,16 @@
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').value is AudioTrack
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').value is AudioTrackList
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').value is BarProp
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').hasOwnProperty('set') is false
@@ -1813,6 +1823,16 @@
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').value is VideoTrack
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').value is VideoTrackList
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').value is WaveShaperNode
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').hasOwnProperty('set') is false

Modified: trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt (196620 => 196621)


--- trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt	2016-02-16 05:32:56 UTC (rev 196621)
@@ -73,6 +73,16 @@
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').value is AudioTrack
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').value is AudioTrackList
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').value is BarProp
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').hasOwnProperty('set') is false
@@ -2088,6 +2098,16 @@
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').value is VideoTrack
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').value is VideoTrackList
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').value is WaveShaperNode
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').hasOwnProperty('set') is false

Modified: trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt (196620 => 196621)


--- trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt	2016-02-16 05:32:56 UTC (rev 196621)
@@ -63,6 +63,16 @@
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').value is AudioTrack
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').value is AudioTrackList
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').value is BarProp
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').hasOwnProperty('set') is false
@@ -1908,11 +1918,21 @@
 PASS Object.getOwnPropertyDescriptor(global, 'VTTRegion').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'VTTRegion').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'VTTRegion').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').value is VideoTrack
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').value is ValidityState
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').value is VideoTrackList
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').value is WaveShaperNode
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').hasOwnProperty('set') is false

Modified: trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt (196620 => 196621)


--- trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt	2016-02-16 05:32:56 UTC (rev 196621)
@@ -73,6 +73,16 @@
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'AudioProcessingEvent').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').value is AudioTrack
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrack').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').value is AudioTrackList
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'AudioTrackList').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').value is BarProp
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'BarProp').hasOwnProperty('set') is false
@@ -2088,6 +2098,16 @@
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'ValidityState').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').value is VideoTrack
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrack').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').value is VideoTrackList
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'VideoTrackList').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').value is WaveShaperNode
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'WaveShaperNode').hasOwnProperty('set') is false

Modified: trunk/Source/WebCore/ChangeLog (196620 => 196621)


--- trunk/Source/WebCore/ChangeLog	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/Source/WebCore/ChangeLog	2016-02-16 05:32:56 UTC (rev 196621)
@@ -1,3 +1,24 @@
+2016-02-15  Chris Dumez  <[email protected]>
+
+        The following properties should exist on the global object: AudioTrackList, AudioTrack, VideoTrackList, VideoTrack
+        https://bugs.webkit.org/show_bug.cgi?id=154250
+        <rdar://problem/24660829>
+
+        Reviewed by Eric Carlson.
+
+        The following properties should exist on the global object:
+        - AudioTrackList, AudioTrack, VideoTrackList, VideoTrack
+
+        These interfaces are not marked as [NoInterfaceObject] in:
+        - https://html.spec.whatwg.org/#audiotracklist-and-videotracklist-objects
+
+        No new tests, already covered by existing tests.
+
+        * html/track/AudioTrack.idl:
+        * html/track/AudioTrackList.idl:
+        * html/track/VideoTrack.idl:
+        * html/track/VideoTrackList.idl:
+
 2016-02-15  Sam Weinig  <[email protected]>
 
         Stop using NSMapTable in places where we were only using it to be GC safe

Modified: trunk/Source/WebCore/html/track/AudioTrack.idl (196620 => 196621)


--- trunk/Source/WebCore/html/track/AudioTrack.idl	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/Source/WebCore/html/track/AudioTrack.idl	2016-02-16 05:32:56 UTC (rev 196621)
@@ -24,7 +24,6 @@
  */
 
 [
-    NoInterfaceObject,
     Conditional=VIDEO_TRACK,
     GenerateIsReachable=ImplElementRoot,
     JSCustomMarkFunction

Modified: trunk/Source/WebCore/html/track/AudioTrackList.idl (196620 => 196621)


--- trunk/Source/WebCore/html/track/AudioTrackList.idl	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/Source/WebCore/html/track/AudioTrackList.idl	2016-02-16 05:32:56 UTC (rev 196621)
@@ -24,7 +24,6 @@
  */
 
 [
-    NoInterfaceObject,
     Conditional=VIDEO_TRACK,
     GenerateIsReachable=ImplElementRoot,
     JSCustomMarkFunction,

Modified: trunk/Source/WebCore/html/track/VideoTrack.idl (196620 => 196621)


--- trunk/Source/WebCore/html/track/VideoTrack.idl	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/Source/WebCore/html/track/VideoTrack.idl	2016-02-16 05:32:56 UTC (rev 196621)
@@ -24,7 +24,6 @@
  */
 
 [
-    NoInterfaceObject,
     Conditional=VIDEO_TRACK,
     GenerateIsReachable=ImplElementRoot,
     JSCustomMarkFunction

Modified: trunk/Source/WebCore/html/track/VideoTrackList.idl (196620 => 196621)


--- trunk/Source/WebCore/html/track/VideoTrackList.idl	2016-02-16 05:15:22 UTC (rev 196620)
+++ trunk/Source/WebCore/html/track/VideoTrackList.idl	2016-02-16 05:32:56 UTC (rev 196621)
@@ -24,7 +24,6 @@
  */
 
 [
-    NoInterfaceObject,
     Conditional=VIDEO_TRACK,
     GenerateIsReachable=ImplElementRoot,
     JSCustomMarkFunction,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to