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

Side by Side Diff: LayoutTests/fast/forms/submit-form-attributes-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 the behavior of .formaction, .formenctype, .formmethod and .formtarget of HTMLInputElement and HTMLButtonElement. 1 Tests the behavior of .formaction, .formenctype, .formmethod and .formtarget of HTMLInputElement and HTMLButtonElement.
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 Ordinary values for input: 6 Ordinary values for input:
7 PASS input.formAction is "" 7 PASS input.formAction is ""
8 PASS input.formEnctype is "" 8 PASS input.formEnctype is ""
9 PASS input.formMethod is "" 9 PASS input.formMethod is ""
10 PASS input.formTarget is "" 10 PASS input.formTarget is ""
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 PASS button.formAction is "http://example.com/" 74 PASS button.formAction is "http://example.com/"
75 PASS button.formAction is "http://example.com/" 75 PASS button.formAction is "http://example.com/"
76 PASS button.formEnctype is "text/plain" 76 PASS button.formEnctype is "text/plain"
77 PASS button.formEnctype is "application/x-www-form-urlencoded" 77 PASS button.formEnctype is "application/x-www-form-urlencoded"
78 PASS button.formMethod is "post" 78 PASS button.formMethod is "post"
79 PASS button.formMethod is "get" 79 PASS button.formMethod is "get"
80 PASS button.formTarget is "http://example.com" 80 PASS button.formTarget is "http://example.com"
81 PASS button.formTarget is "nota" 81 PASS button.formTarget is "nota"
82 82
83 Setting null for button: 83 Setting null for button:
84 PASS button.formEnctype is ""
85 PASS button.getAttribute("formEnctype") is null
86 PASS button.formEnctype is "application/x-www-form-urlencoded" 84 PASS button.formEnctype is "application/x-www-form-urlencoded"
87 PASS button.formMethod is "" 85 PASS button.getAttribute("formEnctype") is "null"
88 PASS button.getAttribute("formMethod") is null 86 PASS button.formEnctype is "application/x-www-form-urlencoded"
89 PASS button.formMethod is "get" 87 PASS button.formMethod is "get"
90 PASS button.formTarget is "" 88 PASS button.getAttribute("formMethod") is "null"
91 PASS button.getAttribute("formTarget") is null 89 PASS button.formMethod is "get"
90 PASS button.formTarget is "null"
91 PASS button.getAttribute("formTarget") is "null"
92 PASS button.formTarget is "null" 92 PASS button.formTarget is "null"
93 93
94 Setting undefined for button: 94 Setting undefined for button:
95 PASS button.formEnctype is "application/x-www-form-urlencoded" 95 PASS button.formEnctype is "application/x-www-form-urlencoded"
96 PASS button.getAttribute("formEnctype") is "undefined" 96 PASS button.getAttribute("formEnctype") is "undefined"
97 PASS button.formEnctype is "application/x-www-form-urlencoded" 97 PASS button.formEnctype is "application/x-www-form-urlencoded"
98 PASS button.formMethod is "get" 98 PASS button.formMethod is "get"
99 PASS button.getAttribute("formMethod") is "undefined" 99 PASS button.getAttribute("formMethod") is "undefined"
100 PASS button.formMethod is "get" 100 PASS button.formMethod is "get"
101 PASS button.formTarget is "undefined" 101 PASS button.formTarget is "undefined"
102 PASS button.getAttribute("formTarget") is "undefined" 102 PASS button.getAttribute("formTarget") is "undefined"
103 PASS button.formTarget is "undefined" 103 PASS button.formTarget is "undefined"
104 104
105 Setting non-string for button: 105 Setting non-string for button:
106 PASS button.formEnctype is "application/x-www-form-urlencoded" 106 PASS button.formEnctype is "application/x-www-form-urlencoded"
107 PASS button.getAttribute("formEnctype") is "256" 107 PASS button.getAttribute("formEnctype") is "256"
108 PASS button.formEnctype is "application/x-www-form-urlencoded" 108 PASS button.formEnctype is "application/x-www-form-urlencoded"
109 PASS button.formMethod is "get" 109 PASS button.formMethod is "get"
110 PASS button.getAttribute("formMethod") is "128" 110 PASS button.getAttribute("formMethod") is "128"
111 PASS button.formMethod is "get" 111 PASS button.formMethod is "get"
112 PASS button.formTarget is "100" 112 PASS button.formTarget is "100"
113 PASS button.getAttribute("formTarget") is "100" 113 PASS button.getAttribute("formTarget") is "100"
114 PASS button.formTarget is "281" 114 PASS button.formTarget is "281"
115 PASS successfullyParsed is true 115 PASS successfullyParsed is true
116 116
117 TEST COMPLETE 117 TEST COMPLETE
118 118
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/submit-form-attributes.html ('k') | Source/core/html/HTMLButtonElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698