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

Side by Side Diff: LayoutTests/fast/dom/HTMLButtonElement/change-type-expected.txt

Issue 54473004: Make js-test-post a noop. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add mac NeedsRebaselines 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 | Annotate | Revision Log
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
7
8 TEST COMPLETE
6 PASS btn.type = 'submit'; btn.type is 'submit' 9 PASS btn.type = 'submit'; btn.type is 'submit'
7 PASS btn.getAttribute('type') is 'submit' 10 PASS btn.getAttribute('type') is 'submit'
8 PASS btn.type = 'reset'; btn.type is 'reset' 11 PASS btn.type = 'reset'; btn.type is 'reset'
9 PASS btn.getAttribute('type') is 'reset' 12 PASS btn.getAttribute('type') is 'reset'
10 PASS btn.type = 'button'; btn.type is 'button' 13 PASS btn.type = 'button'; btn.type is 'button'
11 PASS btn.getAttribute('type') is 'button' 14 PASS btn.getAttribute('type') is 'button'
12 PASS btn.type = 'reset'; btn.type is 'reset' 15 PASS btn.type = 'reset'; btn.type is 'reset'
13 PASS btn.getAttribute('type') is 'reset' 16 PASS btn.getAttribute('type') is 'reset'
14 PASS btn.type = 'suBmiT'; btn.type is 'submit' 17 PASS btn.type = 'suBmiT'; btn.type is 'submit'
15 PASS btn.getAttribute('type') is 'suBmiT' 18 PASS btn.getAttribute('type') is 'suBmiT'
(...skipping 18 matching lines...) Expand all
34 PASS btn.type = undefined; btn.type is 'submit' 37 PASS btn.type = undefined; btn.type is 'submit'
35 PASS btn.getAttribute('type') is 'undefined' 38 PASS btn.getAttribute('type') is 'undefined'
36 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 ''
37 PASS didSubmit is false 40 PASS didSubmit is false
38 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'
39 PASS btn.type = 'submit'; btn.click(); didSubmit is true 42 PASS btn.type = 'submit'; btn.click(); didSubmit is true
40 PASS successfullyParsed is true 43 PASS successfullyParsed is true
41 44
42 TEST COMPLETE 45 TEST COMPLETE
43 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698