Changeset 205690 in webkit
- Timestamp:
- Sep 8, 2016 8:31:58 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/fast/dom/element-attribute-js-null-expected.txt
r203530 r205690 149 149 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLObjectElement.archive] 150 150 TEST SUCCEEDED: The value was the empty string. [tested HTMLObjectElement.border] 151 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLObjectElement.codeBase]152 151 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLObjectElement.codeType] 153 152 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLObjectElement.height] -
trunk/LayoutTests/fast/dom/element-attribute-js-null.html
r203530 r205690 385 385 {name: 'archive', expectedNull: 'null'}, 386 386 {name: 'border', expectedNull: ''}, 387 {name: 'codeBase', expectedNull: 'null'},388 387 {name: 'codeType', expectedNull: 'null'}, 389 388 {name: 'height', expectedNull: 'null'}, -
trunk/LayoutTests/imported/w3c/ChangeLog
r205689 r205690 1 2016-09-08 Chris Dumez <cdumez@apple.com> 2 3 HTMLObjectElement.codebase attribute should reflect as a URL 4 https://bugs.webkit.org/show_bug.cgi?id=161768 5 6 Reviewed by Alex Christensen. 7 8 Rebaseline existing test now that more checks are passing. 9 10 * web-platform-tests/html/dom/reflection-embedded-expected.txt: 11 1 12 2016-09-08 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt
r205686 r205690 6354 6354 PASS object.codeBase: IDL get with DOM attribute unset 6355 6355 PASS object.codeBase: setAttribute() to "" followed by getAttribute() 6356 FAIL object.codeBase: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "" 6356 PASS object.codeBase: setAttribute() to "" followed by IDL get 6357 6357 PASS object.codeBase: setAttribute() to " foo " followed by getAttribute() 6358 FAIL object.codeBase: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo " 6358 PASS object.codeBase: setAttribute() to " foo " followed by IDL get 6359 6359 PASS object.codeBase: setAttribute() to "http://site.example/" followed by getAttribute() 6360 6360 PASS object.codeBase: setAttribute() to "http://site.example/" followed by IDL get 6361 6361 PASS object.codeBase: setAttribute() to "//site.example/path???@#l" followed by getAttribute() 6362 FAIL object.codeBase: setAttribute() to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l" 6362 PASS object.codeBase: setAttribute() to "//site.example/path???@#l" followed by IDL get 6363 6363 PASS object.codeBase: 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() 6364 FAIL object.codeBase: 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 " 6364 PASS object.codeBase: 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 6365 6365 PASS object.codeBase: setAttribute() to undefined followed by getAttribute() 6366 FAIL object.codeBase: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined" 6366 PASS object.codeBase: setAttribute() to undefined followed by IDL get 6367 6367 PASS object.codeBase: setAttribute() to 7 followed by getAttribute() 6368 FAIL object.codeBase: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7" 6368 PASS object.codeBase: setAttribute() to 7 followed by IDL get 6369 6369 PASS object.codeBase: setAttribute() to 1.5 followed by getAttribute() 6370 FAIL object.codeBase: setAttribute() to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5" 6370 PASS object.codeBase: setAttribute() to 1.5 followed by IDL get 6371 6371 PASS object.codeBase: setAttribute() to true followed by getAttribute() 6372 FAIL object.codeBase: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true" 6372 PASS object.codeBase: setAttribute() to true followed by IDL get 6373 6373 PASS object.codeBase: setAttribute() to false followed by getAttribute() 6374 FAIL object.codeBase: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false" 6374 PASS object.codeBase: setAttribute() to false followed by IDL get 6375 6375 PASS object.codeBase: setAttribute() to object "[object Object]" followed by getAttribute() 6376 FAIL object.codeBase: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]" 6376 PASS object.codeBase: setAttribute() to object "[object Object]" followed by IDL get 6377 6377 PASS object.codeBase: setAttribute() to NaN followed by getAttribute() 6378 FAIL object.codeBase: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN" 6378 PASS object.codeBase: setAttribute() to NaN followed by IDL get 6379 6379 PASS object.codeBase: setAttribute() to Infinity followed by getAttribute() 6380 FAIL object.codeBase: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity" 6380 PASS object.codeBase: setAttribute() to Infinity followed by IDL get 6381 6381 PASS object.codeBase: setAttribute() to -Infinity followed by getAttribute() 6382 FAIL object.codeBase: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity" 6382 PASS object.codeBase: setAttribute() to -Infinity followed by IDL get 6383 6383 PASS object.codeBase: setAttribute() to "\0" followed by getAttribute() 6384 FAIL object.codeBase: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0" 6384 PASS object.codeBase: setAttribute() to "\0" followed by IDL get 6385 6385 PASS object.codeBase: setAttribute() to null followed by getAttribute() 6386 FAIL object.codeBase: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null" 6386 PASS object.codeBase: setAttribute() to null followed by IDL get 6387 6387 PASS object.codeBase: setAttribute() to object "test-toString" followed by getAttribute() 6388 FAIL object.codeBase: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString" 6388 PASS object.codeBase: setAttribute() to object "test-toString" followed by IDL get 6389 6389 PASS object.codeBase: setAttribute() to object "test-valueOf" followed by getAttribute() 6390 FAIL object.codeBase: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf" 6390 PASS object.codeBase: setAttribute() to object "test-valueOf" followed by IDL get 6391 6391 PASS object.codeBase: IDL set to "" should not throw 6392 6392 PASS object.codeBase: IDL set to "" followed by getAttribute() 6393 FAIL object.codeBase: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "" 6393 PASS object.codeBase: IDL set to "" followed by IDL get 6394 6394 PASS object.codeBase: IDL set to " foo " should not throw 6395 6395 PASS object.codeBase: IDL set to " foo " followed by getAttribute() 6396 FAIL object.codeBase: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo " 6396 PASS object.codeBase: IDL set to " foo " followed by IDL get 6397 6397 PASS object.codeBase: IDL set to "http://site.example/" should not throw 6398 6398 PASS object.codeBase: IDL set to "http://site.example/" followed by getAttribute() … … 6400 6400 PASS object.codeBase: IDL set to "//site.example/path???@#l" should not throw 6401 6401 PASS object.codeBase: IDL set to "//site.example/path???@#l" followed by getAttribute() 6402 FAIL object.codeBase: 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" 6402 PASS object.codeBase: IDL set to "//site.example/path???@#l" followed by IDL get 6403 6403 PASS object.codeBase: 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 6404 6404 PASS object.codeBase: 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() 6405 FAIL object.codeBase: 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 " 6405 PASS object.codeBase: 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 6406 6406 PASS object.codeBase: IDL set to undefined should not throw 6407 6407 PASS object.codeBase: IDL set to undefined followed by getAttribute() 6408 FAIL object.codeBase: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined" 6408 PASS object.codeBase: IDL set to undefined followed by IDL get 6409 6409 PASS object.codeBase: IDL set to 7 should not throw 6410 6410 PASS object.codeBase: IDL set to 7 followed by getAttribute() 6411 FAIL object.codeBase: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7" 6411 PASS object.codeBase: IDL set to 7 followed by IDL get 6412 6412 PASS object.codeBase: IDL set to 1.5 should not throw 6413 6413 PASS object.codeBase: IDL set to 1.5 followed by getAttribute() 6414 FAIL object.codeBase: IDL set to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5" 6414 PASS object.codeBase: IDL set to 1.5 followed by IDL get 6415 6415 PASS object.codeBase: IDL set to true should not throw 6416 6416 PASS object.codeBase: IDL set to true followed by getAttribute() 6417 FAIL object.codeBase: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true" 6417 PASS object.codeBase: IDL set to true followed by IDL get 6418 6418 PASS object.codeBase: IDL set to false should not throw 6419 6419 PASS object.codeBase: IDL set to false followed by getAttribute() 6420 FAIL object.codeBase: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false" 6420 PASS object.codeBase: IDL set to false followed by IDL get 6421 6421 PASS object.codeBase: IDL set to object "[object Object]" should not throw 6422 6422 PASS object.codeBase: IDL set to object "[object Object]" followed by getAttribute() 6423 FAIL object.codeBase: IDL set to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]" 6423 PASS object.codeBase: IDL set to object "[object Object]" followed by IDL get 6424 6424 PASS object.codeBase: IDL set to NaN should not throw 6425 6425 PASS object.codeBase: IDL set to NaN followed by getAttribute() 6426 FAIL object.codeBase: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN" 6426 PASS object.codeBase: IDL set to NaN followed by IDL get 6427 6427 PASS object.codeBase: IDL set to Infinity should not throw 6428 6428 PASS object.codeBase: IDL set to Infinity followed by getAttribute() 6429 FAIL object.codeBase: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity" 6429 PASS object.codeBase: IDL set to Infinity followed by IDL get 6430 6430 PASS object.codeBase: IDL set to -Infinity should not throw 6431 6431 PASS object.codeBase: IDL set to -Infinity followed by getAttribute() 6432 FAIL object.codeBase: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity" 6432 PASS object.codeBase: IDL set to -Infinity followed by IDL get 6433 6433 PASS object.codeBase: IDL set to "\0" should not throw 6434 6434 PASS object.codeBase: IDL set to "\0" followed by getAttribute() 6435 FAIL object.codeBase: IDL set to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0" 6435 PASS object.codeBase: IDL set to "\0" followed by IDL get 6436 6436 PASS object.codeBase: IDL set to null should not throw 6437 6437 PASS object.codeBase: IDL set to null followed by getAttribute() 6438 FAIL object.codeBase: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null" 6438 PASS object.codeBase: IDL set to null followed by IDL get 6439 6439 PASS object.codeBase: IDL set to object "test-toString" should not throw 6440 6440 PASS object.codeBase: IDL set to object "test-toString" followed by getAttribute() 6441 FAIL object.codeBase: IDL set to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString" 6441 PASS object.codeBase: IDL set to object "test-toString" followed by IDL get 6442 6442 PASS object.codeBase: IDL set to object "test-valueOf" should not throw 6443 6443 PASS object.codeBase: IDL set to object "test-valueOf" followed by getAttribute() 6444 FAIL object.codeBase: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf" 6444 PASS object.codeBase: IDL set to object "test-valueOf" followed by IDL get 6445 6445 PASS object.codeType: typeof IDL attribute 6446 6446 PASS object.codeType: IDL get with DOM attribute unset -
trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt
r205686 r205690 6354 6354 PASS object.codeBase: IDL get with DOM attribute unset 6355 6355 PASS object.codeBase: setAttribute() to "" followed by getAttribute() 6356 FAIL object.codeBase: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "" 6356 PASS object.codeBase: setAttribute() to "" followed by IDL get 6357 6357 PASS object.codeBase: setAttribute() to " foo " followed by getAttribute() 6358 FAIL object.codeBase: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo " 6358 PASS object.codeBase: setAttribute() to " foo " followed by IDL get 6359 6359 PASS object.codeBase: setAttribute() to "http://site.example/" followed by getAttribute() 6360 6360 PASS object.codeBase: setAttribute() to "http://site.example/" followed by IDL get 6361 6361 PASS object.codeBase: setAttribute() to "//site.example/path???@#l" followed by getAttribute() 6362 FAIL object.codeBase: setAttribute() to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l" 6362 PASS object.codeBase: setAttribute() to "//site.example/path???@#l" followed by IDL get 6363 6363 PASS object.codeBase: 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() 6364 FAIL object.codeBase: 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 " 6364 PASS object.codeBase: 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 6365 6365 PASS object.codeBase: setAttribute() to undefined followed by getAttribute() 6366 FAIL object.codeBase: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined" 6366 PASS object.codeBase: setAttribute() to undefined followed by IDL get 6367 6367 PASS object.codeBase: setAttribute() to 7 followed by getAttribute() 6368 FAIL object.codeBase: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7" 6368 PASS object.codeBase: setAttribute() to 7 followed by IDL get 6369 6369 PASS object.codeBase: setAttribute() to 1.5 followed by getAttribute() 6370 FAIL object.codeBase: setAttribute() to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5" 6370 PASS object.codeBase: setAttribute() to 1.5 followed by IDL get 6371 6371 PASS object.codeBase: setAttribute() to true followed by getAttribute() 6372 FAIL object.codeBase: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true" 6372 PASS object.codeBase: setAttribute() to true followed by IDL get 6373 6373 PASS object.codeBase: setAttribute() to false followed by getAttribute() 6374 FAIL object.codeBase: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false" 6374 PASS object.codeBase: setAttribute() to false followed by IDL get 6375 6375 PASS object.codeBase: setAttribute() to object "[object Object]" followed by getAttribute() 6376 FAIL object.codeBase: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]" 6376 PASS object.codeBase: setAttribute() to object "[object Object]" followed by IDL get 6377 6377 PASS object.codeBase: setAttribute() to NaN followed by getAttribute() 6378 FAIL object.codeBase: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN" 6378 PASS object.codeBase: setAttribute() to NaN followed by IDL get 6379 6379 PASS object.codeBase: setAttribute() to Infinity followed by getAttribute() 6380 FAIL object.codeBase: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity" 6380 PASS object.codeBase: setAttribute() to Infinity followed by IDL get 6381 6381 PASS object.codeBase: setAttribute() to -Infinity followed by getAttribute() 6382 FAIL object.codeBase: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity" 6382 PASS object.codeBase: setAttribute() to -Infinity followed by IDL get 6383 6383 PASS object.codeBase: setAttribute() to "\0" followed by getAttribute() 6384 FAIL object.codeBase: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0" 6384 PASS object.codeBase: setAttribute() to "\0" followed by IDL get 6385 6385 PASS object.codeBase: setAttribute() to null followed by getAttribute() 6386 FAIL object.codeBase: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null" 6386 PASS object.codeBase: setAttribute() to null followed by IDL get 6387 6387 PASS object.codeBase: setAttribute() to object "test-toString" followed by getAttribute() 6388 FAIL object.codeBase: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString" 6388 PASS object.codeBase: setAttribute() to object "test-toString" followed by IDL get 6389 6389 PASS object.codeBase: setAttribute() to object "test-valueOf" followed by getAttribute() 6390 FAIL object.codeBase: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf" 6390 PASS object.codeBase: setAttribute() to object "test-valueOf" followed by IDL get 6391 6391 PASS object.codeBase: IDL set to "" should not throw 6392 6392 PASS object.codeBase: IDL set to "" followed by getAttribute() 6393 FAIL object.codeBase: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "" 6393 PASS object.codeBase: IDL set to "" followed by IDL get 6394 6394 PASS object.codeBase: IDL set to " foo " should not throw 6395 6395 PASS object.codeBase: IDL set to " foo " followed by getAttribute() 6396 FAIL object.codeBase: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo " 6396 PASS object.codeBase: IDL set to " foo " followed by IDL get 6397 6397 PASS object.codeBase: IDL set to "http://site.example/" should not throw 6398 6398 PASS object.codeBase: IDL set to "http://site.example/" followed by getAttribute() … … 6400 6400 PASS object.codeBase: IDL set to "//site.example/path???@#l" should not throw 6401 6401 PASS object.codeBase: IDL set to "//site.example/path???@#l" followed by getAttribute() 6402 FAIL object.codeBase: 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" 6402 PASS object.codeBase: IDL set to "//site.example/path???@#l" followed by IDL get 6403 6403 PASS object.codeBase: 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 6404 6404 PASS object.codeBase: 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() 6405 FAIL object.codeBase: 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 " 6405 PASS object.codeBase: 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 6406 6406 PASS object.codeBase: IDL set to undefined should not throw 6407 6407 PASS object.codeBase: IDL set to undefined followed by getAttribute() 6408 FAIL object.codeBase: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined" 6408 PASS object.codeBase: IDL set to undefined followed by IDL get 6409 6409 PASS object.codeBase: IDL set to 7 should not throw 6410 6410 PASS object.codeBase: IDL set to 7 followed by getAttribute() 6411 FAIL object.codeBase: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7" 6411 PASS object.codeBase: IDL set to 7 followed by IDL get 6412 6412 PASS object.codeBase: IDL set to 1.5 should not throw 6413 6413 PASS object.codeBase: IDL set to 1.5 followed by getAttribute() 6414 FAIL object.codeBase: IDL set to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5" 6414 PASS object.codeBase: IDL set to 1.5 followed by IDL get 6415 6415 PASS object.codeBase: IDL set to true should not throw 6416 6416 PASS object.codeBase: IDL set to true followed by getAttribute() 6417 FAIL object.codeBase: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true" 6417 PASS object.codeBase: IDL set to true followed by IDL get 6418 6418 PASS object.codeBase: IDL set to false should not throw 6419 6419 PASS object.codeBase: IDL set to false followed by getAttribute() 6420 FAIL object.codeBase: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false" 6420 PASS object.codeBase: IDL set to false followed by IDL get 6421 6421 PASS object.codeBase: IDL set to object "[object Object]" should not throw 6422 6422 PASS object.codeBase: IDL set to object "[object Object]" followed by getAttribute() 6423 FAIL object.codeBase: IDL set to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]" 6423 PASS object.codeBase: IDL set to object "[object Object]" followed by IDL get 6424 6424 PASS object.codeBase: IDL set to NaN should not throw 6425 6425 PASS object.codeBase: IDL set to NaN followed by getAttribute() 6426 FAIL object.codeBase: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN" 6426 PASS object.codeBase: IDL set to NaN followed by IDL get 6427 6427 PASS object.codeBase: IDL set to Infinity should not throw 6428 6428 PASS object.codeBase: IDL set to Infinity followed by getAttribute() 6429 FAIL object.codeBase: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity" 6429 PASS object.codeBase: IDL set to Infinity followed by IDL get 6430 6430 PASS object.codeBase: IDL set to -Infinity should not throw 6431 6431 PASS object.codeBase: IDL set to -Infinity followed by getAttribute() 6432 FAIL object.codeBase: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity" 6432 PASS object.codeBase: IDL set to -Infinity followed by IDL get 6433 6433 PASS object.codeBase: IDL set to "\0" should not throw 6434 6434 PASS object.codeBase: IDL set to "\0" followed by getAttribute() 6435 FAIL object.codeBase: IDL set to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-embedded.html" but got "\0" 6435 PASS object.codeBase: IDL set to "\0" followed by IDL get 6436 6436 PASS object.codeBase: IDL set to null should not throw 6437 6437 PASS object.codeBase: IDL set to null followed by getAttribute() 6438 FAIL object.codeBase: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null" 6438 PASS object.codeBase: IDL set to null followed by IDL get 6439 6439 PASS object.codeBase: IDL set to object "test-toString" should not throw 6440 6440 PASS object.codeBase: IDL set to object "test-toString" followed by getAttribute() 6441 FAIL object.codeBase: IDL set to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString" 6441 PASS object.codeBase: IDL set to object "test-toString" followed by IDL get 6442 6442 PASS object.codeBase: IDL set to object "test-valueOf" should not throw 6443 6443 PASS object.codeBase: IDL set to object "test-valueOf" followed by getAttribute() 6444 FAIL object.codeBase: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf" 6444 PASS object.codeBase: IDL set to object "test-valueOf" followed by IDL get 6445 6445 PASS object.codeType: typeof IDL attribute 6446 6446 PASS object.codeType: IDL get with DOM attribute unset -
trunk/Source/WebCore/ChangeLog
r205689 r205690 1 2016-09-08 Chris Dumez <cdumez@apple.com> 2 3 HTMLObjectElement.codebase attribute should reflect as a URL 4 https://bugs.webkit.org/show_bug.cgi?id=161768 5 6 Reviewed by Alex Christensen. 7 8 HTMLObjectElement.codebase attribute should reflect as a URL: 9 - https://html.spec.whatwg.org/#dom-applet-codebase 10 11 Chrome and Firefox agree with the specification. 12 13 No new test, rebaselined existing test. 14 15 * html/HTMLObjectElement.idl: 16 1 17 2016-09-08 Chris Dumez <cdumez@apple.com> 2 18 -
trunk/Source/WebCore/html/HTMLObjectElement.cpp
r204320 r205690 363 363 bool HTMLObjectElement::isURLAttribute(const Attribute& attribute) const 364 364 { 365 return attribute.name() == dataAttr || (attribute.name() == usemapAttr && attribute.value().string()[0] != '#') || HTMLPlugInImageElement::isURLAttribute(attribute);365 return attribute.name() == dataAttr || attribute.name() == codebaseAttr || (attribute.name() == usemapAttr && attribute.value().string()[0] != '#') || HTMLPlugInImageElement::isURLAttribute(attribute); 366 366 } 367 367 -
trunk/Source/WebCore/html/HTMLObjectElement.idl
r204259 r205690 29 29 [Reflect] attribute DOMString archive; 30 30 [Reflect, TreatNullAs=EmptyString] attribute DOMString border; 31 [Reflect ] attribute DOMString codeBase;31 [Reflect, URL] attribute USVString codeBase; 32 32 [Reflect] attribute DOMString codeType; 33 33 [Reflect, URL] attribute USVString data;
Note: See TracChangeset
for help on using the changeset viewer.