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

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

Issue 59903003: Remove TreatNullAs=NullString for HTMLButtonElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@nullb
Patch Set: update tests Created 7 years, 1 month 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 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"
11 Setting null via the IDL attribute: 11 Setting null via the IDL attribute:
12 PASS element.name = null; element.name is "" 12 PASS element.name = null; element.name is "null"
13 PASS element.getAttribute("name") is null 13 PASS element.getAttribute("name") is "null"
14 Setting null via the content attribute: 14 Setting null via the content attribute:
15 PASS element.setAttribute("name", null); element.name is "null" 15 PASS element.setAttribute("name", null); element.name is "null"
16 PASS element.getAttribute("name") is "null" 16 PASS element.getAttribute("name") is "null"
17 Setting undefined via the IDL attribute: 17 Setting undefined via the IDL attribute:
18 PASS element.name = undefined; element.name is "undefined" 18 PASS element.name = undefined; element.name is "undefined"
19 PASS element.getAttribute("name") is "undefined" 19 PASS element.getAttribute("name") is "undefined"
20 Setting undefined via the content attribute: 20 Setting undefined via the content attribute:
21 PASS element.setAttribute("name", undefined); element.name is "undefined" 21 PASS element.setAttribute("name", undefined); element.name is "undefined"
22 PASS element.getAttribute("name") is "undefined" 22 PASS element.getAttribute("name") is "undefined"
23 Setting non-string via the IDL attribute: 23 Setting non-string via the IDL attribute:
(...skipping 271 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