Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/attributes-expected.txt

Issue 1730323002: Make nullable DOMString always treat undefined as null (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase test results Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 FAIL AttrExodus assert_false: should not be a Node expected false got true 2 FAIL AttrExodus assert_false: should not be a Node expected false got true
3 PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER _ERR exception is to be thrown. (setAttribute) 3 PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER _ERR exception is to be thrown. (setAttribute)
4 PASS setAttribute should lowercase its name argument (upper case attribute) 4 PASS setAttribute should lowercase its name argument (upper case attribute)
5 PASS setAttribute should lowercase its name argument (mixed case attribute) 5 PASS setAttribute should lowercase its name argument (mixed case attribute)
6 PASS setAttribute should not throw even when qualifiedName starts with 'xmlns' 6 PASS setAttribute should not throw even when qualifiedName starts with 'xmlns'
7 PASS Basic functionality should be intact. 7 PASS Basic functionality should be intact.
8 PASS setAttribute should not change the order of previously set attributes. 8 PASS setAttribute should not change the order of previously set attributes.
9 PASS setAttribute should set the first attribute with the given name 9 PASS setAttribute should set the first attribute with the given name
10 PASS setAttribute should set the attribute with the given qualified name 10 PASS setAttribute should set the attribute with the given qualified name
(...skipping 15 matching lines...) Expand all
26 PASS Attribute values should not be parsed. 26 PASS Attribute values should not be parsed.
27 PASS Specified attributes should be accessible. 27 PASS Specified attributes should be accessible.
28 PASS Entities in attributes should have been expanded while parsing. 28 PASS Entities in attributes should have been expanded while parsing.
29 PASS Unset attributes return null 29 PASS Unset attributes return null
30 PASS First set attribute is returned by getAttribute 30 PASS First set attribute is returned by getAttribute
31 PASS Style attributes are not normalized 31 PASS Style attributes are not normalized
32 FAIL Only lowercase attributes are returned on HTML elements (upper case attribu te) assert_equals: expected (object) null but got (string) "left" 32 FAIL Only lowercase attributes are returned on HTML elements (upper case attribu te) assert_equals: expected (object) null but got (string) "left"
33 FAIL Only lowercase attributes are returned on HTML elements (mixed case attribu te) assert_equals: expected (object) null but got (string) "tasty" 33 FAIL Only lowercase attributes are returned on HTML elements (mixed case attribu te) assert_equals: expected (object) null but got (string) "tasty"
34 PASS First set attribute is returned with mapped attribute set first 34 PASS First set attribute is returned with mapped attribute set first
35 PASS First set attribute is returned with mapped attribute set later 35 PASS First set attribute is returned with mapped attribute set later
36 FAIL Non-HTML element with upper-case attribute assert_equals: el.hasAttributeNS (undefined) expected true but got false 36 PASS Non-HTML element with upper-case attribute
37 PASS Attribute with prefix in local name 37 PASS Attribute with prefix in local name
38 PASS Attribute loses its owner when removed 38 PASS Attribute loses its owner when removed
39 PASS Basic functionality of getAttributeNode/getAttributeNodeNS 39 PASS Basic functionality of getAttributeNode/getAttributeNodeNS
40 PASS Basic functionality of setAttributeNode 40 PASS Basic functionality of setAttributeNode
41 PASS Basic functionality of setAttributeNodeNS 41 PASS Basic functionality of setAttributeNodeNS
42 PASS If attr’s element is neither null nor element, throw an InUseAttributeError . 42 PASS If attr’s element is neither null nor element, throw an InUseAttributeError .
43 PASS Replacing an attr by itself 43 PASS Replacing an attr by itself
44 PASS Basic functionality of removeAttributeNode 44 PASS Basic functionality of removeAttributeNode
45 PASS setAttributeNode on bound attribute should throw InUseAttributeError 45 PASS setAttributeNode on bound attribute should throw InUseAttributeError
46 PASS setAttributeNode, if it fires mutation events, should fire one with the new node when resetting an existing attribute 46 PASS setAttributeNode, if it fires mutation events, should fire one with the new node when resetting an existing attribute
47 PASS setAttributeNode, if it fires mutation events, should fire one with the new node when resetting an existing attribute (outer shell) 47 PASS setAttributeNode, if it fires mutation events, should fire one with the new node when resetting an existing attribute (outer shell)
48 PASS setAttributeNode called with an Attr that has the same name as an existing one should not change attribute order 48 PASS setAttributeNode called with an Attr that has the same name as an existing one should not change attribute order
49 FAIL getAttributeNames tests el.getAttributeNames is not a function 49 FAIL getAttributeNames tests el.getAttributeNames is not a function
50 FAIL Own property correctness with basic attributes assert_array_equals: lengths differ, expected 2 got 0 50 FAIL Own property correctness with basic attributes assert_array_equals: lengths differ, expected 2 got 0
51 FAIL Own property correctness with non-namespaced attribute before same-name nam espaced one assert_array_equals: lengths differ, expected 3 got 0 51 FAIL Own property correctness with non-namespaced attribute before same-name nam espaced one assert_array_equals: lengths differ, expected 3 got 0
52 FAIL Own property correctness with namespaced attribute before same-name non-nam espaced one assert_array_equals: lengths differ, expected 3 got 0 52 FAIL Own property correctness with namespaced attribute before same-name non-nam espaced one assert_array_equals: lengths differ, expected 3 got 0
53 FAIL Own property correctness with two namespaced attributes with the same name- with-prefix assert_array_equals: lengths differ, expected 3 got 0 53 FAIL Own property correctness with two namespaced attributes with the same name- with-prefix assert_array_equals: lengths differ, expected 3 got 0
54 FAIL Own property names should only include all-lowercase qualified names for an HTML element in an HTML document assert_array_equals: lengths differ, expected 8 got 6 54 FAIL Own property names should only include all-lowercase qualified names for an HTML element in an HTML document assert_array_equals: lengths differ, expected 8 got 6
55 FAIL Own property names should include all qualified names for a non-HTML elemen t in an HTML document assert_array_equals: lengths differ, expected 12 got 6 55 FAIL Own property names should include all qualified names for a non-HTML elemen t in an HTML document assert_array_equals: lengths differ, expected 12 got 6
56 FAIL Own property names should include all qualified names for an HTML element i n a non-HTML document assert_array_equals: lengths differ, expected 12 got 6 56 FAIL Own property names should include all qualified names for an HTML element i n a non-HTML document assert_array_equals: lengths differ, expected 12 got 6
57 Harness: the test ran to completion. 57 Harness: the test ran to completion.
58 58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698