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

Side by Side Diff: LayoutTests/fast/dom/domstring-attribute-reflection-expected.txt

Issue 98383004: Remove TreatNullAs=NullString for HTMLInputElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 Reflected DOMString attribute test for button/@name 1 Reflected DOMString attribute test for button/@name
2 Initial value: 2 Initial value:
3 PASS element.name is "" 3 PASS element.name is ""
4 PASS element.getAttribute("name") is null 4 PASS element.getAttribute("name") is null
5 Setting a value via the IDL attribute: 5 Setting a value via the IDL attribute:
6 PASS element.name = "foo"; element.name is "foo" 6 PASS element.name = "foo"; element.name is "foo"
7 PASS element.getAttribute("name") is "foo" 7 PASS element.getAttribute("name") is "foo"
8 Setting a value via the content attribute: 8 Setting a value via the content attribute:
9 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n" 9 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
10 PASS element.getAttribute("name") is " bar\n" 10 PASS element.getAttribute("name") is " bar\n"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 Initial value: 92 Initial value:
93 PASS element.name is "" 93 PASS element.name is ""
94 PASS element.getAttribute("name") is null 94 PASS element.getAttribute("name") is null
95 Setting a value via the IDL attribute: 95 Setting a value via the IDL attribute:
96 PASS element.name = "foo"; element.name is "foo" 96 PASS element.name = "foo"; element.name is "foo"
97 PASS element.getAttribute("name") is "foo" 97 PASS element.getAttribute("name") is "foo"
98 Setting a value via the content attribute: 98 Setting a value via the content attribute:
99 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n" 99 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
100 PASS element.getAttribute("name") is " bar\n" 100 PASS element.getAttribute("name") is " bar\n"
101 Setting null via the IDL attribute: 101 Setting null via the IDL attribute:
102 PASS element.name = null; element.name is "" 102 PASS element.name = null; element.name is "null"
103 PASS element.getAttribute("name") is null 103 PASS element.getAttribute("name") is "null"
104 Setting null via the content attribute: 104 Setting null via the content attribute:
105 PASS element.setAttribute("name", null); element.name is "null" 105 PASS element.setAttribute("name", null); element.name is "null"
106 PASS element.getAttribute("name") is "null" 106 PASS element.getAttribute("name") is "null"
107 Setting undefined via the IDL attribute: 107 Setting undefined via the IDL attribute:
108 PASS element.name = undefined; element.name is "undefined" 108 PASS element.name = undefined; element.name is "undefined"
109 PASS element.getAttribute("name") is "undefined" 109 PASS element.getAttribute("name") is "undefined"
110 Setting undefined via the content attribute: 110 Setting undefined via the content attribute:
111 PASS element.setAttribute("name", undefined); element.name is "undefined" 111 PASS element.setAttribute("name", undefined); element.name is "undefined"
112 PASS element.getAttribute("name") is "undefined" 112 PASS element.getAttribute("name") is "undefined"
113 Setting non-string via the IDL attribute: 113 Setting non-string via the IDL attribute:
114 PASS element.name = 123; element.name is "123" 114 PASS element.name = 123; element.name is "123"
115 PASS element.getAttribute("name") is "123" 115 PASS element.getAttribute("name") is "123"
116 Setting non-string via the content attribute: 116 Setting non-string via the content attribute:
117 PASS element.setAttribute("name", 456); element.name is "456" 117 PASS element.setAttribute("name", 456); element.name is "456"
118 PASS element.getAttribute("name") is "456" 118 PASS element.getAttribute("name") is "456"
119 119
120 120
121 Reflected DOMString attribute test for input/@step 121 Reflected DOMString attribute test for input/@step
122 Initial value: 122 Initial value:
123 PASS element.step is "" 123 PASS element.step is ""
124 PASS element.getAttribute("step") is null 124 PASS element.getAttribute("step") is null
125 Setting a value via the IDL attribute: 125 Setting a value via the IDL attribute:
126 PASS element.step = "foo"; element.step is "foo" 126 PASS element.step = "foo"; element.step is "foo"
127 PASS element.getAttribute("step") is "foo" 127 PASS element.getAttribute("step") is "foo"
128 Setting a value via the content attribute: 128 Setting a value via the content attribute:
129 PASS element.setAttribute("step", " bar\n"); element.step is " bar\n" 129 PASS element.setAttribute("step", " bar\n"); element.step is " bar\n"
130 PASS element.getAttribute("step") is " bar\n" 130 PASS element.getAttribute("step") is " bar\n"
131 Setting null via the IDL attribute: 131 Setting null via the IDL attribute:
132 PASS element.step = null; element.step is "" 132 PASS element.step = null; element.step is "null"
133 PASS element.getAttribute("step") is null 133 PASS element.getAttribute("step") is "null"
134 Setting null via the content attribute: 134 Setting null via the content attribute:
135 PASS element.setAttribute("step", null); element.step is "null" 135 PASS element.setAttribute("step", null); element.step is "null"
136 PASS element.getAttribute("step") is "null" 136 PASS element.getAttribute("step") is "null"
137 Setting undefined via the IDL attribute: 137 Setting undefined via the IDL attribute:
138 PASS element.step = undefined; element.step is "undefined" 138 PASS element.step = undefined; element.step is "undefined"
139 PASS element.getAttribute("step") is "undefined" 139 PASS element.getAttribute("step") is "undefined"
140 Setting undefined via the content attribute: 140 Setting undefined via the content attribute:
141 PASS element.setAttribute("step", undefined); element.step is "undefined" 141 PASS element.setAttribute("step", undefined); element.step is "undefined"
142 PASS element.getAttribute("step") is "undefined" 142 PASS element.getAttribute("step") is "undefined"
143 Setting non-string via the IDL attribute: 143 Setting non-string via the IDL attribute:
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 PASS element.getAttribute("name") is "123" 295 PASS element.getAttribute("name") is "123"
296 Setting non-string via the content attribute: 296 Setting non-string via the content attribute:
297 PASS element.setAttribute("name", 456); element.name is "456" 297 PASS element.setAttribute("name", 456); element.name is "456"
298 PASS element.getAttribute("name") is "456" 298 PASS element.getAttribute("name") is "456"
299 299
300 300
301 PASS successfullyParsed is true 301 PASS successfullyParsed is true
302 302
303 TEST COMPLETE 303 TEST COMPLETE
304 304
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/domstring-attribute-reflection.html ('k') | LayoutTests/fast/dom/element-attribute-js-null.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698