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

Side by Side Diff: LayoutTests/fast/dom/HTMLButtonElement/change-type-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 Tests for bug 14439. Button type should be set using el.type. 1 Tests for bug 14439. Button type should be set using el.type.
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 PASS successfullyParsed is true 6 PASS successfullyParsed is true
7 7
8 TEST COMPLETE 8 TEST COMPLETE
9 PASS btn.type = 'submit'; btn.type is 'submit' 9 PASS btn.type = 'submit'; btn.type is 'submit'
10 PASS btn.getAttribute('type') is 'submit' 10 PASS btn.getAttribute('type') is 'submit'
(...skipping 15 matching lines...) Expand all
26 PASS btn.getAttribute('type') is '' 26 PASS btn.getAttribute('type') is ''
27 PASS btn.type = '/'; btn.type is 'submit' 27 PASS btn.type = '/'; btn.type is 'submit'
28 PASS btn.getAttribute('type') is '/' 28 PASS btn.getAttribute('type') is '/'
29 PASS btn.type = ' '; btn.type is 'submit' 29 PASS btn.type = ' '; btn.type is 'submit'
30 PASS btn.getAttribute('type') is ' ' 30 PASS btn.getAttribute('type') is ' '
31 PASS btn.type = 'button '; btn.type is 'submit' 31 PASS btn.type = 'button '; btn.type is 'submit'
32 PASS btn.getAttribute('type') is 'button ' 32 PASS btn.getAttribute('type') is 'button '
33 PASS btn.type = ' b u t t o n '; btn.type is 'submit' 33 PASS btn.type = ' b u t t o n '; btn.type is 'submit'
34 PASS btn.getAttribute('type') is ' b u t t o n ' 34 PASS btn.getAttribute('type') is ' b u t t o n '
35 PASS btn.type = null; btn.type is 'submit' 35 PASS btn.type = null; btn.type is 'submit'
36 PASS btn.getAttribute('type') is null 36 PASS btn.getAttribute('type') is 'null'
37 PASS btn.type = undefined; btn.type is 'submit' 37 PASS btn.type = undefined; btn.type is 'submit'
38 PASS btn.getAttribute('type') is 'undefined' 38 PASS btn.getAttribute('type') is 'undefined'
39 PASS btn.type = 'reset'; txt.value = 'hello'; btn.click(); txt.value is '' 39 PASS btn.type = 'reset'; txt.value = 'hello'; btn.click(); txt.value is ''
40 PASS didSubmit is false 40 PASS didSubmit is false
41 PASS btn.type = 'button'; txt.value = 'hello'; btn.click(); txt.value is 'hello' 41 PASS btn.type = 'button'; txt.value = 'hello'; btn.click(); txt.value is 'hello'
42 PASS btn.type = 'submit'; btn.click(); didSubmit is true 42 PASS btn.type = 'submit'; btn.click(); didSubmit is true
43 PASS successfullyParsed is true 43 PASS successfullyParsed is true
44 44
45 TEST COMPLETE 45 TEST COMPLETE
46 46
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/HTMLButtonElement/change-type.html ('k') | LayoutTests/fast/dom/domstring-attribute-reflection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698