- Revision
- 202980
- Author
- [email protected]
- Date
- 2016-07-08 08:48:23 -0700 (Fri, 08 Jul 2016)
Log Message
Expose crossOrigin attribute as a static property in HTMLMediaElement
https://bugs.webkit.org/show_bug.cgi?id=159459
Patch by Olivier Blin <[email protected]> on 2016-07-08
Reviewed by Chris Dumez.
The crossOrigin attribute is already used for MediaResourceLoader
(r119742 and r175050), but it was not exposed as a static property.
This fixes VR360 support in Dailymotion, since it uses the "in"
operator to detect if crossOrigin is supported by the
HTMLVideoElement, in order to enable VR360.
No new tests, rebaselined existing tests, 150 WPT tests are fixed.
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setCrossOrigin):
(WebCore::HTMLMediaElement::crossOrigin):
* html/HTMLMediaElement.h:
* html/HTMLMediaElement.idl:
Modified Paths
Diff
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt (202979 => 202980)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt 2016-07-08 15:30:50 UTC (rev 202979)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt 2016-07-08 15:48:23 UTC (rev 202980)
@@ -2042,7 +2042,7 @@
PASS HTMLMediaElement interface: document.createElement("video") must inherit property "error" with the proper type (0)
PASS HTMLMediaElement interface: document.createElement("video") must inherit property "src" with the proper type (1)
PASS HTMLMediaElement interface: document.createElement("video") must inherit property "currentSrc" with the proper type (2)
-FAIL HTMLMediaElement interface: document.createElement("video") must inherit property "crossOrigin" with the proper type (3) assert_inherits: property "crossOrigin" not found in prototype chain
+PASS HTMLMediaElement interface: document.createElement("video") must inherit property "crossOrigin" with the proper type (3)
PASS HTMLMediaElement interface: document.createElement("video") must inherit property "NETWORK_EMPTY" with the proper type (4)
PASS HTMLMediaElement interface: document.createElement("video") must inherit property "NETWORK_IDLE" with the proper type (5)
PASS HTMLMediaElement interface: document.createElement("video") must inherit property "NETWORK_LOADING" with the proper type (6)
@@ -2098,7 +2098,7 @@
PASS HTMLMediaElement interface: document.createElement("audio") must inherit property "error" with the proper type (0)
PASS HTMLMediaElement interface: document.createElement("audio") must inherit property "src" with the proper type (1)
PASS HTMLMediaElement interface: document.createElement("audio") must inherit property "currentSrc" with the proper type (2)
-FAIL HTMLMediaElement interface: document.createElement("audio") must inherit property "crossOrigin" with the proper type (3) assert_inherits: property "crossOrigin" not found in prototype chain
+PASS HTMLMediaElement interface: document.createElement("audio") must inherit property "crossOrigin" with the proper type (3)
PASS HTMLMediaElement interface: document.createElement("audio") must inherit property "NETWORK_EMPTY" with the proper type (4)
PASS HTMLMediaElement interface: document.createElement("audio") must inherit property "NETWORK_IDLE" with the proper type (5)
PASS HTMLMediaElement interface: document.createElement("audio") must inherit property "NETWORK_LOADING" with the proper type (6)
@@ -2149,7 +2149,7 @@
PASS HTMLMediaElement interface: new Audio() must inherit property "error" with the proper type (0)
PASS HTMLMediaElement interface: new Audio() must inherit property "src" with the proper type (1)
PASS HTMLMediaElement interface: new Audio() must inherit property "currentSrc" with the proper type (2)
-FAIL HTMLMediaElement interface: new Audio() must inherit property "crossOrigin" with the proper type (3) assert_inherits: property "crossOrigin" not found in prototype chain
+PASS HTMLMediaElement interface: new Audio() must inherit property "crossOrigin" with the proper type (3)
PASS HTMLMediaElement interface: new Audio() must inherit property "NETWORK_EMPTY" with the proper type (4)
PASS HTMLMediaElement interface: new Audio() must inherit property "NETWORK_IDLE" with the proper type (5)
PASS HTMLMediaElement interface: new Audio() must inherit property "NETWORK_LOADING" with the proper type (6)
@@ -2253,7 +2253,7 @@
PASS HTMLMediaElement interface: attribute error
PASS HTMLMediaElement interface: attribute src
PASS HTMLMediaElement interface: attribute currentSrc
-FAIL HTMLMediaElement interface: attribute crossOrigin assert_true: The prototype object must have a property "crossOrigin" expected true got false
+PASS HTMLMediaElement interface: attribute crossOrigin
PASS HTMLMediaElement interface: constant NETWORK_EMPTY on interface object
PASS HTMLMediaElement interface: constant NETWORK_EMPTY on interface prototype object
PASS HTMLMediaElement interface: constant NETWORK_IDLE on interface object
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt (202979 => 202980)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt 2016-07-08 15:30:50 UTC (rev 202979)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt 2016-07-08 15:48:23 UTC (rev 202980)
@@ -8164,133 +8164,133 @@
PASS video.src: IDL set to object "test-valueOf" should not throw
PASS video.src: IDL set to object "test-valueOf" followed by getAttribute()
PASS video.src: IDL set to object "test-valueOf" followed by IDL get
-FAIL video.crossOrigin: typeof IDL attribute assert_equals: expected "object" but got "undefined"
-FAIL video.crossOrigin: IDL get with DOM attribute unset assert_equals: expected (object) null but got (undefined) undefined
+PASS video.crossOrigin: typeof IDL attribute
+PASS video.crossOrigin: IDL get with DOM attribute unset
PASS video.crossOrigin: setAttribute() to "" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "" followed by IDL get
PASS video.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get
PASS video.crossOrigin: setAttribute() to undefined followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to undefined followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to undefined followed by IDL get
PASS video.crossOrigin: setAttribute() to 7 followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to 7 followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to 7 followed by IDL get
PASS video.crossOrigin: setAttribute() to 1.5 followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to 1.5 followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to 1.5 followed by IDL get
PASS video.crossOrigin: setAttribute() to true followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to true followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to true followed by IDL get
PASS video.crossOrigin: setAttribute() to false followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to false followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to false followed by IDL get
PASS video.crossOrigin: setAttribute() to object "[object Object]" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to object "[object Object]" followed by IDL get
PASS video.crossOrigin: setAttribute() to NaN followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to NaN followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to NaN followed by IDL get
PASS video.crossOrigin: setAttribute() to Infinity followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to Infinity followed by IDL get
PASS video.crossOrigin: setAttribute() to -Infinity followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to -Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to -Infinity followed by IDL get
PASS video.crossOrigin: setAttribute() to "\0" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "\0" followed by IDL get
PASS video.crossOrigin: setAttribute() to null followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to null followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to null followed by IDL get
PASS video.crossOrigin: setAttribute() to object "test-toString" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to object "test-toString" followed by IDL get
PASS video.crossOrigin: setAttribute() to object "test-valueOf" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to object "test-valueOf" followed by IDL get
PASS video.crossOrigin: setAttribute() to "anonymous" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "anonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "anonymous" followed by IDL get
PASS video.crossOrigin: setAttribute() to "xanonymous" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "xanonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "xanonymous" followed by IDL get
PASS video.crossOrigin: setAttribute() to "anonymous\0" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "anonymous\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "anonymous\0" followed by IDL get
PASS video.crossOrigin: setAttribute() to "nonymous" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "nonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "nonymous" followed by IDL get
PASS video.crossOrigin: setAttribute() to "ANONYMOUS" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "ANONYMOUS" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "ANONYMOUS" followed by IDL get
PASS video.crossOrigin: setAttribute() to "use-credentials" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "use-credentials" followed by IDL get assert_equals: expected (string) "use-credentials" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "use-credentials" followed by IDL get
PASS video.crossOrigin: setAttribute() to "xuse-credentials" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "xuse-credentials" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "xuse-credentials" followed by IDL get
PASS video.crossOrigin: setAttribute() to "use-credentials\0" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "use-credentials\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "use-credentials\0" followed by IDL get
PASS video.crossOrigin: setAttribute() to "se-credentials" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "se-credentials" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "se-credentials" followed by IDL get
PASS video.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by IDL get assert_equals: expected (string) "use-credentials" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by IDL get
PASS video.crossOrigin: IDL set to "" should not throw
-FAIL video.crossOrigin: IDL set to "" followed by getAttribute() assert_equals: expected "" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "" followed by IDL get assert_equals: expected "anonymous" but got ""
+PASS video.crossOrigin: IDL set to "" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "" followed by IDL get
PASS video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " should not throw
-FAIL video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute() assert_equals: expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get assert_equals: expected "anonymous" but got " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo "
+PASS video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute()
+PASS video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get
PASS video.crossOrigin: IDL set to undefined should not throw
-FAIL video.crossOrigin: IDL set to undefined followed by getAttribute() assert_equals: expected (object) null but got (string) "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to undefined followed by IDL get assert_equals: expected (object) null but got (undefined) undefined
+PASS video.crossOrigin: IDL set to undefined followed by getAttribute()
+PASS video.crossOrigin: IDL set to undefined followed by IDL get
PASS video.crossOrigin: IDL set to 7 should not throw
-FAIL video.crossOrigin: IDL set to 7 followed by getAttribute() assert_equals: expected "7" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to 7 followed by IDL get assert_equals: expected (string) "anonymous" but got (number) 7
+PASS video.crossOrigin: IDL set to 7 followed by getAttribute()
+PASS video.crossOrigin: IDL set to 7 followed by IDL get
PASS video.crossOrigin: IDL set to 1.5 should not throw
-FAIL video.crossOrigin: IDL set to 1.5 followed by getAttribute() assert_equals: expected "1.5" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to 1.5 followed by IDL get assert_equals: expected (string) "anonymous" but got (number) 1.5
+PASS video.crossOrigin: IDL set to 1.5 followed by getAttribute()
+PASS video.crossOrigin: IDL set to 1.5 followed by IDL get
PASS video.crossOrigin: IDL set to true should not throw
-FAIL video.crossOrigin: IDL set to true followed by getAttribute() assert_equals: expected "true" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to true followed by IDL get assert_equals: expected (string) "anonymous" but got (boolean) true
+PASS video.crossOrigin: IDL set to true followed by getAttribute()
+PASS video.crossOrigin: IDL set to true followed by IDL get
PASS video.crossOrigin: IDL set to false should not throw
-FAIL video.crossOrigin: IDL set to false followed by getAttribute() assert_equals: expected "false" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to false followed by IDL get assert_equals: expected (string) "anonymous" but got (boolean) false
+PASS video.crossOrigin: IDL set to false followed by getAttribute()
+PASS video.crossOrigin: IDL set to false followed by IDL get
PASS video.crossOrigin: IDL set to object "[object Object]" should not throw
-FAIL video.crossOrigin: IDL set to object "[object Object]" followed by getAttribute() assert_equals: expected "[object Object]" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to object "[object Object]" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "[object Object]"
+PASS video.crossOrigin: IDL set to object "[object Object]" followed by getAttribute()
+PASS video.crossOrigin: IDL set to object "[object Object]" followed by IDL get
PASS video.crossOrigin: IDL set to NaN should not throw
-FAIL video.crossOrigin: IDL set to NaN followed by getAttribute() assert_equals: expected "NaN" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to NaN followed by IDL get assert_equals: expected (string) "anonymous" but got (number) NaN
+PASS video.crossOrigin: IDL set to NaN followed by getAttribute()
+PASS video.crossOrigin: IDL set to NaN followed by IDL get
PASS video.crossOrigin: IDL set to Infinity should not throw
-FAIL video.crossOrigin: IDL set to Infinity followed by getAttribute() assert_equals: expected "Infinity" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (number) Infinity
+PASS video.crossOrigin: IDL set to Infinity followed by getAttribute()
+PASS video.crossOrigin: IDL set to Infinity followed by IDL get
PASS video.crossOrigin: IDL set to -Infinity should not throw
-FAIL video.crossOrigin: IDL set to -Infinity followed by getAttribute() assert_equals: expected "-Infinity" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to -Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (number) -Infinity
+PASS video.crossOrigin: IDL set to -Infinity followed by getAttribute()
+PASS video.crossOrigin: IDL set to -Infinity followed by IDL get
PASS video.crossOrigin: IDL set to "\0" should not throw
-FAIL video.crossOrigin: IDL set to "\0" followed by getAttribute() assert_equals: expected "\0" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "\0" followed by IDL get assert_equals: expected "anonymous" but got "\0"
+PASS video.crossOrigin: IDL set to "\0" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "\0" followed by IDL get
PASS video.crossOrigin: IDL set to null should not throw
-FAIL video.crossOrigin: IDL set to null followed by getAttribute() assert_equals: expected (object) null but got (string) "USE-CREDENTIALS"
+PASS video.crossOrigin: IDL set to null followed by getAttribute()
PASS video.crossOrigin: IDL set to null followed by IDL get
PASS video.crossOrigin: IDL set to object "test-toString" should not throw
-FAIL video.crossOrigin: IDL set to object "test-toString" followed by getAttribute() assert_equals: expected "test-toString" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to object "test-toString" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "test-toString"
+PASS video.crossOrigin: IDL set to object "test-toString" followed by getAttribute()
+PASS video.crossOrigin: IDL set to object "test-toString" followed by IDL get
PASS video.crossOrigin: IDL set to object "test-valueOf" should not throw
-FAIL video.crossOrigin: IDL set to object "test-valueOf" followed by getAttribute() assert_equals: expected "test-valueOf" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "test-valueOf"
+PASS video.crossOrigin: IDL set to object "test-valueOf" followed by getAttribute()
+PASS video.crossOrigin: IDL set to object "test-valueOf" followed by IDL get
PASS video.crossOrigin: IDL set to "anonymous" should not throw
-FAIL video.crossOrigin: IDL set to "anonymous" followed by getAttribute() assert_equals: expected "anonymous" but got "USE-CREDENTIALS"
+PASS video.crossOrigin: IDL set to "anonymous" followed by getAttribute()
PASS video.crossOrigin: IDL set to "anonymous" followed by IDL get
PASS video.crossOrigin: IDL set to "xanonymous" should not throw
-FAIL video.crossOrigin: IDL set to "xanonymous" followed by getAttribute() assert_equals: expected "xanonymous" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "xanonymous" followed by IDL get assert_equals: expected "anonymous" but got "xanonymous"
+PASS video.crossOrigin: IDL set to "xanonymous" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "xanonymous" followed by IDL get
PASS video.crossOrigin: IDL set to "anonymous\0" should not throw
-FAIL video.crossOrigin: IDL set to "anonymous\0" followed by getAttribute() assert_equals: expected "anonymous\0" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "anonymous\0" followed by IDL get assert_equals: expected "anonymous" but got "anonymous\0"
+PASS video.crossOrigin: IDL set to "anonymous\0" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "anonymous\0" followed by IDL get
PASS video.crossOrigin: IDL set to "nonymous" should not throw
-FAIL video.crossOrigin: IDL set to "nonymous" followed by getAttribute() assert_equals: expected "nonymous" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "nonymous" followed by IDL get assert_equals: expected "anonymous" but got "nonymous"
+PASS video.crossOrigin: IDL set to "nonymous" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "nonymous" followed by IDL get
PASS video.crossOrigin: IDL set to "ANONYMOUS" should not throw
-FAIL video.crossOrigin: IDL set to "ANONYMOUS" followed by getAttribute() assert_equals: expected "ANONYMOUS" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "ANONYMOUS" followed by IDL get assert_equals: expected "anonymous" but got "ANONYMOUS"
+PASS video.crossOrigin: IDL set to "ANONYMOUS" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "ANONYMOUS" followed by IDL get
PASS video.crossOrigin: IDL set to "use-credentials" should not throw
-FAIL video.crossOrigin: IDL set to "use-credentials" followed by getAttribute() assert_equals: expected "use-credentials" but got "USE-CREDENTIALS"
+PASS video.crossOrigin: IDL set to "use-credentials" followed by getAttribute()
PASS video.crossOrigin: IDL set to "use-credentials" followed by IDL get
PASS video.crossOrigin: IDL set to "xuse-credentials" should not throw
-FAIL video.crossOrigin: IDL set to "xuse-credentials" followed by getAttribute() assert_equals: expected "xuse-credentials" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "xuse-credentials" followed by IDL get assert_equals: expected "anonymous" but got "xuse-credentials"
+PASS video.crossOrigin: IDL set to "xuse-credentials" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "xuse-credentials" followed by IDL get
PASS video.crossOrigin: IDL set to "use-credentials\0" should not throw
-FAIL video.crossOrigin: IDL set to "use-credentials\0" followed by getAttribute() assert_equals: expected "use-credentials\0" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "use-credentials\0" followed by IDL get assert_equals: expected "anonymous" but got "use-credentials\0"
+PASS video.crossOrigin: IDL set to "use-credentials\0" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "use-credentials\0" followed by IDL get
PASS video.crossOrigin: IDL set to "se-credentials" should not throw
-FAIL video.crossOrigin: IDL set to "se-credentials" followed by getAttribute() assert_equals: expected "se-credentials" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "se-credentials" followed by IDL get assert_equals: expected "anonymous" but got "se-credentials"
+PASS video.crossOrigin: IDL set to "se-credentials" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "se-credentials" followed by IDL get
PASS video.crossOrigin: IDL set to "USE-CREDENTIALS" should not throw
PASS video.crossOrigin: IDL set to "USE-CREDENTIALS" followed by getAttribute()
-FAIL video.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get assert_equals: expected "use-credentials" but got "USE-CREDENTIALS"
+PASS video.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get
PASS video.preload: typeof IDL attribute
PASS video.preload: setAttribute() to "none" followed by getAttribute()
PASS video.preload: setAttribute() to "none" followed by IDL get
@@ -9795,133 +9795,133 @@
PASS audio.src: IDL set to object "test-valueOf" should not throw
PASS audio.src: IDL set to object "test-valueOf" followed by getAttribute()
PASS audio.src: IDL set to object "test-valueOf" followed by IDL get
-FAIL audio.crossOrigin: typeof IDL attribute assert_equals: expected "object" but got "undefined"
-FAIL audio.crossOrigin: IDL get with DOM attribute unset assert_equals: expected (object) null but got (undefined) undefined
+PASS audio.crossOrigin: typeof IDL attribute
+PASS audio.crossOrigin: IDL get with DOM attribute unset
PASS audio.crossOrigin: setAttribute() to "" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "" followed by IDL get
PASS audio.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get
PASS audio.crossOrigin: setAttribute() to undefined followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to undefined followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to undefined followed by IDL get
PASS audio.crossOrigin: setAttribute() to 7 followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to 7 followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to 7 followed by IDL get
PASS audio.crossOrigin: setAttribute() to 1.5 followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to 1.5 followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to 1.5 followed by IDL get
PASS audio.crossOrigin: setAttribute() to true followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to true followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to true followed by IDL get
PASS audio.crossOrigin: setAttribute() to false followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to false followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to false followed by IDL get
PASS audio.crossOrigin: setAttribute() to object "[object Object]" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to object "[object Object]" followed by IDL get
PASS audio.crossOrigin: setAttribute() to NaN followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to NaN followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to NaN followed by IDL get
PASS audio.crossOrigin: setAttribute() to Infinity followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to Infinity followed by IDL get
PASS audio.crossOrigin: setAttribute() to -Infinity followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to -Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to -Infinity followed by IDL get
PASS audio.crossOrigin: setAttribute() to "\0" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "\0" followed by IDL get
PASS audio.crossOrigin: setAttribute() to null followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to null followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to null followed by IDL get
PASS audio.crossOrigin: setAttribute() to object "test-toString" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to object "test-toString" followed by IDL get
PASS audio.crossOrigin: setAttribute() to object "test-valueOf" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to object "test-valueOf" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "anonymous" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "anonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "anonymous" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "xanonymous" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "xanonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "xanonymous" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "anonymous\0" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "anonymous\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "anonymous\0" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "nonymous" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "nonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "nonymous" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "ANONYMOUS" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "ANONYMOUS" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "ANONYMOUS" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "use-credentials" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "use-credentials" followed by IDL get assert_equals: expected (string) "use-credentials" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "use-credentials" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "xuse-credentials" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "xuse-credentials" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "xuse-credentials" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "use-credentials\0" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "use-credentials\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "use-credentials\0" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "se-credentials" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "se-credentials" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "se-credentials" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by IDL get assert_equals: expected (string) "use-credentials" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by IDL get
PASS audio.crossOrigin: IDL set to "" should not throw
-FAIL audio.crossOrigin: IDL set to "" followed by getAttribute() assert_equals: expected "" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "" followed by IDL get assert_equals: expected "anonymous" but got ""
+PASS audio.crossOrigin: IDL set to "" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "" followed by IDL get
PASS audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " should not throw
-FAIL audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute() assert_equals: expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get assert_equals: expected "anonymous" but got " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo "
+PASS audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute()
+PASS audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get
PASS audio.crossOrigin: IDL set to undefined should not throw
-FAIL audio.crossOrigin: IDL set to undefined followed by getAttribute() assert_equals: expected (object) null but got (string) "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to undefined followed by IDL get assert_equals: expected (object) null but got (undefined) undefined
+PASS audio.crossOrigin: IDL set to undefined followed by getAttribute()
+PASS audio.crossOrigin: IDL set to undefined followed by IDL get
PASS audio.crossOrigin: IDL set to 7 should not throw
-FAIL audio.crossOrigin: IDL set to 7 followed by getAttribute() assert_equals: expected "7" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to 7 followed by IDL get assert_equals: expected (string) "anonymous" but got (number) 7
+PASS audio.crossOrigin: IDL set to 7 followed by getAttribute()
+PASS audio.crossOrigin: IDL set to 7 followed by IDL get
PASS audio.crossOrigin: IDL set to 1.5 should not throw
-FAIL audio.crossOrigin: IDL set to 1.5 followed by getAttribute() assert_equals: expected "1.5" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to 1.5 followed by IDL get assert_equals: expected (string) "anonymous" but got (number) 1.5
+PASS audio.crossOrigin: IDL set to 1.5 followed by getAttribute()
+PASS audio.crossOrigin: IDL set to 1.5 followed by IDL get
PASS audio.crossOrigin: IDL set to true should not throw
-FAIL audio.crossOrigin: IDL set to true followed by getAttribute() assert_equals: expected "true" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to true followed by IDL get assert_equals: expected (string) "anonymous" but got (boolean) true
+PASS audio.crossOrigin: IDL set to true followed by getAttribute()
+PASS audio.crossOrigin: IDL set to true followed by IDL get
PASS audio.crossOrigin: IDL set to false should not throw
-FAIL audio.crossOrigin: IDL set to false followed by getAttribute() assert_equals: expected "false" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to false followed by IDL get assert_equals: expected (string) "anonymous" but got (boolean) false
+PASS audio.crossOrigin: IDL set to false followed by getAttribute()
+PASS audio.crossOrigin: IDL set to false followed by IDL get
PASS audio.crossOrigin: IDL set to object "[object Object]" should not throw
-FAIL audio.crossOrigin: IDL set to object "[object Object]" followed by getAttribute() assert_equals: expected "[object Object]" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to object "[object Object]" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "[object Object]"
+PASS audio.crossOrigin: IDL set to object "[object Object]" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to object "[object Object]" followed by IDL get
PASS audio.crossOrigin: IDL set to NaN should not throw
-FAIL audio.crossOrigin: IDL set to NaN followed by getAttribute() assert_equals: expected "NaN" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to NaN followed by IDL get assert_equals: expected (string) "anonymous" but got (number) NaN
+PASS audio.crossOrigin: IDL set to NaN followed by getAttribute()
+PASS audio.crossOrigin: IDL set to NaN followed by IDL get
PASS audio.crossOrigin: IDL set to Infinity should not throw
-FAIL audio.crossOrigin: IDL set to Infinity followed by getAttribute() assert_equals: expected "Infinity" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (number) Infinity
+PASS audio.crossOrigin: IDL set to Infinity followed by getAttribute()
+PASS audio.crossOrigin: IDL set to Infinity followed by IDL get
PASS audio.crossOrigin: IDL set to -Infinity should not throw
-FAIL audio.crossOrigin: IDL set to -Infinity followed by getAttribute() assert_equals: expected "-Infinity" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to -Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (number) -Infinity
+PASS audio.crossOrigin: IDL set to -Infinity followed by getAttribute()
+PASS audio.crossOrigin: IDL set to -Infinity followed by IDL get
PASS audio.crossOrigin: IDL set to "\0" should not throw
-FAIL audio.crossOrigin: IDL set to "\0" followed by getAttribute() assert_equals: expected "\0" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "\0" followed by IDL get assert_equals: expected "anonymous" but got "\0"
+PASS audio.crossOrigin: IDL set to "\0" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "\0" followed by IDL get
PASS audio.crossOrigin: IDL set to null should not throw
-FAIL audio.crossOrigin: IDL set to null followed by getAttribute() assert_equals: expected (object) null but got (string) "USE-CREDENTIALS"
+PASS audio.crossOrigin: IDL set to null followed by getAttribute()
PASS audio.crossOrigin: IDL set to null followed by IDL get
PASS audio.crossOrigin: IDL set to object "test-toString" should not throw
-FAIL audio.crossOrigin: IDL set to object "test-toString" followed by getAttribute() assert_equals: expected "test-toString" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to object "test-toString" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "test-toString"
+PASS audio.crossOrigin: IDL set to object "test-toString" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to object "test-toString" followed by IDL get
PASS audio.crossOrigin: IDL set to object "test-valueOf" should not throw
-FAIL audio.crossOrigin: IDL set to object "test-valueOf" followed by getAttribute() assert_equals: expected "test-valueOf" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "test-valueOf"
+PASS audio.crossOrigin: IDL set to object "test-valueOf" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to object "test-valueOf" followed by IDL get
PASS audio.crossOrigin: IDL set to "anonymous" should not throw
-FAIL audio.crossOrigin: IDL set to "anonymous" followed by getAttribute() assert_equals: expected "anonymous" but got "USE-CREDENTIALS"
+PASS audio.crossOrigin: IDL set to "anonymous" followed by getAttribute()
PASS audio.crossOrigin: IDL set to "anonymous" followed by IDL get
PASS audio.crossOrigin: IDL set to "xanonymous" should not throw
-FAIL audio.crossOrigin: IDL set to "xanonymous" followed by getAttribute() assert_equals: expected "xanonymous" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "xanonymous" followed by IDL get assert_equals: expected "anonymous" but got "xanonymous"
+PASS audio.crossOrigin: IDL set to "xanonymous" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "xanonymous" followed by IDL get
PASS audio.crossOrigin: IDL set to "anonymous\0" should not throw
-FAIL audio.crossOrigin: IDL set to "anonymous\0" followed by getAttribute() assert_equals: expected "anonymous\0" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "anonymous\0" followed by IDL get assert_equals: expected "anonymous" but got "anonymous\0"
+PASS audio.crossOrigin: IDL set to "anonymous\0" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "anonymous\0" followed by IDL get
PASS audio.crossOrigin: IDL set to "nonymous" should not throw
-FAIL audio.crossOrigin: IDL set to "nonymous" followed by getAttribute() assert_equals: expected "nonymous" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "nonymous" followed by IDL get assert_equals: expected "anonymous" but got "nonymous"
+PASS audio.crossOrigin: IDL set to "nonymous" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "nonymous" followed by IDL get
PASS audio.crossOrigin: IDL set to "ANONYMOUS" should not throw
-FAIL audio.crossOrigin: IDL set to "ANONYMOUS" followed by getAttribute() assert_equals: expected "ANONYMOUS" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "ANONYMOUS" followed by IDL get assert_equals: expected "anonymous" but got "ANONYMOUS"
+PASS audio.crossOrigin: IDL set to "ANONYMOUS" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "ANONYMOUS" followed by IDL get
PASS audio.crossOrigin: IDL set to "use-credentials" should not throw
-FAIL audio.crossOrigin: IDL set to "use-credentials" followed by getAttribute() assert_equals: expected "use-credentials" but got "USE-CREDENTIALS"
+PASS audio.crossOrigin: IDL set to "use-credentials" followed by getAttribute()
PASS audio.crossOrigin: IDL set to "use-credentials" followed by IDL get
PASS audio.crossOrigin: IDL set to "xuse-credentials" should not throw
-FAIL audio.crossOrigin: IDL set to "xuse-credentials" followed by getAttribute() assert_equals: expected "xuse-credentials" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "xuse-credentials" followed by IDL get assert_equals: expected "anonymous" but got "xuse-credentials"
+PASS audio.crossOrigin: IDL set to "xuse-credentials" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "xuse-credentials" followed by IDL get
PASS audio.crossOrigin: IDL set to "use-credentials\0" should not throw
-FAIL audio.crossOrigin: IDL set to "use-credentials\0" followed by getAttribute() assert_equals: expected "use-credentials\0" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "use-credentials\0" followed by IDL get assert_equals: expected "anonymous" but got "use-credentials\0"
+PASS audio.crossOrigin: IDL set to "use-credentials\0" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "use-credentials\0" followed by IDL get
PASS audio.crossOrigin: IDL set to "se-credentials" should not throw
-FAIL audio.crossOrigin: IDL set to "se-credentials" followed by getAttribute() assert_equals: expected "se-credentials" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "se-credentials" followed by IDL get assert_equals: expected "anonymous" but got "se-credentials"
+PASS audio.crossOrigin: IDL set to "se-credentials" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "se-credentials" followed by IDL get
PASS audio.crossOrigin: IDL set to "USE-CREDENTIALS" should not throw
PASS audio.crossOrigin: IDL set to "USE-CREDENTIALS" followed by getAttribute()
-FAIL audio.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get assert_equals: expected "use-credentials" but got "USE-CREDENTIALS"
+PASS audio.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get
PASS audio.preload: typeof IDL attribute
PASS audio.preload: setAttribute() to "none" followed by getAttribute()
PASS audio.preload: setAttribute() to "none" followed by IDL get
Modified: trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt (202979 => 202980)
--- trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt 2016-07-08 15:30:50 UTC (rev 202979)
+++ trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt 2016-07-08 15:48:23 UTC (rev 202980)
@@ -8164,133 +8164,133 @@
PASS video.src: IDL set to object "test-valueOf" should not throw
PASS video.src: IDL set to object "test-valueOf" followed by getAttribute()
PASS video.src: IDL set to object "test-valueOf" followed by IDL get
-FAIL video.crossOrigin: typeof IDL attribute assert_equals: expected "object" but got "undefined"
-FAIL video.crossOrigin: IDL get with DOM attribute unset assert_equals: expected (object) null but got (undefined) undefined
+PASS video.crossOrigin: typeof IDL attribute
+PASS video.crossOrigin: IDL get with DOM attribute unset
PASS video.crossOrigin: setAttribute() to "" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "" followed by IDL get
PASS video.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get
PASS video.crossOrigin: setAttribute() to undefined followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to undefined followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to undefined followed by IDL get
PASS video.crossOrigin: setAttribute() to 7 followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to 7 followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to 7 followed by IDL get
PASS video.crossOrigin: setAttribute() to 1.5 followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to 1.5 followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to 1.5 followed by IDL get
PASS video.crossOrigin: setAttribute() to true followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to true followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to true followed by IDL get
PASS video.crossOrigin: setAttribute() to false followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to false followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to false followed by IDL get
PASS video.crossOrigin: setAttribute() to object "[object Object]" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to object "[object Object]" followed by IDL get
PASS video.crossOrigin: setAttribute() to NaN followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to NaN followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to NaN followed by IDL get
PASS video.crossOrigin: setAttribute() to Infinity followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to Infinity followed by IDL get
PASS video.crossOrigin: setAttribute() to -Infinity followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to -Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to -Infinity followed by IDL get
PASS video.crossOrigin: setAttribute() to "\0" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "\0" followed by IDL get
PASS video.crossOrigin: setAttribute() to null followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to null followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to null followed by IDL get
PASS video.crossOrigin: setAttribute() to object "test-toString" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to object "test-toString" followed by IDL get
PASS video.crossOrigin: setAttribute() to object "test-valueOf" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to object "test-valueOf" followed by IDL get
PASS video.crossOrigin: setAttribute() to "anonymous" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "anonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "anonymous" followed by IDL get
PASS video.crossOrigin: setAttribute() to "xanonymous" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "xanonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "xanonymous" followed by IDL get
PASS video.crossOrigin: setAttribute() to "anonymous\0" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "anonymous\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "anonymous\0" followed by IDL get
PASS video.crossOrigin: setAttribute() to "nonymous" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "nonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "nonymous" followed by IDL get
PASS video.crossOrigin: setAttribute() to "ANONYMOUS" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "ANONYMOUS" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "ANONYMOUS" followed by IDL get
PASS video.crossOrigin: setAttribute() to "use-credentials" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "use-credentials" followed by IDL get assert_equals: expected (string) "use-credentials" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "use-credentials" followed by IDL get
PASS video.crossOrigin: setAttribute() to "xuse-credentials" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "xuse-credentials" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "xuse-credentials" followed by IDL get
PASS video.crossOrigin: setAttribute() to "use-credentials\0" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "use-credentials\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "use-credentials\0" followed by IDL get
PASS video.crossOrigin: setAttribute() to "se-credentials" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "se-credentials" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "se-credentials" followed by IDL get
PASS video.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by getAttribute()
-FAIL video.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by IDL get assert_equals: expected (string) "use-credentials" but got (undefined) undefined
+PASS video.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by IDL get
PASS video.crossOrigin: IDL set to "" should not throw
-FAIL video.crossOrigin: IDL set to "" followed by getAttribute() assert_equals: expected "" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "" followed by IDL get assert_equals: expected "anonymous" but got ""
+PASS video.crossOrigin: IDL set to "" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "" followed by IDL get
PASS video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " should not throw
-FAIL video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute() assert_equals: expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get assert_equals: expected "anonymous" but got " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo "
+PASS video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute()
+PASS video.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get
PASS video.crossOrigin: IDL set to undefined should not throw
-FAIL video.crossOrigin: IDL set to undefined followed by getAttribute() assert_equals: expected (object) null but got (string) "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to undefined followed by IDL get assert_equals: expected (object) null but got (undefined) undefined
+PASS video.crossOrigin: IDL set to undefined followed by getAttribute()
+PASS video.crossOrigin: IDL set to undefined followed by IDL get
PASS video.crossOrigin: IDL set to 7 should not throw
-FAIL video.crossOrigin: IDL set to 7 followed by getAttribute() assert_equals: expected "7" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to 7 followed by IDL get assert_equals: expected (string) "anonymous" but got (number) 7
+PASS video.crossOrigin: IDL set to 7 followed by getAttribute()
+PASS video.crossOrigin: IDL set to 7 followed by IDL get
PASS video.crossOrigin: IDL set to 1.5 should not throw
-FAIL video.crossOrigin: IDL set to 1.5 followed by getAttribute() assert_equals: expected "1.5" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to 1.5 followed by IDL get assert_equals: expected (string) "anonymous" but got (number) 1.5
+PASS video.crossOrigin: IDL set to 1.5 followed by getAttribute()
+PASS video.crossOrigin: IDL set to 1.5 followed by IDL get
PASS video.crossOrigin: IDL set to true should not throw
-FAIL video.crossOrigin: IDL set to true followed by getAttribute() assert_equals: expected "true" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to true followed by IDL get assert_equals: expected (string) "anonymous" but got (boolean) true
+PASS video.crossOrigin: IDL set to true followed by getAttribute()
+PASS video.crossOrigin: IDL set to true followed by IDL get
PASS video.crossOrigin: IDL set to false should not throw
-FAIL video.crossOrigin: IDL set to false followed by getAttribute() assert_equals: expected "false" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to false followed by IDL get assert_equals: expected (string) "anonymous" but got (boolean) false
+PASS video.crossOrigin: IDL set to false followed by getAttribute()
+PASS video.crossOrigin: IDL set to false followed by IDL get
PASS video.crossOrigin: IDL set to object "[object Object]" should not throw
-FAIL video.crossOrigin: IDL set to object "[object Object]" followed by getAttribute() assert_equals: expected "[object Object]" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to object "[object Object]" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "[object Object]"
+PASS video.crossOrigin: IDL set to object "[object Object]" followed by getAttribute()
+PASS video.crossOrigin: IDL set to object "[object Object]" followed by IDL get
PASS video.crossOrigin: IDL set to NaN should not throw
-FAIL video.crossOrigin: IDL set to NaN followed by getAttribute() assert_equals: expected "NaN" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to NaN followed by IDL get assert_equals: expected (string) "anonymous" but got (number) NaN
+PASS video.crossOrigin: IDL set to NaN followed by getAttribute()
+PASS video.crossOrigin: IDL set to NaN followed by IDL get
PASS video.crossOrigin: IDL set to Infinity should not throw
-FAIL video.crossOrigin: IDL set to Infinity followed by getAttribute() assert_equals: expected "Infinity" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (number) Infinity
+PASS video.crossOrigin: IDL set to Infinity followed by getAttribute()
+PASS video.crossOrigin: IDL set to Infinity followed by IDL get
PASS video.crossOrigin: IDL set to -Infinity should not throw
-FAIL video.crossOrigin: IDL set to -Infinity followed by getAttribute() assert_equals: expected "-Infinity" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to -Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (number) -Infinity
+PASS video.crossOrigin: IDL set to -Infinity followed by getAttribute()
+PASS video.crossOrigin: IDL set to -Infinity followed by IDL get
PASS video.crossOrigin: IDL set to "\0" should not throw
-FAIL video.crossOrigin: IDL set to "\0" followed by getAttribute() assert_equals: expected "\0" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "\0" followed by IDL get assert_equals: expected "anonymous" but got "\0"
+PASS video.crossOrigin: IDL set to "\0" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "\0" followed by IDL get
PASS video.crossOrigin: IDL set to null should not throw
-FAIL video.crossOrigin: IDL set to null followed by getAttribute() assert_equals: expected (object) null but got (string) "USE-CREDENTIALS"
+PASS video.crossOrigin: IDL set to null followed by getAttribute()
PASS video.crossOrigin: IDL set to null followed by IDL get
PASS video.crossOrigin: IDL set to object "test-toString" should not throw
-FAIL video.crossOrigin: IDL set to object "test-toString" followed by getAttribute() assert_equals: expected "test-toString" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to object "test-toString" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "test-toString"
+PASS video.crossOrigin: IDL set to object "test-toString" followed by getAttribute()
+PASS video.crossOrigin: IDL set to object "test-toString" followed by IDL get
PASS video.crossOrigin: IDL set to object "test-valueOf" should not throw
-FAIL video.crossOrigin: IDL set to object "test-valueOf" followed by getAttribute() assert_equals: expected "test-valueOf" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "test-valueOf"
+PASS video.crossOrigin: IDL set to object "test-valueOf" followed by getAttribute()
+PASS video.crossOrigin: IDL set to object "test-valueOf" followed by IDL get
PASS video.crossOrigin: IDL set to "anonymous" should not throw
-FAIL video.crossOrigin: IDL set to "anonymous" followed by getAttribute() assert_equals: expected "anonymous" but got "USE-CREDENTIALS"
+PASS video.crossOrigin: IDL set to "anonymous" followed by getAttribute()
PASS video.crossOrigin: IDL set to "anonymous" followed by IDL get
PASS video.crossOrigin: IDL set to "xanonymous" should not throw
-FAIL video.crossOrigin: IDL set to "xanonymous" followed by getAttribute() assert_equals: expected "xanonymous" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "xanonymous" followed by IDL get assert_equals: expected "anonymous" but got "xanonymous"
+PASS video.crossOrigin: IDL set to "xanonymous" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "xanonymous" followed by IDL get
PASS video.crossOrigin: IDL set to "anonymous\0" should not throw
-FAIL video.crossOrigin: IDL set to "anonymous\0" followed by getAttribute() assert_equals: expected "anonymous\0" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "anonymous\0" followed by IDL get assert_equals: expected "anonymous" but got "anonymous\0"
+PASS video.crossOrigin: IDL set to "anonymous\0" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "anonymous\0" followed by IDL get
PASS video.crossOrigin: IDL set to "nonymous" should not throw
-FAIL video.crossOrigin: IDL set to "nonymous" followed by getAttribute() assert_equals: expected "nonymous" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "nonymous" followed by IDL get assert_equals: expected "anonymous" but got "nonymous"
+PASS video.crossOrigin: IDL set to "nonymous" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "nonymous" followed by IDL get
PASS video.crossOrigin: IDL set to "ANONYMOUS" should not throw
-FAIL video.crossOrigin: IDL set to "ANONYMOUS" followed by getAttribute() assert_equals: expected "ANONYMOUS" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "ANONYMOUS" followed by IDL get assert_equals: expected "anonymous" but got "ANONYMOUS"
+PASS video.crossOrigin: IDL set to "ANONYMOUS" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "ANONYMOUS" followed by IDL get
PASS video.crossOrigin: IDL set to "use-credentials" should not throw
-FAIL video.crossOrigin: IDL set to "use-credentials" followed by getAttribute() assert_equals: expected "use-credentials" but got "USE-CREDENTIALS"
+PASS video.crossOrigin: IDL set to "use-credentials" followed by getAttribute()
PASS video.crossOrigin: IDL set to "use-credentials" followed by IDL get
PASS video.crossOrigin: IDL set to "xuse-credentials" should not throw
-FAIL video.crossOrigin: IDL set to "xuse-credentials" followed by getAttribute() assert_equals: expected "xuse-credentials" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "xuse-credentials" followed by IDL get assert_equals: expected "anonymous" but got "xuse-credentials"
+PASS video.crossOrigin: IDL set to "xuse-credentials" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "xuse-credentials" followed by IDL get
PASS video.crossOrigin: IDL set to "use-credentials\0" should not throw
-FAIL video.crossOrigin: IDL set to "use-credentials\0" followed by getAttribute() assert_equals: expected "use-credentials\0" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "use-credentials\0" followed by IDL get assert_equals: expected "anonymous" but got "use-credentials\0"
+PASS video.crossOrigin: IDL set to "use-credentials\0" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "use-credentials\0" followed by IDL get
PASS video.crossOrigin: IDL set to "se-credentials" should not throw
-FAIL video.crossOrigin: IDL set to "se-credentials" followed by getAttribute() assert_equals: expected "se-credentials" but got "USE-CREDENTIALS"
-FAIL video.crossOrigin: IDL set to "se-credentials" followed by IDL get assert_equals: expected "anonymous" but got "se-credentials"
+PASS video.crossOrigin: IDL set to "se-credentials" followed by getAttribute()
+PASS video.crossOrigin: IDL set to "se-credentials" followed by IDL get
PASS video.crossOrigin: IDL set to "USE-CREDENTIALS" should not throw
PASS video.crossOrigin: IDL set to "USE-CREDENTIALS" followed by getAttribute()
-FAIL video.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get assert_equals: expected "use-credentials" but got "USE-CREDENTIALS"
+PASS video.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get
PASS video.preload: typeof IDL attribute
PASS video.preload: setAttribute() to "none" followed by getAttribute()
PASS video.preload: setAttribute() to "none" followed by IDL get
@@ -9795,133 +9795,133 @@
PASS audio.src: IDL set to object "test-valueOf" should not throw
PASS audio.src: IDL set to object "test-valueOf" followed by getAttribute()
PASS audio.src: IDL set to object "test-valueOf" followed by IDL get
-FAIL audio.crossOrigin: typeof IDL attribute assert_equals: expected "object" but got "undefined"
-FAIL audio.crossOrigin: IDL get with DOM attribute unset assert_equals: expected (object) null but got (undefined) undefined
+PASS audio.crossOrigin: typeof IDL attribute
+PASS audio.crossOrigin: IDL get with DOM attribute unset
PASS audio.crossOrigin: setAttribute() to "" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "" followed by IDL get
PASS audio.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get
PASS audio.crossOrigin: setAttribute() to undefined followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to undefined followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to undefined followed by IDL get
PASS audio.crossOrigin: setAttribute() to 7 followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to 7 followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to 7 followed by IDL get
PASS audio.crossOrigin: setAttribute() to 1.5 followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to 1.5 followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to 1.5 followed by IDL get
PASS audio.crossOrigin: setAttribute() to true followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to true followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to true followed by IDL get
PASS audio.crossOrigin: setAttribute() to false followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to false followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to false followed by IDL get
PASS audio.crossOrigin: setAttribute() to object "[object Object]" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to object "[object Object]" followed by IDL get
PASS audio.crossOrigin: setAttribute() to NaN followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to NaN followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to NaN followed by IDL get
PASS audio.crossOrigin: setAttribute() to Infinity followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to Infinity followed by IDL get
PASS audio.crossOrigin: setAttribute() to -Infinity followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to -Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to -Infinity followed by IDL get
PASS audio.crossOrigin: setAttribute() to "\0" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "\0" followed by IDL get
PASS audio.crossOrigin: setAttribute() to null followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to null followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to null followed by IDL get
PASS audio.crossOrigin: setAttribute() to object "test-toString" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to object "test-toString" followed by IDL get
PASS audio.crossOrigin: setAttribute() to object "test-valueOf" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to object "test-valueOf" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "anonymous" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "anonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "anonymous" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "xanonymous" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "xanonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "xanonymous" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "anonymous\0" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "anonymous\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "anonymous\0" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "nonymous" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "nonymous" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "nonymous" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "ANONYMOUS" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "ANONYMOUS" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "ANONYMOUS" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "use-credentials" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "use-credentials" followed by IDL get assert_equals: expected (string) "use-credentials" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "use-credentials" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "xuse-credentials" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "xuse-credentials" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "xuse-credentials" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "use-credentials\0" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "use-credentials\0" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "use-credentials\0" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "se-credentials" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "se-credentials" followed by IDL get assert_equals: expected (string) "anonymous" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "se-credentials" followed by IDL get
PASS audio.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by getAttribute()
-FAIL audio.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by IDL get assert_equals: expected (string) "use-credentials" but got (undefined) undefined
+PASS audio.crossOrigin: setAttribute() to "USE-CREDENTIALS" followed by IDL get
PASS audio.crossOrigin: IDL set to "" should not throw
-FAIL audio.crossOrigin: IDL set to "" followed by getAttribute() assert_equals: expected "" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "" followed by IDL get assert_equals: expected "anonymous" but got ""
+PASS audio.crossOrigin: IDL set to "" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "" followed by IDL get
PASS audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " should not throw
-FAIL audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute() assert_equals: expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get assert_equals: expected "anonymous" but got " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo "
+PASS audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by getAttribute()
+PASS audio.crossOrigin: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " followed by IDL get
PASS audio.crossOrigin: IDL set to undefined should not throw
-FAIL audio.crossOrigin: IDL set to undefined followed by getAttribute() assert_equals: expected (object) null but got (string) "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to undefined followed by IDL get assert_equals: expected (object) null but got (undefined) undefined
+PASS audio.crossOrigin: IDL set to undefined followed by getAttribute()
+PASS audio.crossOrigin: IDL set to undefined followed by IDL get
PASS audio.crossOrigin: IDL set to 7 should not throw
-FAIL audio.crossOrigin: IDL set to 7 followed by getAttribute() assert_equals: expected "7" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to 7 followed by IDL get assert_equals: expected (string) "anonymous" but got (number) 7
+PASS audio.crossOrigin: IDL set to 7 followed by getAttribute()
+PASS audio.crossOrigin: IDL set to 7 followed by IDL get
PASS audio.crossOrigin: IDL set to 1.5 should not throw
-FAIL audio.crossOrigin: IDL set to 1.5 followed by getAttribute() assert_equals: expected "1.5" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to 1.5 followed by IDL get assert_equals: expected (string) "anonymous" but got (number) 1.5
+PASS audio.crossOrigin: IDL set to 1.5 followed by getAttribute()
+PASS audio.crossOrigin: IDL set to 1.5 followed by IDL get
PASS audio.crossOrigin: IDL set to true should not throw
-FAIL audio.crossOrigin: IDL set to true followed by getAttribute() assert_equals: expected "true" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to true followed by IDL get assert_equals: expected (string) "anonymous" but got (boolean) true
+PASS audio.crossOrigin: IDL set to true followed by getAttribute()
+PASS audio.crossOrigin: IDL set to true followed by IDL get
PASS audio.crossOrigin: IDL set to false should not throw
-FAIL audio.crossOrigin: IDL set to false followed by getAttribute() assert_equals: expected "false" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to false followed by IDL get assert_equals: expected (string) "anonymous" but got (boolean) false
+PASS audio.crossOrigin: IDL set to false followed by getAttribute()
+PASS audio.crossOrigin: IDL set to false followed by IDL get
PASS audio.crossOrigin: IDL set to object "[object Object]" should not throw
-FAIL audio.crossOrigin: IDL set to object "[object Object]" followed by getAttribute() assert_equals: expected "[object Object]" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to object "[object Object]" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "[object Object]"
+PASS audio.crossOrigin: IDL set to object "[object Object]" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to object "[object Object]" followed by IDL get
PASS audio.crossOrigin: IDL set to NaN should not throw
-FAIL audio.crossOrigin: IDL set to NaN followed by getAttribute() assert_equals: expected "NaN" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to NaN followed by IDL get assert_equals: expected (string) "anonymous" but got (number) NaN
+PASS audio.crossOrigin: IDL set to NaN followed by getAttribute()
+PASS audio.crossOrigin: IDL set to NaN followed by IDL get
PASS audio.crossOrigin: IDL set to Infinity should not throw
-FAIL audio.crossOrigin: IDL set to Infinity followed by getAttribute() assert_equals: expected "Infinity" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (number) Infinity
+PASS audio.crossOrigin: IDL set to Infinity followed by getAttribute()
+PASS audio.crossOrigin: IDL set to Infinity followed by IDL get
PASS audio.crossOrigin: IDL set to -Infinity should not throw
-FAIL audio.crossOrigin: IDL set to -Infinity followed by getAttribute() assert_equals: expected "-Infinity" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to -Infinity followed by IDL get assert_equals: expected (string) "anonymous" but got (number) -Infinity
+PASS audio.crossOrigin: IDL set to -Infinity followed by getAttribute()
+PASS audio.crossOrigin: IDL set to -Infinity followed by IDL get
PASS audio.crossOrigin: IDL set to "\0" should not throw
-FAIL audio.crossOrigin: IDL set to "\0" followed by getAttribute() assert_equals: expected "\0" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "\0" followed by IDL get assert_equals: expected "anonymous" but got "\0"
+PASS audio.crossOrigin: IDL set to "\0" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "\0" followed by IDL get
PASS audio.crossOrigin: IDL set to null should not throw
-FAIL audio.crossOrigin: IDL set to null followed by getAttribute() assert_equals: expected (object) null but got (string) "USE-CREDENTIALS"
+PASS audio.crossOrigin: IDL set to null followed by getAttribute()
PASS audio.crossOrigin: IDL set to null followed by IDL get
PASS audio.crossOrigin: IDL set to object "test-toString" should not throw
-FAIL audio.crossOrigin: IDL set to object "test-toString" followed by getAttribute() assert_equals: expected "test-toString" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to object "test-toString" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "test-toString"
+PASS audio.crossOrigin: IDL set to object "test-toString" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to object "test-toString" followed by IDL get
PASS audio.crossOrigin: IDL set to object "test-valueOf" should not throw
-FAIL audio.crossOrigin: IDL set to object "test-valueOf" followed by getAttribute() assert_equals: expected "test-valueOf" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected (string) "anonymous" but got (object) object "test-valueOf"
+PASS audio.crossOrigin: IDL set to object "test-valueOf" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to object "test-valueOf" followed by IDL get
PASS audio.crossOrigin: IDL set to "anonymous" should not throw
-FAIL audio.crossOrigin: IDL set to "anonymous" followed by getAttribute() assert_equals: expected "anonymous" but got "USE-CREDENTIALS"
+PASS audio.crossOrigin: IDL set to "anonymous" followed by getAttribute()
PASS audio.crossOrigin: IDL set to "anonymous" followed by IDL get
PASS audio.crossOrigin: IDL set to "xanonymous" should not throw
-FAIL audio.crossOrigin: IDL set to "xanonymous" followed by getAttribute() assert_equals: expected "xanonymous" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "xanonymous" followed by IDL get assert_equals: expected "anonymous" but got "xanonymous"
+PASS audio.crossOrigin: IDL set to "xanonymous" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "xanonymous" followed by IDL get
PASS audio.crossOrigin: IDL set to "anonymous\0" should not throw
-FAIL audio.crossOrigin: IDL set to "anonymous\0" followed by getAttribute() assert_equals: expected "anonymous\0" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "anonymous\0" followed by IDL get assert_equals: expected "anonymous" but got "anonymous\0"
+PASS audio.crossOrigin: IDL set to "anonymous\0" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "anonymous\0" followed by IDL get
PASS audio.crossOrigin: IDL set to "nonymous" should not throw
-FAIL audio.crossOrigin: IDL set to "nonymous" followed by getAttribute() assert_equals: expected "nonymous" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "nonymous" followed by IDL get assert_equals: expected "anonymous" but got "nonymous"
+PASS audio.crossOrigin: IDL set to "nonymous" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "nonymous" followed by IDL get
PASS audio.crossOrigin: IDL set to "ANONYMOUS" should not throw
-FAIL audio.crossOrigin: IDL set to "ANONYMOUS" followed by getAttribute() assert_equals: expected "ANONYMOUS" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "ANONYMOUS" followed by IDL get assert_equals: expected "anonymous" but got "ANONYMOUS"
+PASS audio.crossOrigin: IDL set to "ANONYMOUS" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "ANONYMOUS" followed by IDL get
PASS audio.crossOrigin: IDL set to "use-credentials" should not throw
-FAIL audio.crossOrigin: IDL set to "use-credentials" followed by getAttribute() assert_equals: expected "use-credentials" but got "USE-CREDENTIALS"
+PASS audio.crossOrigin: IDL set to "use-credentials" followed by getAttribute()
PASS audio.crossOrigin: IDL set to "use-credentials" followed by IDL get
PASS audio.crossOrigin: IDL set to "xuse-credentials" should not throw
-FAIL audio.crossOrigin: IDL set to "xuse-credentials" followed by getAttribute() assert_equals: expected "xuse-credentials" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "xuse-credentials" followed by IDL get assert_equals: expected "anonymous" but got "xuse-credentials"
+PASS audio.crossOrigin: IDL set to "xuse-credentials" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "xuse-credentials" followed by IDL get
PASS audio.crossOrigin: IDL set to "use-credentials\0" should not throw
-FAIL audio.crossOrigin: IDL set to "use-credentials\0" followed by getAttribute() assert_equals: expected "use-credentials\0" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "use-credentials\0" followed by IDL get assert_equals: expected "anonymous" but got "use-credentials\0"
+PASS audio.crossOrigin: IDL set to "use-credentials\0" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "use-credentials\0" followed by IDL get
PASS audio.crossOrigin: IDL set to "se-credentials" should not throw
-FAIL audio.crossOrigin: IDL set to "se-credentials" followed by getAttribute() assert_equals: expected "se-credentials" but got "USE-CREDENTIALS"
-FAIL audio.crossOrigin: IDL set to "se-credentials" followed by IDL get assert_equals: expected "anonymous" but got "se-credentials"
+PASS audio.crossOrigin: IDL set to "se-credentials" followed by getAttribute()
+PASS audio.crossOrigin: IDL set to "se-credentials" followed by IDL get
PASS audio.crossOrigin: IDL set to "USE-CREDENTIALS" should not throw
PASS audio.crossOrigin: IDL set to "USE-CREDENTIALS" followed by getAttribute()
-FAIL audio.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get assert_equals: expected "use-credentials" but got "USE-CREDENTIALS"
+PASS audio.crossOrigin: IDL set to "USE-CREDENTIALS" followed by IDL get
PASS audio.preload: typeof IDL attribute
PASS audio.preload: setAttribute() to "none" followed by getAttribute()
PASS audio.preload: setAttribute() to "none" followed by IDL get
Modified: trunk/Source/WebCore/ChangeLog (202979 => 202980)
--- trunk/Source/WebCore/ChangeLog 2016-07-08 15:30:50 UTC (rev 202979)
+++ trunk/Source/WebCore/ChangeLog 2016-07-08 15:48:23 UTC (rev 202980)
@@ -1,3 +1,25 @@
+2016-07-08 Olivier Blin <[email protected]>
+
+ Expose crossOrigin attribute as a static property in HTMLMediaElement
+ https://bugs.webkit.org/show_bug.cgi?id=159459
+
+ Reviewed by Chris Dumez.
+
+ The crossOrigin attribute is already used for MediaResourceLoader
+ (r119742 and r175050), but it was not exposed as a static property.
+
+ This fixes VR360 support in Dailymotion, since it uses the "in"
+ operator to detect if crossOrigin is supported by the
+ HTMLVideoElement, in order to enable VR360.
+
+ No new tests, rebaselined existing tests, 150 WPT tests are fixed.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::setCrossOrigin):
+ (WebCore::HTMLMediaElement::crossOrigin):
+ * html/HTMLMediaElement.h:
+ * html/HTMLMediaElement.idl:
+
2016-03-20 Frederic Wang <[email protected]>
Use Fraction* parameters from the OpenType MATH table
Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (202979 => 202980)
--- trunk/Source/WebCore/html/HTMLMediaElement.cpp 2016-07-08 15:30:50 UTC (rev 202979)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp 2016-07-08 15:48:23 UTC (rev 202980)
@@ -51,6 +51,7 @@
#include "FrameLoader.h"
#include "FrameLoaderClient.h"
#include "FrameView.h"
+#include "HTMLParserIdioms.h"
#include "HTMLSourceElement.h"
#include "HTMLVideoElement.h"
#include "JSDOMError.h"
@@ -1013,6 +1014,16 @@
}
#endif
+void HTMLMediaElement::setCrossOrigin(const AtomicString& value)
+{
+ setAttributeWithoutSynchronization(crossoriginAttr, value);
+}
+
+String HTMLMediaElement::crossOrigin() const
+{
+ return parseCORSSettingsAttribute(fastGetAttribute(crossoriginAttr));
+}
+
HTMLMediaElement::NetworkState HTMLMediaElement::networkState() const
{
return m_networkState;
@@ -6330,7 +6341,7 @@
RefPtr<PlatformMediaResourceLoader> HTMLMediaElement::mediaPlayerCreateResourceLoader()
{
- return adoptRef(*new MediaResourceLoader(document(), fastGetAttribute(HTMLNames::crossoriginAttr)));
+ return adoptRef(*new MediaResourceLoader(document(), crossOrigin()));
}
bool HTMLMediaElement::mediaPlayerShouldUsePersistentCache() const
Modified: trunk/Source/WebCore/html/HTMLMediaElement.h (202979 => 202980)
--- trunk/Source/WebCore/html/HTMLMediaElement.h 2016-07-08 15:30:50 UTC (rev 202979)
+++ trunk/Source/WebCore/html/HTMLMediaElement.h 2016-07-08 15:48:23 UTC (rev 202980)
@@ -166,6 +166,9 @@
void setSrcObject(ScriptExecutionContext&, MediaStream*);
#endif
+ void setCrossOrigin(const AtomicString&);
+ String crossOrigin() const;
+
// network state
using HTMLMediaElementEnums::NetworkState;
NetworkState networkState() const;
Modified: trunk/Source/WebCore/html/HTMLMediaElement.idl (202979 => 202980)
--- trunk/Source/WebCore/html/HTMLMediaElement.idl 2016-07-08 15:30:50 UTC (rev 202979)
+++ trunk/Source/WebCore/html/HTMLMediaElement.idl 2016-07-08 15:48:23 UTC (rev 202980)
@@ -36,6 +36,7 @@
// network state
[Reflect, URL] attribute DOMString src;
[URL] readonly attribute DOMString currentSrc;
+ attribute DOMString? crossOrigin;
const unsigned short NETWORK_EMPTY = 0;
const unsigned short NETWORK_IDLE = 1;