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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/dom-token-list-expected.txt

Issue 2895903002: DOMTokenList: Update serialization algorithm on add()/remove() (Closed)
Patch Set: Apply review comments Created 3 years, 7 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 Tests the htmlFor attribute and its properties. 1 Tests the htmlFor attribute and its properties.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 - Tests from http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/ 6 - Tests from http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/
7 PASS element.htmlFor.value is "x" 7 PASS element.htmlFor.value is "x"
8 PASS String(element.htmlFor) is "x" 8 PASS String(element.htmlFor) is "x"
9 PASS element.htmlFor.value is "y" 9 PASS element.htmlFor.value is "y"
10 PASS String(element.htmlFor) is "y" 10 PASS String(element.htmlFor) is "y"
11 PASS element.htmlFor.length is 0 11 PASS element.htmlFor.length is 0
12 PASS element.htmlFor.length is 1 12 PASS element.htmlFor.length is 1
13 PASS element.htmlFor.length is 2 13 PASS element.htmlFor.length is 2
14 PASS element.htmlFor.length is 2 14 PASS element.htmlFor.length is 2
15 PASS element.htmlFor.toString() is "x" 15 PASS element.htmlFor.toString() is "x"
16 PASS element.htmlFor.toString() is "x" 16 PASS element.htmlFor.toString() is "x"
17 PASS element.htmlFor.toString() is "x x" 17 PASS element.htmlFor.toString() is "x x"
18 PASS element.htmlFor.toString() is "y x" 18 PASS element.htmlFor.toString() is "y x"
19 PASS element.htmlFor.toString() is "" 19 PASS element.htmlFor.toString() is ""
20 PASS element.htmlFor.toString() is "" 20 PASS element.htmlFor.toString() is ""
21 PASS element.htmlFor.toString() is "y y" 21 PASS element.htmlFor.toString() is "y y"
22 PASS element.htmlFor.toString() is "y" 22 PASS element.htmlFor.toString() is "y"
23 - Ensure that we can handle empty form attribute correctly 23 - Ensure that we can handle empty form attribute correctly
24 PASS list.value is "x" 24 PASS list.value is "x"
25 PASS list.value is "" 25 PASS list.value is ""
26 PASS element.htmlFor.contains('x') is false 26 PASS element.htmlFor.contains('x') is false
27 PASS element.htmlFor[1] is undefined. 27 PASS element.htmlFor[1] is undefined.
28 PASS element.htmlFor.contains('x') is true 28 PASS element.htmlFor.contains('x') is true
29 PASS element.htmlFor[1] is undefined. 29 PASS element.htmlFor[1] is undefined.
30 - Testing add in presence of trailing white spaces. 30 - Testing add in presence of trailing white spaces.
31 PASS element.htmlFor.toString() is "x y" 31 PASS element.htmlFor.toString() is "x y"
32 PASS element.htmlFor.toString() is "x\ty" 32 PASS element.htmlFor.toString() is "x y"
33 PASS element.htmlFor.toString() is " y" 33 PASS element.htmlFor.toString() is "y"
34 - Test invalid tokens 34 - Test invalid tokens
35 PASS element.htmlFor.contains("") did not throw exception. 35 PASS element.htmlFor.contains("") did not throw exception.
36 PASS element.htmlFor.contains("x y") did not throw exception. 36 PASS element.htmlFor.contains("x y") did not throw exception.
37 PASS element.htmlFor.add('') threw expected DOMException with code 12 37 PASS element.htmlFor.add('') threw expected DOMException with code 12
38 PASS element.htmlFor.add('x y') threw expected DOMException with code 5 38 PASS element.htmlFor.add('x y') threw expected DOMException with code 5
39 PASS element.htmlFor.remove('') threw expected DOMException with code 12 39 PASS element.htmlFor.remove('') threw expected DOMException with code 12
40 PASS element.htmlFor.remove('x y') threw expected DOMException with code 5 40 PASS element.htmlFor.remove('x y') threw expected DOMException with code 5
41 PASS element.htmlFor.toggle('') threw expected DOMException with code 12 41 PASS element.htmlFor.toggle('') threw expected DOMException with code 12
42 PASS element.htmlFor.toggle('x y') threw expected DOMException with code 5 42 PASS element.htmlFor.toggle('x y') threw expected DOMException with code 5
43 - Indexing 43 - Indexing
(...skipping 25 matching lines...) Expand all
69 - DOMTokenList presence and type 69 - DOMTokenList presence and type
70 PASS 'undefined' != typeof DOMTokenList is true 70 PASS 'undefined' != typeof DOMTokenList is true
71 PASS typeof DOMTokenList.prototype is "object" 71 PASS typeof DOMTokenList.prototype is "object"
72 PASS typeof element.htmlFor is "object" 72 PASS typeof element.htmlFor is "object"
73 PASS element.htmlFor.constructor is DOMTokenList 73 PASS element.htmlFor.constructor is DOMTokenList
74 PASS element.htmlFor === element.htmlFor is true 74 PASS element.htmlFor === element.htmlFor is true
75 PASS successfullyParsed is true 75 PASS successfullyParsed is true
76 76
77 TEST COMPLETE 77 TEST COMPLETE
78 78
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698