Changeset 203528 in webkit
- Timestamp:
- Jul 21, 2016, 2:23:28 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/dom/element-attribute-js-null-expected.txt (modified) (1 diff)
-
LayoutTests/fast/dom/element-attribute-js-null.html (modified) (1 diff)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt (modified) (1 diff)
-
LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/html/HTMLObjectElement.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r203527 r203528 1 2016-07-21 Chris Dumez <cdumez@apple.com> 2 3 Fix null handling for HTMLObjectElement.border 4 https://bugs.webkit.org/show_bug.cgi?id=160040 5 6 Reviewed by Ryosuke Niwa. 7 8 Update existing test to reflect the behavior change. 9 10 * fast/dom/element-attribute-js-null-expected.txt: 11 * fast/dom/element-attribute-js-null.html: 12 1 13 2016-07-21 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/LayoutTests/fast/dom/element-attribute-js-null-expected.txt
r203527 r203528 148 148 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLObjectElement.align] 149 149 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLObjectElement.archive] 150 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLObjectElement.border]150 TEST SUCCEEDED: The value was the empty string. [tested HTMLObjectElement.border] 151 151 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLObjectElement.codeBase] 152 152 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLObjectElement.codeType] -
trunk/LayoutTests/fast/dom/element-attribute-js-null.html
r203527 r203528 384 384 {name: 'align', expectedNull: 'null'}, 385 385 {name: 'archive', expectedNull: 'null'}, 386 {name: 'border', expectedNull: ' null'},386 {name: 'border', expectedNull: ''}, 387 387 {name: 'codeBase', expectedNull: 'null'}, 388 388 {name: 'codeType', expectedNull: 'null'}, -
trunk/LayoutTests/imported/w3c/ChangeLog
r203527 r203528 1 2016-07-21 Chris Dumez <cdumez@apple.com> 2 3 Fix null handling for HTMLObjectElement.border 4 https://bugs.webkit.org/show_bug.cgi?id=160040 5 6 Reviewed by Ryosuke Niwa. 7 8 Rebaseline W3C test now that more checks are passing. 9 10 * web-platform-tests/html/dom/reflection-embedded-expected.txt: 11 1 12 2016-07-21 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt
r203524 r203528 6591 6591 PASS object.border: IDL set to "\0" followed by IDL get 6592 6592 PASS object.border: IDL set to null should not throw 6593 FAIL object.border: IDL set to null followed by getAttribute() assert_equals: expected "" but got "null" 6594 FAIL object.border: IDL set to null followed by IDL get assert_equals: expected "" but got "null" 6593 PASS object.border: IDL set to null followed by getAttribute() 6594 PASS object.border: IDL set to null followed by IDL get 6595 6595 PASS object.border: IDL set to object "test-toString" should not throw 6596 6596 PASS object.border: IDL set to object "test-toString" followed by getAttribute() -
trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt
r203524 r203528 6591 6591 PASS object.border: IDL set to "\0" followed by IDL get 6592 6592 PASS object.border: IDL set to null should not throw 6593 FAIL object.border: IDL set to null followed by getAttribute() assert_equals: expected "" but got "null" 6594 FAIL object.border: IDL set to null followed by IDL get assert_equals: expected "" but got "null" 6593 PASS object.border: IDL set to null followed by getAttribute() 6594 PASS object.border: IDL set to null followed by IDL get 6595 6595 PASS object.border: IDL set to object "test-toString" should not throw 6596 6596 PASS object.border: IDL set to object "test-toString" followed by getAttribute() -
trunk/Source/WebCore/ChangeLog
r203527 r203528 1 2016-07-21 Chris Dumez <cdumez@apple.com> 2 3 Fix null handling for HTMLObjectElement.border 4 https://bugs.webkit.org/show_bug.cgi?id=160040 5 6 Reviewed by Ryosuke Niwa. 7 8 Fix null handling for HTMLObjectElement.border to match the specification: 9 - https://html.spec.whatwg.org/#HTMLObjectElement-partial 10 11 We are supposed to treat null as the empty string. 12 13 Both Firefox and Chrome agree with the specification. 14 15 No new tests, rebaselined existing tests. 16 17 * html/HTMLObjectElement.idl: 18 1 19 2016-07-21 Chris Dumez <cdumez@apple.com> 2 20 -
trunk/Source/WebCore/html/HTMLObjectElement.idl
r197156 r203528 28 28 [Reflect] attribute DOMString align; 29 29 [Reflect] attribute DOMString archive; 30 [Reflect ] attribute DOMString border;30 [Reflect, TreatNullAs=EmptyString] attribute DOMString border; 31 31 [Reflect] attribute DOMString codeBase; 32 32 [Reflect] attribute DOMString codeType;
Note:
See TracChangeset
for help on using the changeset viewer.