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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/dom/reflection-misc-expected.txt

Issue 2372593005: Restrict type attribute on menuitem (Closed)
Patch Set: Use ReflectOnly etc. Created 4 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 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS html.title: 32 tests 2 PASS html.title: 32 tests
3 PASS html.lang: 32 tests 3 PASS html.lang: 32 tests
4 PASS html.dir: 62 tests 4 PASS html.dir: 62 tests
5 PASS html.className (<html class>): 32 tests 5 PASS html.className (<html class>): 32 tests
6 PASS html.hidden: 33 tests 6 PASS html.hidden: 33 tests
7 PASS html.accessKey: 32 tests 7 PASS html.accessKey: 32 tests
8 PASS html.tabIndex: 24 tests 8 PASS html.tabIndex: 24 tests
9 PASS html.version: 32 tests 9 PASS html.version: 32 tests
10 PASS script.title: 32 tests 10 PASS script.title: 32 tests
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 FAIL menu.type: IDL set to "TOOLBAR" assert_equals: IDL get expected "toolbar" b ut got "TOOLBAR" 143 FAIL menu.type: IDL set to "TOOLBAR" assert_equals: IDL get expected "toolbar" b ut got "TOOLBAR"
144 PASS menu.label: 32 tests 144 PASS menu.label: 32 tests
145 PASS menu.compact: 33 tests 145 PASS menu.compact: 33 tests
146 PASS menuitem.title: 32 tests 146 PASS menuitem.title: 32 tests
147 PASS menuitem.lang: 32 tests 147 PASS menuitem.lang: 32 tests
148 PASS menuitem.dir: 62 tests 148 PASS menuitem.dir: 62 tests
149 PASS menuitem.className (<menuitem class>): 32 tests 149 PASS menuitem.className (<menuitem class>): 32 tests
150 PASS menuitem.hidden: 33 tests 150 PASS menuitem.hidden: 33 tests
151 PASS menuitem.accessKey: 32 tests 151 PASS menuitem.accessKey: 32 tests
152 PASS menuitem.tabIndex: 24 tests 152 PASS menuitem.tabIndex: 24 tests
153 PASS menuitem.type: typeof IDL attribute 153 PASS menuitem.type: 62 tests
154 FAIL menuitem.type: IDL get with DOM attribute unset assert_equals: expected "co mmand" but got ""
155 FAIL menuitem.type: setAttribute() to "" assert_equals: IDL get expected "comman d" but got ""
156 FAIL menuitem.type: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\ f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f f oo " assert_equals: IDL get expected "command" but got " \0\x01\x02\x03\x04\x05\ x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x 1c\x1d\x1e\x1f foo "
157 FAIL menuitem.type: setAttribute() to undefined assert_equals: IDL get expected "command" but got "undefined"
158 FAIL menuitem.type: setAttribute() to 7 assert_equals: IDL get expected "command " but got "7"
159 FAIL menuitem.type: setAttribute() to 1.5 assert_equals: IDL get expected "comma nd" but got "1.5"
160 FAIL menuitem.type: setAttribute() to true assert_equals: IDL get expected "comm and" but got "true"
161 FAIL menuitem.type: setAttribute() to false assert_equals: IDL get expected "com mand" but got "false"
162 FAIL menuitem.type: setAttribute() to object "[object Object]" assert_equals: ID L get expected "command" but got "[object Object]"
163 FAIL menuitem.type: setAttribute() to NaN assert_equals: IDL get expected "comma nd" but got "NaN"
164 FAIL menuitem.type: setAttribute() to Infinity assert_equals: IDL get expected " command" but got "Infinity"
165 FAIL menuitem.type: setAttribute() to -Infinity assert_equals: IDL get expected "command" but got "-Infinity"
166 FAIL menuitem.type: setAttribute() to "\0" assert_equals: IDL get expected "comm and" but got "\0"
167 FAIL menuitem.type: setAttribute() to null assert_equals: IDL get expected "comm and" but got "null"
168 FAIL menuitem.type: setAttribute() to object "test-toString" assert_equals: IDL get expected "command" but got "test-toString"
169 FAIL menuitem.type: setAttribute() to object "test-valueOf" assert_equals: IDL g et expected "command" but got "test-valueOf"
170 PASS menuitem.type: setAttribute() to "command"
171 FAIL menuitem.type: setAttribute() to "xcommand" assert_equals: IDL get expected "command" but got "xcommand"
172 FAIL menuitem.type: setAttribute() to "command\0" assert_equals: IDL get expecte d "command" but got "command\0"
173 FAIL menuitem.type: setAttribute() to "ommand" assert_equals: IDL get expected " command" but got "ommand"
174 FAIL menuitem.type: setAttribute() to "COMMAND" assert_equals: IDL get expected "command" but got "COMMAND"
175 PASS menuitem.type: setAttribute() to "checkbox"
176 FAIL menuitem.type: setAttribute() to "xcheckbox" assert_equals: IDL get expecte d "command" but got "xcheckbox"
177 FAIL menuitem.type: setAttribute() to "checkbox\0" assert_equals: IDL get expect ed "command" but got "checkbox\0"
178 FAIL menuitem.type: setAttribute() to "heckbox" assert_equals: IDL get expected "command" but got "heckbox"
179 FAIL menuitem.type: setAttribute() to "CHECKBOX" assert_equals: IDL get expected "checkbox" but got "CHECKBOX"
180 PASS menuitem.type: setAttribute() to "radio"
181 FAIL menuitem.type: setAttribute() to "xradio" assert_equals: IDL get expected " command" but got "xradio"
182 FAIL menuitem.type: setAttribute() to "radio\0" assert_equals: IDL get expected "command" but got "radio\0"
183 FAIL menuitem.type: setAttribute() to "adio" assert_equals: IDL get expected "co mmand" but got "adio"
184 FAIL menuitem.type: setAttribute() to "RADIO" assert_equals: IDL get expected "r adio" but got "RADIO"
185 FAIL menuitem.type: IDL set to "" assert_equals: IDL get expected "command" but got ""
186 FAIL menuitem.type: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e \x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " as sert_equals: IDL get expected "command" but got " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\ x1e\x1f foo "
187 FAIL menuitem.type: IDL set to undefined assert_equals: IDL get expected "comman d" but got "undefined"
188 FAIL menuitem.type: IDL set to 7 assert_equals: IDL get expected "command" but g ot "7"
189 FAIL menuitem.type: IDL set to 1.5 assert_equals: IDL get expected "command" but got "1.5"
190 FAIL menuitem.type: IDL set to true assert_equals: IDL get expected "command" bu t got "true"
191 FAIL menuitem.type: IDL set to false assert_equals: IDL get expected "command" b ut got "false"
192 FAIL menuitem.type: IDL set to object "[object Object]" assert_equals: IDL get e xpected "command" but got "[object Object]"
193 FAIL menuitem.type: IDL set to NaN assert_equals: IDL get expected "command" but got "NaN"
194 FAIL menuitem.type: IDL set to Infinity assert_equals: IDL get expected "command " but got "Infinity"
195 FAIL menuitem.type: IDL set to -Infinity assert_equals: IDL get expected "comman d" but got "-Infinity"
196 FAIL menuitem.type: IDL set to "\0" assert_equals: IDL get expected "command" bu t got "\0"
197 FAIL menuitem.type: IDL set to null assert_equals: IDL get expected "command" bu t got "null"
198 FAIL menuitem.type: IDL set to object "test-toString" assert_equals: IDL get exp ected "command" but got "test-toString"
199 FAIL menuitem.type: IDL set to object "test-valueOf" assert_equals: IDL get expe cted "command" but got "test-valueOf"
200 PASS menuitem.type: IDL set to "command"
201 FAIL menuitem.type: IDL set to "xcommand" assert_equals: IDL get expected "comma nd" but got "xcommand"
202 FAIL menuitem.type: IDL set to "command\0" assert_equals: IDL get expected "comm and" but got "command\0"
203 FAIL menuitem.type: IDL set to "ommand" assert_equals: IDL get expected "command " but got "ommand"
204 FAIL menuitem.type: IDL set to "COMMAND" assert_equals: IDL get expected "comman d" but got "COMMAND"
205 PASS menuitem.type: IDL set to "checkbox"
206 FAIL menuitem.type: IDL set to "xcheckbox" assert_equals: IDL get expected "comm and" but got "xcheckbox"
207 FAIL menuitem.type: IDL set to "checkbox\0" assert_equals: IDL get expected "com mand" but got "checkbox\0"
208 FAIL menuitem.type: IDL set to "heckbox" assert_equals: IDL get expected "comman d" but got "heckbox"
209 FAIL menuitem.type: IDL set to "CHECKBOX" assert_equals: IDL get expected "check box" but got "CHECKBOX"
210 PASS menuitem.type: IDL set to "radio"
211 FAIL menuitem.type: IDL set to "xradio" assert_equals: IDL get expected "command " but got "xradio"
212 FAIL menuitem.type: IDL set to "radio\0" assert_equals: IDL get expected "comman d" but got "radio\0"
213 FAIL menuitem.type: IDL set to "adio" assert_equals: IDL get expected "command" but got "adio"
214 FAIL menuitem.type: IDL set to "RADIO" assert_equals: IDL get expected "radio" b ut got "RADIO"
215 PASS menuitem.label: 32 tests 154 PASS menuitem.label: 32 tests
216 PASS menuitem.icon: 38 tests 155 PASS menuitem.icon: 38 tests
217 PASS menuitem.disabled: 33 tests 156 PASS menuitem.disabled: 33 tests
218 PASS menuitem.checked: 33 tests 157 PASS menuitem.checked: 33 tests
219 PASS menuitem.radiogroup: 32 tests 158 PASS menuitem.radiogroup: 32 tests
220 PASS menuitem.default: 33 tests 159 PASS menuitem.default: 33 tests
221 PASS dialog.title: 32 tests 160 PASS dialog.title: 32 tests
222 PASS dialog.lang: 32 tests 161 PASS dialog.lang: 32 tests
223 PASS dialog.dir: 62 tests 162 PASS dialog.dir: 62 tests
224 PASS dialog.className (<dialog class>): 32 tests 163 PASS dialog.className (<dialog class>): 32 tests
225 PASS dialog.hidden: 33 tests 164 PASS dialog.hidden: 33 tests
226 PASS dialog.accessKey: 32 tests 165 PASS dialog.accessKey: 32 tests
227 PASS dialog.tabIndex: 24 tests 166 PASS dialog.tabIndex: 24 tests
228 PASS dialog.open: 33 tests 167 PASS dialog.open: 33 tests
229 PASS undefinedelement.title: 32 tests 168 PASS undefinedelement.title: 32 tests
230 PASS undefinedelement.lang: 32 tests 169 PASS undefinedelement.lang: 32 tests
231 PASS undefinedelement.dir: 62 tests 170 PASS undefinedelement.dir: 62 tests
232 PASS undefinedelement.className (<undefinedelement class>): 32 tests 171 PASS undefinedelement.className (<undefinedelement class>): 32 tests
233 PASS undefinedelement.hidden: 33 tests 172 PASS undefinedelement.hidden: 33 tests
234 PASS undefinedelement.accessKey: 32 tests 173 PASS undefinedelement.accessKey: 32 tests
235 PASS undefinedelement.tabIndex: 24 tests 174 PASS undefinedelement.tabIndex: 24 tests
236 Harness: the test ran to completion. 175 Harness: the test ran to completion.
237 176
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698