Changeset 205685 in webkit


Ignore:
Timestamp:
Sep 8, 2016 6:43:25 PM (8 years ago)
Author:
Chris Dumez
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:

They already do in Chrome and Firefox.

No new tests, rebaselined existing tests.

  • html/HTMLFrameElement.idl:
  • html/HTMLIFrameElement.idl:
Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r205665 r205685  
     12016-09-08  Chris Dumez  <cdumez@apple.com>
     2
     3        frame.longDesc / iframe.longDesc should reflect as a URL
     4        https://bugs.webkit.org/show_bug.cgi?id=161764
     5
     6        Reviewed by Alex Christensen.
     7
     8        Rebaseline several W3C tests now that more checks are passing.
     9
     10        * web-platform-tests/html/dom/reflection-embedded-expected.txt:
     11        * web-platform-tests/html/dom/reflection-obsolete-expected.txt:
     12
    1132016-09-08  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt

    r205665 r205685  
    32403240PASS iframe.longDesc: IDL get with DOM attribute unset
    32413241PASS iframe.longDesc: setAttribute() to "" followed by getAttribute()
    3242 FAIL iframe.longDesc: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got ""
     3242PASS iframe.longDesc: setAttribute() to "" followed by IDL get
    32433243PASS iframe.longDesc: setAttribute() to " foo " followed by getAttribute()
    3244 FAIL iframe.longDesc: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
     3244PASS iframe.longDesc: setAttribute() to " foo " followed by IDL get
    32453245PASS iframe.longDesc: setAttribute() to "http://site.example/" followed by getAttribute()
    32463246PASS iframe.longDesc: setAttribute() to "http://site.example/" followed by IDL get
    32473247PASS iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by getAttribute()
    3248 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"
     3248PASS iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by IDL get
    32493249PASS 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()
    3250 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 "
     3250PASS 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
    32513251PASS iframe.longDesc: setAttribute() to undefined followed by getAttribute()
    3252 FAIL iframe.longDesc: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
     3252PASS iframe.longDesc: setAttribute() to undefined followed by IDL get
    32533253PASS iframe.longDesc: setAttribute() to 7 followed by getAttribute()
    3254 FAIL iframe.longDesc: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
     3254PASS iframe.longDesc: setAttribute() to 7 followed by IDL get
    32553255PASS iframe.longDesc: setAttribute() to 1.5 followed by getAttribute()
    3256 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"
     3256PASS iframe.longDesc: setAttribute() to 1.5 followed by IDL get
    32573257PASS iframe.longDesc: setAttribute() to true followed by getAttribute()
    3258 FAIL iframe.longDesc: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
     3258PASS iframe.longDesc: setAttribute() to true followed by IDL get
    32593259PASS iframe.longDesc: setAttribute() to false followed by getAttribute()
    3260 FAIL iframe.longDesc: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
     3260PASS iframe.longDesc: setAttribute() to false followed by IDL get
    32613261PASS iframe.longDesc: setAttribute() to object "[object Object]" followed by getAttribute()
    3262 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]"
     3262PASS iframe.longDesc: setAttribute() to object "[object Object]" followed by IDL get
    32633263PASS iframe.longDesc: setAttribute() to NaN followed by getAttribute()
    3264 FAIL iframe.longDesc: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
     3264PASS iframe.longDesc: setAttribute() to NaN followed by IDL get
    32653265PASS iframe.longDesc: setAttribute() to Infinity followed by getAttribute()
    3266 FAIL iframe.longDesc: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
     3266PASS iframe.longDesc: setAttribute() to Infinity followed by IDL get
    32673267PASS iframe.longDesc: setAttribute() to -Infinity followed by getAttribute()
    3268 FAIL iframe.longDesc: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
     3268PASS iframe.longDesc: setAttribute() to -Infinity followed by IDL get
    32693269PASS iframe.longDesc: setAttribute() to "\0" followed by getAttribute()
    3270 FAIL iframe.longDesc: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0"
     3270PASS iframe.longDesc: setAttribute() to "\0" followed by IDL get
    32713271PASS iframe.longDesc: setAttribute() to null followed by getAttribute()
    3272 FAIL iframe.longDesc: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
     3272PASS iframe.longDesc: setAttribute() to null followed by IDL get
    32733273PASS iframe.longDesc: setAttribute() to object "test-toString" followed by getAttribute()
    3274 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"
     3274PASS iframe.longDesc: setAttribute() to object "test-toString" followed by IDL get
    32753275PASS iframe.longDesc: setAttribute() to object "test-valueOf" followed by getAttribute()
    3276 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"
     3276PASS iframe.longDesc: setAttribute() to object "test-valueOf" followed by IDL get
    32773277PASS iframe.longDesc: IDL set to "" should not throw
    32783278PASS iframe.longDesc: IDL set to "" followed by getAttribute()
    3279 FAIL iframe.longDesc: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got ""
     3279PASS iframe.longDesc: IDL set to "" followed by IDL get
    32803280PASS iframe.longDesc: IDL set to " foo " should not throw
    32813281PASS iframe.longDesc: IDL set to " foo " followed by getAttribute()
    3282 FAIL iframe.longDesc: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
     3282PASS iframe.longDesc: IDL set to " foo " followed by IDL get
    32833283PASS iframe.longDesc: IDL set to "http://site.example/" should not throw
    32843284PASS iframe.longDesc: IDL set to "http://site.example/" followed by getAttribute()
     
    32863286PASS iframe.longDesc: IDL set to "//site.example/path???@#l" should not throw
    32873287PASS iframe.longDesc: IDL set to "//site.example/path???@#l" followed by getAttribute()
    3288 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"
     3288PASS iframe.longDesc: IDL set to "//site.example/path???@#l" followed by IDL get
    32893289PASS 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
    32903290PASS 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()
    3291 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 "
     3291PASS 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
    32923292PASS iframe.longDesc: IDL set to undefined should not throw
    32933293PASS iframe.longDesc: IDL set to undefined followed by getAttribute()
    3294 FAIL iframe.longDesc: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
     3294PASS iframe.longDesc: IDL set to undefined followed by IDL get
    32953295PASS iframe.longDesc: IDL set to 7 should not throw
    32963296PASS iframe.longDesc: IDL set to 7 followed by getAttribute()
    3297 FAIL iframe.longDesc: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
     3297PASS iframe.longDesc: IDL set to 7 followed by IDL get
    32983298PASS iframe.longDesc: IDL set to 1.5 should not throw
    32993299PASS iframe.longDesc: IDL set to 1.5 followed by getAttribute()
    3300 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"
     3300PASS iframe.longDesc: IDL set to 1.5 followed by IDL get
    33013301PASS iframe.longDesc: IDL set to true should not throw
    33023302PASS iframe.longDesc: IDL set to true followed by getAttribute()
    3303 FAIL iframe.longDesc: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
     3303PASS iframe.longDesc: IDL set to true followed by IDL get
    33043304PASS iframe.longDesc: IDL set to false should not throw
    33053305PASS iframe.longDesc: IDL set to false followed by getAttribute()
    3306 FAIL iframe.longDesc: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
     3306PASS iframe.longDesc: IDL set to false followed by IDL get
    33073307PASS iframe.longDesc: IDL set to object "[object Object]" should not throw
    33083308PASS iframe.longDesc: IDL set to object "[object Object]" followed by getAttribute()
    3309 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]"
     3309PASS iframe.longDesc: IDL set to object "[object Object]" followed by IDL get
    33103310PASS iframe.longDesc: IDL set to NaN should not throw
    33113311PASS iframe.longDesc: IDL set to NaN followed by getAttribute()
    3312 FAIL iframe.longDesc: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
     3312PASS iframe.longDesc: IDL set to NaN followed by IDL get
    33133313PASS iframe.longDesc: IDL set to Infinity should not throw
    33143314PASS iframe.longDesc: IDL set to Infinity followed by getAttribute()
    3315 FAIL iframe.longDesc: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
     3315PASS iframe.longDesc: IDL set to Infinity followed by IDL get
    33163316PASS iframe.longDesc: IDL set to -Infinity should not throw
    33173317PASS iframe.longDesc: IDL set to -Infinity followed by getAttribute()
    3318 FAIL iframe.longDesc: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
     3318PASS iframe.longDesc: IDL set to -Infinity followed by IDL get
    33193319PASS iframe.longDesc: IDL set to "\0" should not throw
    33203320PASS iframe.longDesc: IDL set to "\0" followed by getAttribute()
    3321 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"
     3321PASS iframe.longDesc: IDL set to "\0" followed by IDL get
    33223322PASS iframe.longDesc: IDL set to null should not throw
    33233323PASS iframe.longDesc: IDL set to null followed by getAttribute()
    3324 FAIL iframe.longDesc: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
     3324PASS iframe.longDesc: IDL set to null followed by IDL get
    33253325PASS iframe.longDesc: IDL set to object "test-toString" should not throw
    33263326PASS iframe.longDesc: IDL set to object "test-toString" followed by getAttribute()
    3327 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"
     3327PASS iframe.longDesc: IDL set to object "test-toString" followed by IDL get
    33283328PASS iframe.longDesc: IDL set to object "test-valueOf" should not throw
    33293329PASS iframe.longDesc: IDL set to object "test-valueOf" followed by getAttribute()
    3330 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"
     3330PASS iframe.longDesc: IDL set to object "test-valueOf" followed by IDL get
    33313331PASS iframe.marginHeight: typeof IDL attribute
    33323332PASS iframe.marginHeight: IDL get with DOM attribute unset
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-obsolete-expected.txt

    r204090 r205685  
    48354835PASS frame.longDesc: IDL get with DOM attribute unset
    48364836PASS frame.longDesc: setAttribute() to "" followed by getAttribute()
    4837 FAIL frame.longDesc: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got ""
     4837PASS frame.longDesc: setAttribute() to "" followed by IDL get
    48384838PASS frame.longDesc: setAttribute() to " foo " followed by getAttribute()
    4839 FAIL frame.longDesc: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
     4839PASS frame.longDesc: setAttribute() to " foo " followed by IDL get
    48404840PASS frame.longDesc: setAttribute() to "http://site.example/" followed by getAttribute()
    48414841PASS frame.longDesc: setAttribute() to "http://site.example/" followed by IDL get
    48424842PASS frame.longDesc: setAttribute() to "//site.example/path???@#l" followed by getAttribute()
    4843 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"
     4843PASS frame.longDesc: setAttribute() to "//site.example/path???@#l" followed by IDL get
    48444844PASS 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()
    4845 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 "
     4845PASS 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
    48464846PASS frame.longDesc: setAttribute() to undefined followed by getAttribute()
    4847 FAIL frame.longDesc: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
     4847PASS frame.longDesc: setAttribute() to undefined followed by IDL get
    48484848PASS frame.longDesc: setAttribute() to 7 followed by getAttribute()
    4849 FAIL frame.longDesc: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
     4849PASS frame.longDesc: setAttribute() to 7 followed by IDL get
    48504850PASS frame.longDesc: setAttribute() to 1.5 followed by getAttribute()
    4851 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"
     4851PASS frame.longDesc: setAttribute() to 1.5 followed by IDL get
    48524852PASS frame.longDesc: setAttribute() to true followed by getAttribute()
    4853 FAIL frame.longDesc: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
     4853PASS frame.longDesc: setAttribute() to true followed by IDL get
    48544854PASS frame.longDesc: setAttribute() to false followed by getAttribute()
    4855 FAIL frame.longDesc: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
     4855PASS frame.longDesc: setAttribute() to false followed by IDL get
    48564856PASS frame.longDesc: setAttribute() to object "[object Object]" followed by getAttribute()
    4857 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]"
     4857PASS frame.longDesc: setAttribute() to object "[object Object]" followed by IDL get
    48584858PASS frame.longDesc: setAttribute() to NaN followed by getAttribute()
    4859 FAIL frame.longDesc: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
     4859PASS frame.longDesc: setAttribute() to NaN followed by IDL get
    48604860PASS frame.longDesc: setAttribute() to Infinity followed by getAttribute()
    4861 FAIL frame.longDesc: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
     4861PASS frame.longDesc: setAttribute() to Infinity followed by IDL get
    48624862PASS frame.longDesc: setAttribute() to -Infinity followed by getAttribute()
    4863 FAIL frame.longDesc: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
     4863PASS frame.longDesc: setAttribute() to -Infinity followed by IDL get
    48644864PASS frame.longDesc: setAttribute() to "\0" followed by getAttribute()
    4865 FAIL frame.longDesc: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0"
     4865PASS frame.longDesc: setAttribute() to "\0" followed by IDL get
    48664866PASS frame.longDesc: setAttribute() to null followed by getAttribute()
    4867 FAIL frame.longDesc: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
     4867PASS frame.longDesc: setAttribute() to null followed by IDL get
    48684868PASS frame.longDesc: setAttribute() to object "test-toString" followed by getAttribute()
    4869 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"
     4869PASS frame.longDesc: setAttribute() to object "test-toString" followed by IDL get
    48704870PASS frame.longDesc: setAttribute() to object "test-valueOf" followed by getAttribute()
    4871 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"
     4871PASS frame.longDesc: setAttribute() to object "test-valueOf" followed by IDL get
    48724872PASS frame.longDesc: IDL set to "" should not throw
    48734873PASS frame.longDesc: IDL set to "" followed by getAttribute()
    4874 FAIL frame.longDesc: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got ""
     4874PASS frame.longDesc: IDL set to "" followed by IDL get
    48754875PASS frame.longDesc: IDL set to " foo " should not throw
    48764876PASS frame.longDesc: IDL set to " foo " followed by getAttribute()
    4877 FAIL frame.longDesc: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
     4877PASS frame.longDesc: IDL set to " foo " followed by IDL get
    48784878PASS frame.longDesc: IDL set to "http://site.example/" should not throw
    48794879PASS frame.longDesc: IDL set to "http://site.example/" followed by getAttribute()
     
    48814881PASS frame.longDesc: IDL set to "//site.example/path???@#l" should not throw
    48824882PASS frame.longDesc: IDL set to "//site.example/path???@#l" followed by getAttribute()
    4883 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"
     4883PASS frame.longDesc: IDL set to "//site.example/path???@#l" followed by IDL get
    48844884PASS 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
    48854885PASS 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()
    4886 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 "
     4886PASS 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
    48874887PASS frame.longDesc: IDL set to undefined should not throw
    48884888PASS frame.longDesc: IDL set to undefined followed by getAttribute()
    4889 FAIL frame.longDesc: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
     4889PASS frame.longDesc: IDL set to undefined followed by IDL get
    48904890PASS frame.longDesc: IDL set to 7 should not throw
    48914891PASS frame.longDesc: IDL set to 7 followed by getAttribute()
    4892 FAIL frame.longDesc: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
     4892PASS frame.longDesc: IDL set to 7 followed by IDL get
    48934893PASS frame.longDesc: IDL set to 1.5 should not throw
    48944894PASS frame.longDesc: IDL set to 1.5 followed by getAttribute()
    4895 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"
     4895PASS frame.longDesc: IDL set to 1.5 followed by IDL get
    48964896PASS frame.longDesc: IDL set to true should not throw
    48974897PASS frame.longDesc: IDL set to true followed by getAttribute()
    4898 FAIL frame.longDesc: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
     4898PASS frame.longDesc: IDL set to true followed by IDL get
    48994899PASS frame.longDesc: IDL set to false should not throw
    49004900PASS frame.longDesc: IDL set to false followed by getAttribute()
    4901 FAIL frame.longDesc: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
     4901PASS frame.longDesc: IDL set to false followed by IDL get
    49024902PASS frame.longDesc: IDL set to object "[object Object]" should not throw
    49034903PASS frame.longDesc: IDL set to object "[object Object]" followed by getAttribute()
    4904 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]"
     4904PASS frame.longDesc: IDL set to object "[object Object]" followed by IDL get
    49054905PASS frame.longDesc: IDL set to NaN should not throw
    49064906PASS frame.longDesc: IDL set to NaN followed by getAttribute()
    4907 FAIL frame.longDesc: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
     4907PASS frame.longDesc: IDL set to NaN followed by IDL get
    49084908PASS frame.longDesc: IDL set to Infinity should not throw
    49094909PASS frame.longDesc: IDL set to Infinity followed by getAttribute()
    4910 FAIL frame.longDesc: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
     4910PASS frame.longDesc: IDL set to Infinity followed by IDL get
    49114911PASS frame.longDesc: IDL set to -Infinity should not throw
    49124912PASS frame.longDesc: IDL set to -Infinity followed by getAttribute()
    4913 FAIL frame.longDesc: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
     4913PASS frame.longDesc: IDL set to -Infinity followed by IDL get
    49144914PASS frame.longDesc: IDL set to "\0" should not throw
    49154915PASS frame.longDesc: IDL set to "\0" followed by getAttribute()
    4916 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"
     4916PASS frame.longDesc: IDL set to "\0" followed by IDL get
    49174917PASS frame.longDesc: IDL set to null should not throw
    49184918PASS frame.longDesc: IDL set to null followed by getAttribute()
    4919 FAIL frame.longDesc: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
     4919PASS frame.longDesc: IDL set to null followed by IDL get
    49204920PASS frame.longDesc: IDL set to object "test-toString" should not throw
    49214921PASS frame.longDesc: IDL set to object "test-toString" followed by getAttribute()
    4922 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"
     4922PASS frame.longDesc: IDL set to object "test-toString" followed by IDL get
    49234923PASS frame.longDesc: IDL set to object "test-valueOf" should not throw
    49244924PASS frame.longDesc: IDL set to object "test-valueOf" followed by getAttribute()
    4925 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"
     4925PASS frame.longDesc: IDL set to object "test-valueOf" followed by IDL get
    49264926PASS frame.noResize: typeof IDL attribute
    49274927PASS frame.noResize: IDL get with DOM attribute unset
  • trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt

    r205665 r205685  
    32403240PASS iframe.longDesc: IDL get with DOM attribute unset
    32413241PASS iframe.longDesc: setAttribute() to "" followed by getAttribute()
    3242 FAIL iframe.longDesc: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got ""
     3242PASS iframe.longDesc: setAttribute() to "" followed by IDL get
    32433243PASS iframe.longDesc: setAttribute() to " foo " followed by getAttribute()
    3244 FAIL iframe.longDesc: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
     3244PASS iframe.longDesc: setAttribute() to " foo " followed by IDL get
    32453245PASS iframe.longDesc: setAttribute() to "http://site.example/" followed by getAttribute()
    32463246PASS iframe.longDesc: setAttribute() to "http://site.example/" followed by IDL get
    32473247PASS iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by getAttribute()
    3248 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"
     3248PASS iframe.longDesc: setAttribute() to "//site.example/path???@#l" followed by IDL get
    32493249PASS 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()
    3250 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 "
     3250PASS 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
    32513251PASS iframe.longDesc: setAttribute() to undefined followed by getAttribute()
    3252 FAIL iframe.longDesc: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
     3252PASS iframe.longDesc: setAttribute() to undefined followed by IDL get
    32533253PASS iframe.longDesc: setAttribute() to 7 followed by getAttribute()
    3254 FAIL iframe.longDesc: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
     3254PASS iframe.longDesc: setAttribute() to 7 followed by IDL get
    32553255PASS iframe.longDesc: setAttribute() to 1.5 followed by getAttribute()
    3256 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"
     3256PASS iframe.longDesc: setAttribute() to 1.5 followed by IDL get
    32573257PASS iframe.longDesc: setAttribute() to true followed by getAttribute()
    3258 FAIL iframe.longDesc: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
     3258PASS iframe.longDesc: setAttribute() to true followed by IDL get
    32593259PASS iframe.longDesc: setAttribute() to false followed by getAttribute()
    3260 FAIL iframe.longDesc: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
     3260PASS iframe.longDesc: setAttribute() to false followed by IDL get
    32613261PASS iframe.longDesc: setAttribute() to object "[object Object]" followed by getAttribute()
    3262 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]"
     3262PASS iframe.longDesc: setAttribute() to object "[object Object]" followed by IDL get
    32633263PASS iframe.longDesc: setAttribute() to NaN followed by getAttribute()
    3264 FAIL iframe.longDesc: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
     3264PASS iframe.longDesc: setAttribute() to NaN followed by IDL get
    32653265PASS iframe.longDesc: setAttribute() to Infinity followed by getAttribute()
    3266 FAIL iframe.longDesc: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
     3266PASS iframe.longDesc: setAttribute() to Infinity followed by IDL get
    32673267PASS iframe.longDesc: setAttribute() to -Infinity followed by getAttribute()
    3268 FAIL iframe.longDesc: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
     3268PASS iframe.longDesc: setAttribute() to -Infinity followed by IDL get
    32693269PASS iframe.longDesc: setAttribute() to "\0" followed by getAttribute()
    3270 FAIL iframe.longDesc: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0"
     3270PASS iframe.longDesc: setAttribute() to "\0" followed by IDL get
    32713271PASS iframe.longDesc: setAttribute() to null followed by getAttribute()
    3272 FAIL iframe.longDesc: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
     3272PASS iframe.longDesc: setAttribute() to null followed by IDL get
    32733273PASS iframe.longDesc: setAttribute() to object "test-toString" followed by getAttribute()
    3274 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"
     3274PASS iframe.longDesc: setAttribute() to object "test-toString" followed by IDL get
    32753275PASS iframe.longDesc: setAttribute() to object "test-valueOf" followed by getAttribute()
    3276 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"
     3276PASS iframe.longDesc: setAttribute() to object "test-valueOf" followed by IDL get
    32773277PASS iframe.longDesc: IDL set to "" should not throw
    32783278PASS iframe.longDesc: IDL set to "" followed by getAttribute()
    3279 FAIL iframe.longDesc: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got ""
     3279PASS iframe.longDesc: IDL set to "" followed by IDL get
    32803280PASS iframe.longDesc: IDL set to " foo " should not throw
    32813281PASS iframe.longDesc: IDL set to " foo " followed by getAttribute()
    3282 FAIL iframe.longDesc: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
     3282PASS iframe.longDesc: IDL set to " foo " followed by IDL get
    32833283PASS iframe.longDesc: IDL set to "http://site.example/" should not throw
    32843284PASS iframe.longDesc: IDL set to "http://site.example/" followed by getAttribute()
     
    32863286PASS iframe.longDesc: IDL set to "//site.example/path???@#l" should not throw
    32873287PASS iframe.longDesc: IDL set to "//site.example/path???@#l" followed by getAttribute()
    3288 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"
     3288PASS iframe.longDesc: IDL set to "//site.example/path???@#l" followed by IDL get
    32893289PASS 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
    32903290PASS 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()
    3291 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 "
     3291PASS 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
    32923292PASS iframe.longDesc: IDL set to undefined should not throw
    32933293PASS iframe.longDesc: IDL set to undefined followed by getAttribute()
    3294 FAIL iframe.longDesc: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
     3294PASS iframe.longDesc: IDL set to undefined followed by IDL get
    32953295PASS iframe.longDesc: IDL set to 7 should not throw
    32963296PASS iframe.longDesc: IDL set to 7 followed by getAttribute()
    3297 FAIL iframe.longDesc: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
     3297PASS iframe.longDesc: IDL set to 7 followed by IDL get
    32983298PASS iframe.longDesc: IDL set to 1.5 should not throw
    32993299PASS iframe.longDesc: IDL set to 1.5 followed by getAttribute()
    3300 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"
     3300PASS iframe.longDesc: IDL set to 1.5 followed by IDL get
    33013301PASS iframe.longDesc: IDL set to true should not throw
    33023302PASS iframe.longDesc: IDL set to true followed by getAttribute()
    3303 FAIL iframe.longDesc: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
     3303PASS iframe.longDesc: IDL set to true followed by IDL get
    33043304PASS iframe.longDesc: IDL set to false should not throw
    33053305PASS iframe.longDesc: IDL set to false followed by getAttribute()
    3306 FAIL iframe.longDesc: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
     3306PASS iframe.longDesc: IDL set to false followed by IDL get
    33073307PASS iframe.longDesc: IDL set to object "[object Object]" should not throw
    33083308PASS iframe.longDesc: IDL set to object "[object Object]" followed by getAttribute()
    3309 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]"
     3309PASS iframe.longDesc: IDL set to object "[object Object]" followed by IDL get
    33103310PASS iframe.longDesc: IDL set to NaN should not throw
    33113311PASS iframe.longDesc: IDL set to NaN followed by getAttribute()
    3312 FAIL iframe.longDesc: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
     3312PASS iframe.longDesc: IDL set to NaN followed by IDL get
    33133313PASS iframe.longDesc: IDL set to Infinity should not throw
    33143314PASS iframe.longDesc: IDL set to Infinity followed by getAttribute()
    3315 FAIL iframe.longDesc: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
     3315PASS iframe.longDesc: IDL set to Infinity followed by IDL get
    33163316PASS iframe.longDesc: IDL set to -Infinity should not throw
    33173317PASS iframe.longDesc: IDL set to -Infinity followed by getAttribute()
    3318 FAIL iframe.longDesc: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
     3318PASS iframe.longDesc: IDL set to -Infinity followed by IDL get
    33193319PASS iframe.longDesc: IDL set to "\0" should not throw
    33203320PASS iframe.longDesc: IDL set to "\0" followed by getAttribute()
    3321 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"
     3321PASS iframe.longDesc: IDL set to "\0" followed by IDL get
    33223322PASS iframe.longDesc: IDL set to null should not throw
    33233323PASS iframe.longDesc: IDL set to null followed by getAttribute()
    3324 FAIL iframe.longDesc: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
     3324PASS iframe.longDesc: IDL set to null followed by IDL get
    33253325PASS iframe.longDesc: IDL set to object "test-toString" should not throw
    33263326PASS iframe.longDesc: IDL set to object "test-toString" followed by getAttribute()
    3327 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"
     3327PASS iframe.longDesc: IDL set to object "test-toString" followed by IDL get
    33283328PASS iframe.longDesc: IDL set to object "test-valueOf" should not throw
    33293329PASS iframe.longDesc: IDL set to object "test-valueOf" followed by getAttribute()
    3330 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"
     3330PASS iframe.longDesc: IDL set to object "test-valueOf" followed by IDL get
    33313331PASS iframe.marginHeight: typeof IDL attribute
    33323332PASS iframe.marginHeight: IDL get with DOM attribute unset
  • trunk/Source/WebCore/ChangeLog

    r205684 r205685  
     12016-09-08  Chris Dumez  <cdumez@apple.com>
     2
     3        frame.longDesc / iframe.longDesc should reflect as a URL
     4        https://bugs.webkit.org/show_bug.cgi?id=161764
     5
     6        Reviewed by Alex Christensen.
     7
     8        frame.longDesc / iframe.longDesc should reflect as a URL:
     9        - https://html.spec.whatwg.org/#dom-iframe-longdesc
     10        - https://html.spec.whatwg.org/#dom-frame-longdesc
     11
     12        They already do in Chrome and Firefox.
     13
     14        No new tests, rebaselined existing tests.
     15
     16        * html/HTMLFrameElement.idl:
     17        * html/HTMLIFrameElement.idl:
     18
    1192016-09-08  Alex Christensen  <achristensen@webkit.org>
    220
  • trunk/Source/WebCore/html/HTMLFrameElement.idl

    r204215 r205685  
    2222
    2323    [Reflect] attribute DOMString frameBorder;
    24     [Reflect] attribute USVString longDesc;
     24    [Reflect, URL] attribute USVString longDesc;
    2525
    2626    [Reflect, TreatNullAs=EmptyString] attribute DOMString marginHeight;
  • trunk/Source/WebCore/html/HTMLFrameElementBase.cpp

    r203337 r205685  
    203203bool HTMLFrameElementBase::isURLAttribute(const Attribute& attribute) const
    204204{
    205     return attribute.name() == srcAttr || HTMLFrameOwnerElement::isURLAttribute(attribute);
     205    return attribute.name() == srcAttr || attribute.name() == longdescAttr || HTMLFrameOwnerElement::isURLAttribute(attribute);
    206206}
    207207
  • trunk/Source/WebCore/html/HTMLIFrameElement.idl

    r205280 r205685  
    2323    [Reflect] attribute DOMString frameBorder;
    2424    [Reflect] attribute DOMString height;
    25     [Reflect] attribute USVString longDesc;
     25    [Reflect, URL] attribute USVString longDesc;
    2626    [Reflect, TreatNullAs=EmptyString] attribute DOMString marginHeight;
    2727    [Reflect, TreatNullAs=EmptyString] attribute DOMString marginWidth;
Note: See TracChangeset for help on using the changeset viewer.