Title: [205685] trunk
Revision
205685
Author
[email protected]
Date
2016-09-08 18:43:25 -0700 (Thu, 08 Sep 2016)

Log Message

frame.longDesc / iframe.longDesc should reflect as a URL
https://bugs.webkit.org/show_bug.cgi?id=161764

Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

Rebaseline several W3C tests now that more checks are passing.

* web-platform-tests/html/dom/reflection-embedded-expected.txt:
* web-platform-tests/html/dom/reflection-obsolete-expected.txt:

Source/WebCore:

frame.longDesc / iframe.longDesc should reflect as a URL:
- https://html.spec.whatwg.org/#dom-iframe-longdesc
- https://html.spec.whatwg.org/#dom-frame-longdesc

They already do in Chrome and Firefox.

No new tests, rebaselined existing tests.

* html/HTMLFrameElement.idl:
* html/HTMLIFrameElement.idl:

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (205684 => 205685)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2016-09-09 01:32:18 UTC (rev 205684)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2016-09-09 01:43:25 UTC (rev 205685)
@@ -1,5 +1,17 @@
 2016-09-08  Chris Dumez  <[email protected]>
 
+        frame.longDesc / iframe.longDesc should reflect as a URL
+        https://bugs.webkit.org/show_bug.cgi?id=161764
+
+        Reviewed by Alex Christensen.
+
+        Rebaseline several W3C tests now that more checks are passing.
+
+        * web-platform-tests/html/dom/reflection-embedded-expected.txt:
+        * web-platform-tests/html/dom/reflection-obsolete-expected.txt:
+
+2016-09-08  Chris Dumez  <[email protected]>
+
         HTMLImageElement.hspace / vspace attributes should be unsigned
         https://bugs.webkit.org/show_bug.cgi?id=161754
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt (205684 => 205685)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt	2016-09-09 01:32:18 UTC (rev 205684)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt	2016-09-09 01:43:25 UTC (rev 205685)
@@ -3231,95 +3231,95 @@
 PASS iframe.longDesc: typeof IDL attribute 
 PASS iframe.longDesc: IDL get with DOM attribute unset 
 PASS iframe.longDesc: setAttribute() to "" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got ""
+PASS iframe.longDesc: setAttribute() to "" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to " foo " followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS iframe.longDesc: setAttribute() to " foo " followed by IDL get 
 PASS iframe.longDesc: setAttribute() to "http://site.example/" followed by getAttribute() 
 PASS iframe.longDesc: setAttribute() to "http://site.example/" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by IDL get 
 PASS iframe.longDesc: 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 " followed by getAttribute() 
-FAIL iframe.longDesc: 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 " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" 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 "
+PASS iframe.longDesc: 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 " followed by IDL get 
 PASS iframe.longDesc: setAttribute() to undefined followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS iframe.longDesc: setAttribute() to undefined followed by IDL get 
 PASS iframe.longDesc: setAttribute() to 7 followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS iframe.longDesc: setAttribute() to 7 followed by IDL get 
 PASS iframe.longDesc: setAttribute() to 1.5 followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS iframe.longDesc: setAttribute() to 1.5 followed by IDL get 
 PASS iframe.longDesc: setAttribute() to true followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS iframe.longDesc: setAttribute() to true followed by IDL get 
 PASS iframe.longDesc: setAttribute() to false followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS iframe.longDesc: setAttribute() to false followed by IDL get 
 PASS iframe.longDesc: setAttribute() to object "[object Object]" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS iframe.longDesc: setAttribute() to object "[object Object]" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to NaN followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS iframe.longDesc: setAttribute() to NaN followed by IDL get 
 PASS iframe.longDesc: setAttribute() to Infinity followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS iframe.longDesc: setAttribute() to Infinity followed by IDL get 
 PASS iframe.longDesc: setAttribute() to -Infinity followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS iframe.longDesc: setAttribute() to -Infinity followed by IDL get 
 PASS iframe.longDesc: setAttribute() to "\0" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0"
+PASS iframe.longDesc: setAttribute() to "\0" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to null followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS iframe.longDesc: setAttribute() to null followed by IDL get 
 PASS iframe.longDesc: setAttribute() to object "test-toString" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS iframe.longDesc: setAttribute() to object "test-toString" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to object "test-valueOf" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
+PASS iframe.longDesc: setAttribute() to object "test-valueOf" followed by IDL get 
 PASS iframe.longDesc: IDL set to "" should not throw 
 PASS iframe.longDesc: IDL set to "" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got ""
+PASS iframe.longDesc: IDL set to "" followed by IDL get 
 PASS iframe.longDesc: IDL set to " foo " should not throw 
 PASS iframe.longDesc: IDL set to " foo " followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS iframe.longDesc: IDL set to " foo " followed by IDL get 
 PASS iframe.longDesc: IDL set to "http://site.example/" should not throw 
 PASS iframe.longDesc: IDL set to "http://site.example/" followed by getAttribute() 
 PASS iframe.longDesc: IDL set to "http://site.example/" followed by IDL get 
 PASS iframe.longDesc: IDL set to "//site.example/path???@#l" should not throw 
 PASS iframe.longDesc: IDL set to "//site.example/path???@#l" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS iframe.longDesc: IDL set to "//site.example/path???@#l" followed by IDL get 
 PASS iframe.longDesc: 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 " should not throw 
 PASS iframe.longDesc: 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 " followed by getAttribute() 
-FAIL iframe.longDesc: 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 " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" 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 "
+PASS iframe.longDesc: 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 " followed by IDL get 
 PASS iframe.longDesc: IDL set to undefined should not throw 
 PASS iframe.longDesc: IDL set to undefined followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS iframe.longDesc: IDL set to undefined followed by IDL get 
 PASS iframe.longDesc: IDL set to 7 should not throw 
 PASS iframe.longDesc: IDL set to 7 followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS iframe.longDesc: IDL set to 7 followed by IDL get 
 PASS iframe.longDesc: IDL set to 1.5 should not throw 
 PASS iframe.longDesc: IDL set to 1.5 followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS iframe.longDesc: IDL set to 1.5 followed by IDL get 
 PASS iframe.longDesc: IDL set to true should not throw 
 PASS iframe.longDesc: IDL set to true followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS iframe.longDesc: IDL set to true followed by IDL get 
 PASS iframe.longDesc: IDL set to false should not throw 
 PASS iframe.longDesc: IDL set to false followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS iframe.longDesc: IDL set to false followed by IDL get 
 PASS iframe.longDesc: IDL set to object "[object Object]" should not throw 
 PASS iframe.longDesc: IDL set to object "[object Object]" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS iframe.longDesc: IDL set to object "[object Object]" followed by IDL get 
 PASS iframe.longDesc: IDL set to NaN should not throw 
 PASS iframe.longDesc: IDL set to NaN followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS iframe.longDesc: IDL set to NaN followed by IDL get 
 PASS iframe.longDesc: IDL set to Infinity should not throw 
 PASS iframe.longDesc: IDL set to Infinity followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS iframe.longDesc: IDL set to Infinity followed by IDL get 
 PASS iframe.longDesc: IDL set to -Infinity should not throw 
 PASS iframe.longDesc: IDL set to -Infinity followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS iframe.longDesc: IDL set to -Infinity followed by IDL get 
 PASS iframe.longDesc: IDL set to "\0" should not throw 
 PASS iframe.longDesc: IDL set to "\0" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0"
+PASS iframe.longDesc: IDL set to "\0" followed by IDL get 
 PASS iframe.longDesc: IDL set to null should not throw 
 PASS iframe.longDesc: IDL set to null followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS iframe.longDesc: IDL set to null followed by IDL get 
 PASS iframe.longDesc: IDL set to object "test-toString" should not throw 
 PASS iframe.longDesc: IDL set to object "test-toString" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS iframe.longDesc: IDL set to object "test-toString" followed by IDL get 
 PASS iframe.longDesc: IDL set to object "test-valueOf" should not throw 
 PASS iframe.longDesc: IDL set to object "test-valueOf" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
+PASS iframe.longDesc: IDL set to object "test-valueOf" followed by IDL get 
 PASS iframe.marginHeight: typeof IDL attribute 
 PASS iframe.marginHeight: IDL get with DOM attribute unset 
 PASS iframe.marginHeight: setAttribute() to "" followed by getAttribute() 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-obsolete-expected.txt (205684 => 205685)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-obsolete-expected.txt	2016-09-09 01:32:18 UTC (rev 205684)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-obsolete-expected.txt	2016-09-09 01:43:25 UTC (rev 205685)
@@ -4806,95 +4806,95 @@
 PASS frame.longDesc: typeof IDL attribute 
 PASS frame.longDesc: IDL get with DOM attribute unset 
 PASS frame.longDesc: setAttribute() to "" followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got ""
+PASS frame.longDesc: setAttribute() to "" followed by IDL get 
 PASS frame.longDesc: setAttribute() to " foo " followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS frame.longDesc: setAttribute() to " foo " followed by IDL get 
 PASS frame.longDesc: setAttribute() to "http://site.example/" followed by getAttribute() 
 PASS frame.longDesc: setAttribute() to "http://site.example/" followed by IDL get 
 PASS frame.longDesc: setAttribute() to "//site.example/path???@#l" followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS frame.longDesc: setAttribute() to "//site.example/path???@#l" followed by IDL get 
 PASS frame.longDesc: 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 " followed by getAttribute() 
-FAIL frame.longDesc: 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 " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" 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 "
+PASS frame.longDesc: 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 " followed by IDL get 
 PASS frame.longDesc: setAttribute() to undefined followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS frame.longDesc: setAttribute() to undefined followed by IDL get 
 PASS frame.longDesc: setAttribute() to 7 followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS frame.longDesc: setAttribute() to 7 followed by IDL get 
 PASS frame.longDesc: setAttribute() to 1.5 followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS frame.longDesc: setAttribute() to 1.5 followed by IDL get 
 PASS frame.longDesc: setAttribute() to true followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS frame.longDesc: setAttribute() to true followed by IDL get 
 PASS frame.longDesc: setAttribute() to false followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS frame.longDesc: setAttribute() to false followed by IDL get 
 PASS frame.longDesc: setAttribute() to object "[object Object]" followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS frame.longDesc: setAttribute() to object "[object Object]" followed by IDL get 
 PASS frame.longDesc: setAttribute() to NaN followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS frame.longDesc: setAttribute() to NaN followed by IDL get 
 PASS frame.longDesc: setAttribute() to Infinity followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS frame.longDesc: setAttribute() to Infinity followed by IDL get 
 PASS frame.longDesc: setAttribute() to -Infinity followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS frame.longDesc: setAttribute() to -Infinity followed by IDL get 
 PASS frame.longDesc: setAttribute() to "\0" followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0"
+PASS frame.longDesc: setAttribute() to "\0" followed by IDL get 
 PASS frame.longDesc: setAttribute() to null followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS frame.longDesc: setAttribute() to null followed by IDL get 
 PASS frame.longDesc: setAttribute() to object "test-toString" followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS frame.longDesc: setAttribute() to object "test-toString" followed by IDL get 
 PASS frame.longDesc: setAttribute() to object "test-valueOf" followed by getAttribute() 
-FAIL frame.longDesc: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
+PASS frame.longDesc: setAttribute() to object "test-valueOf" followed by IDL get 
 PASS frame.longDesc: IDL set to "" should not throw 
 PASS frame.longDesc: IDL set to "" followed by getAttribute() 
-FAIL frame.longDesc: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got ""
+PASS frame.longDesc: IDL set to "" followed by IDL get 
 PASS frame.longDesc: IDL set to " foo " should not throw 
 PASS frame.longDesc: IDL set to " foo " followed by getAttribute() 
-FAIL frame.longDesc: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS frame.longDesc: IDL set to " foo " followed by IDL get 
 PASS frame.longDesc: IDL set to "http://site.example/" should not throw 
 PASS frame.longDesc: IDL set to "http://site.example/" followed by getAttribute() 
 PASS frame.longDesc: IDL set to "http://site.example/" followed by IDL get 
 PASS frame.longDesc: IDL set to "//site.example/path???@#l" should not throw 
 PASS frame.longDesc: IDL set to "//site.example/path???@#l" followed by getAttribute() 
-FAIL frame.longDesc: IDL set to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS frame.longDesc: IDL set to "//site.example/path???@#l" followed by IDL get 
 PASS frame.longDesc: 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 " should not throw 
 PASS frame.longDesc: 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 " followed by getAttribute() 
-FAIL frame.longDesc: 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 " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" 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 "
+PASS frame.longDesc: 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 " followed by IDL get 
 PASS frame.longDesc: IDL set to undefined should not throw 
 PASS frame.longDesc: IDL set to undefined followed by getAttribute() 
-FAIL frame.longDesc: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS frame.longDesc: IDL set to undefined followed by IDL get 
 PASS frame.longDesc: IDL set to 7 should not throw 
 PASS frame.longDesc: IDL set to 7 followed by getAttribute() 
-FAIL frame.longDesc: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS frame.longDesc: IDL set to 7 followed by IDL get 
 PASS frame.longDesc: IDL set to 1.5 should not throw 
 PASS frame.longDesc: IDL set to 1.5 followed by getAttribute() 
-FAIL frame.longDesc: IDL set to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS frame.longDesc: IDL set to 1.5 followed by IDL get 
 PASS frame.longDesc: IDL set to true should not throw 
 PASS frame.longDesc: IDL set to true followed by getAttribute() 
-FAIL frame.longDesc: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS frame.longDesc: IDL set to true followed by IDL get 
 PASS frame.longDesc: IDL set to false should not throw 
 PASS frame.longDesc: IDL set to false followed by getAttribute() 
-FAIL frame.longDesc: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS frame.longDesc: IDL set to false followed by IDL get 
 PASS frame.longDesc: IDL set to object "[object Object]" should not throw 
 PASS frame.longDesc: IDL set to object "[object Object]" followed by getAttribute() 
-FAIL frame.longDesc: IDL set to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS frame.longDesc: IDL set to object "[object Object]" followed by IDL get 
 PASS frame.longDesc: IDL set to NaN should not throw 
 PASS frame.longDesc: IDL set to NaN followed by getAttribute() 
-FAIL frame.longDesc: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS frame.longDesc: IDL set to NaN followed by IDL get 
 PASS frame.longDesc: IDL set to Infinity should not throw 
 PASS frame.longDesc: IDL set to Infinity followed by getAttribute() 
-FAIL frame.longDesc: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS frame.longDesc: IDL set to Infinity followed by IDL get 
 PASS frame.longDesc: IDL set to -Infinity should not throw 
 PASS frame.longDesc: IDL set to -Infinity followed by getAttribute() 
-FAIL frame.longDesc: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS frame.longDesc: IDL set to -Infinity followed by IDL get 
 PASS frame.longDesc: IDL set to "\0" should not throw 
 PASS frame.longDesc: IDL set to "\0" followed by getAttribute() 
-FAIL frame.longDesc: IDL set to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0"
+PASS frame.longDesc: IDL set to "\0" followed by IDL get 
 PASS frame.longDesc: IDL set to null should not throw 
 PASS frame.longDesc: IDL set to null followed by getAttribute() 
-FAIL frame.longDesc: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS frame.longDesc: IDL set to null followed by IDL get 
 PASS frame.longDesc: IDL set to object "test-toString" should not throw 
 PASS frame.longDesc: IDL set to object "test-toString" followed by getAttribute() 
-FAIL frame.longDesc: IDL set to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS frame.longDesc: IDL set to object "test-toString" followed by IDL get 
 PASS frame.longDesc: IDL set to object "test-valueOf" should not throw 
 PASS frame.longDesc: IDL set to object "test-valueOf" followed by getAttribute() 
-FAIL frame.longDesc: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
+PASS frame.longDesc: IDL set to object "test-valueOf" followed by IDL get 
 PASS frame.noResize: typeof IDL attribute 
 PASS frame.noResize: IDL get with DOM attribute unset 
 PASS frame.noResize: setAttribute() to "" followed by getAttribute() 

Modified: trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt (205684 => 205685)


--- trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt	2016-09-09 01:32:18 UTC (rev 205684)
+++ trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt	2016-09-09 01:43:25 UTC (rev 205685)
@@ -3231,95 +3231,95 @@
 PASS iframe.longDesc: typeof IDL attribute 
 PASS iframe.longDesc: IDL get with DOM attribute unset 
 PASS iframe.longDesc: setAttribute() to "" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got ""
+PASS iframe.longDesc: setAttribute() to "" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to " foo " followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS iframe.longDesc: setAttribute() to " foo " followed by IDL get 
 PASS iframe.longDesc: setAttribute() to "http://site.example/" followed by getAttribute() 
 PASS iframe.longDesc: setAttribute() to "http://site.example/" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by IDL get 
 PASS iframe.longDesc: 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 " followed by getAttribute() 
-FAIL iframe.longDesc: 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 " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" 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 "
+PASS iframe.longDesc: 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 " followed by IDL get 
 PASS iframe.longDesc: setAttribute() to undefined followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS iframe.longDesc: setAttribute() to undefined followed by IDL get 
 PASS iframe.longDesc: setAttribute() to 7 followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS iframe.longDesc: setAttribute() to 7 followed by IDL get 
 PASS iframe.longDesc: setAttribute() to 1.5 followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS iframe.longDesc: setAttribute() to 1.5 followed by IDL get 
 PASS iframe.longDesc: setAttribute() to true followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS iframe.longDesc: setAttribute() to true followed by IDL get 
 PASS iframe.longDesc: setAttribute() to false followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS iframe.longDesc: setAttribute() to false followed by IDL get 
 PASS iframe.longDesc: setAttribute() to object "[object Object]" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS iframe.longDesc: setAttribute() to object "[object Object]" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to NaN followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS iframe.longDesc: setAttribute() to NaN followed by IDL get 
 PASS iframe.longDesc: setAttribute() to Infinity followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS iframe.longDesc: setAttribute() to Infinity followed by IDL get 
 PASS iframe.longDesc: setAttribute() to -Infinity followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS iframe.longDesc: setAttribute() to -Infinity followed by IDL get 
 PASS iframe.longDesc: setAttribute() to "\0" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0"
+PASS iframe.longDesc: setAttribute() to "\0" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to null followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS iframe.longDesc: setAttribute() to null followed by IDL get 
 PASS iframe.longDesc: setAttribute() to object "test-toString" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS iframe.longDesc: setAttribute() to object "test-toString" followed by IDL get 
 PASS iframe.longDesc: setAttribute() to object "test-valueOf" followed by getAttribute() 
-FAIL iframe.longDesc: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
+PASS iframe.longDesc: setAttribute() to object "test-valueOf" followed by IDL get 
 PASS iframe.longDesc: IDL set to "" should not throw 
 PASS iframe.longDesc: IDL set to "" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got ""
+PASS iframe.longDesc: IDL set to "" followed by IDL get 
 PASS iframe.longDesc: IDL set to " foo " should not throw 
 PASS iframe.longDesc: IDL set to " foo " followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS iframe.longDesc: IDL set to " foo " followed by IDL get 
 PASS iframe.longDesc: IDL set to "http://site.example/" should not throw 
 PASS iframe.longDesc: IDL set to "http://site.example/" followed by getAttribute() 
 PASS iframe.longDesc: IDL set to "http://site.example/" followed by IDL get 
 PASS iframe.longDesc: IDL set to "//site.example/path???@#l" should not throw 
 PASS iframe.longDesc: IDL set to "//site.example/path???@#l" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS iframe.longDesc: IDL set to "//site.example/path???@#l" followed by IDL get 
 PASS iframe.longDesc: 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 " should not throw 
 PASS iframe.longDesc: 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 " followed by getAttribute() 
-FAIL iframe.longDesc: 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 " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" 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 "
+PASS iframe.longDesc: 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 " followed by IDL get 
 PASS iframe.longDesc: IDL set to undefined should not throw 
 PASS iframe.longDesc: IDL set to undefined followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS iframe.longDesc: IDL set to undefined followed by IDL get 
 PASS iframe.longDesc: IDL set to 7 should not throw 
 PASS iframe.longDesc: IDL set to 7 followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS iframe.longDesc: IDL set to 7 followed by IDL get 
 PASS iframe.longDesc: IDL set to 1.5 should not throw 
 PASS iframe.longDesc: IDL set to 1.5 followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS iframe.longDesc: IDL set to 1.5 followed by IDL get 
 PASS iframe.longDesc: IDL set to true should not throw 
 PASS iframe.longDesc: IDL set to true followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS iframe.longDesc: IDL set to true followed by IDL get 
 PASS iframe.longDesc: IDL set to false should not throw 
 PASS iframe.longDesc: IDL set to false followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS iframe.longDesc: IDL set to false followed by IDL get 
 PASS iframe.longDesc: IDL set to object "[object Object]" should not throw 
 PASS iframe.longDesc: IDL set to object "[object Object]" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS iframe.longDesc: IDL set to object "[object Object]" followed by IDL get 
 PASS iframe.longDesc: IDL set to NaN should not throw 
 PASS iframe.longDesc: IDL set to NaN followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS iframe.longDesc: IDL set to NaN followed by IDL get 
 PASS iframe.longDesc: IDL set to Infinity should not throw 
 PASS iframe.longDesc: IDL set to Infinity followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS iframe.longDesc: IDL set to Infinity followed by IDL get 
 PASS iframe.longDesc: IDL set to -Infinity should not throw 
 PASS iframe.longDesc: IDL set to -Infinity followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS iframe.longDesc: IDL set to -Infinity followed by IDL get 
 PASS iframe.longDesc: IDL set to "\0" should not throw 
 PASS iframe.longDesc: IDL set to "\0" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0"
+PASS iframe.longDesc: IDL set to "\0" followed by IDL get 
 PASS iframe.longDesc: IDL set to null should not throw 
 PASS iframe.longDesc: IDL set to null followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS iframe.longDesc: IDL set to null followed by IDL get 
 PASS iframe.longDesc: IDL set to object "test-toString" should not throw 
 PASS iframe.longDesc: IDL set to object "test-toString" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS iframe.longDesc: IDL set to object "test-toString" followed by IDL get 
 PASS iframe.longDesc: IDL set to object "test-valueOf" should not throw 
 PASS iframe.longDesc: IDL set to object "test-valueOf" followed by getAttribute() 
-FAIL iframe.longDesc: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
+PASS iframe.longDesc: IDL set to object "test-valueOf" followed by IDL get 
 PASS iframe.marginHeight: typeof IDL attribute 
 PASS iframe.marginHeight: IDL get with DOM attribute unset 
 PASS iframe.marginHeight: setAttribute() to "" followed by getAttribute() 

Modified: trunk/Source/WebCore/ChangeLog (205684 => 205685)


--- trunk/Source/WebCore/ChangeLog	2016-09-09 01:32:18 UTC (rev 205684)
+++ trunk/Source/WebCore/ChangeLog	2016-09-09 01:43:25 UTC (rev 205685)
@@ -1,3 +1,21 @@
+2016-09-08  Chris Dumez  <[email protected]>
+
+        frame.longDesc / iframe.longDesc should reflect as a URL
+        https://bugs.webkit.org/show_bug.cgi?id=161764
+
+        Reviewed by Alex Christensen.
+
+        frame.longDesc / iframe.longDesc should reflect as a URL:
+        - https://html.spec.whatwg.org/#dom-iframe-longdesc
+        - https://html.spec.whatwg.org/#dom-frame-longdesc
+
+        They already do in Chrome and Firefox.
+
+        No new tests, rebaselined existing tests.
+
+        * html/HTMLFrameElement.idl:
+        * html/HTMLIFrameElement.idl:
+
 2016-09-08  Alex Christensen  <[email protected]>
 
         URLParser: Handle \ in paths of special URLs according to spec

Modified: trunk/Source/WebCore/html/HTMLFrameElement.idl (205684 => 205685)


--- trunk/Source/WebCore/html/HTMLFrameElement.idl	2016-09-09 01:32:18 UTC (rev 205684)
+++ trunk/Source/WebCore/html/HTMLFrameElement.idl	2016-09-09 01:43:25 UTC (rev 205685)
@@ -21,7 +21,7 @@
 interface HTMLFrameElement : HTMLElement {
 
     [Reflect] attribute DOMString frameBorder;
-    [Reflect] attribute USVString longDesc;
+    [Reflect, URL] attribute USVString longDesc;
 
     [Reflect, TreatNullAs=EmptyString] attribute DOMString marginHeight;
     [Reflect, TreatNullAs=EmptyString] attribute DOMString marginWidth;

Modified: trunk/Source/WebCore/html/HTMLFrameElementBase.cpp (205684 => 205685)


--- trunk/Source/WebCore/html/HTMLFrameElementBase.cpp	2016-09-09 01:32:18 UTC (rev 205684)
+++ trunk/Source/WebCore/html/HTMLFrameElementBase.cpp	2016-09-09 01:43:25 UTC (rev 205685)
@@ -202,7 +202,7 @@
 
 bool HTMLFrameElementBase::isURLAttribute(const Attribute& attribute) const
 {
-    return attribute.name() == srcAttr || HTMLFrameOwnerElement::isURLAttribute(attribute);
+    return attribute.name() == srcAttr || attribute.name() == longdescAttr || HTMLFrameOwnerElement::isURLAttribute(attribute);
 }
 
 bool HTMLFrameElementBase::isHTMLContentAttribute(const Attribute& attribute) const

Modified: trunk/Source/WebCore/html/HTMLIFrameElement.idl (205684 => 205685)


--- trunk/Source/WebCore/html/HTMLIFrameElement.idl	2016-09-09 01:32:18 UTC (rev 205684)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.idl	2016-09-09 01:43:25 UTC (rev 205685)
@@ -22,7 +22,7 @@
     [Reflect] attribute DOMString align;
     [Reflect] attribute DOMString frameBorder;
     [Reflect] attribute DOMString height;
-    [Reflect] attribute USVString longDesc;
+    [Reflect, URL] attribute USVString longDesc;
     [Reflect, TreatNullAs=EmptyString] attribute DOMString marginHeight;
     [Reflect, TreatNullAs=EmptyString] attribute DOMString marginWidth;
     [Reflect] attribute DOMString name;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to