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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/domstring-attribute-reflection-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 CONSOLE WARNING: line 10: The <keygen> element is deprecated and will be removed in M56, around January 2017. See https://www.chromestatus.com/features/57160609 92962560 for more details. 1 CONSOLE WARNING: line 10: The <keygen> element is deprecated and will be removed in M56, around January 2017. See https://www.chromestatus.com/features/57160609 92962560 for more details.
2 Reflected DOMString attribute test for button/@name 2 Reflected DOMString attribute test for button/@name
3 Initial value: 3 Initial value:
4 PASS element.name is "" 4 PASS element.name is ""
5 PASS element.getAttribute("name") is null 5 PASS element.getAttribute("name") is null
6 Setting a value via the IDL attribute: 6 Setting a value via the IDL attribute:
7 PASS element.name = "foo"; element.name is "foo" 7 PASS element.name = "foo"; element.name is "foo"
8 PASS element.getAttribute("name") is "foo" 8 PASS element.getAttribute("name") is "foo"
9 Setting a value via the content attribute: 9 Setting a value via the content attribute:
10 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n" 10 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 PASS element.setAttribute("label", undefined); element.label is "undefined" 232 PASS element.setAttribute("label", undefined); element.label is "undefined"
233 PASS element.getAttribute("label") is "undefined" 233 PASS element.getAttribute("label") is "undefined"
234 Setting non-string via the IDL attribute: 234 Setting non-string via the IDL attribute:
235 PASS element.label = 123; element.label is "123" 235 PASS element.label = 123; element.label is "123"
236 PASS element.getAttribute("label") is "123" 236 PASS element.getAttribute("label") is "123"
237 Setting non-string via the content attribute: 237 Setting non-string via the content attribute:
238 PASS element.setAttribute("label", 456); element.label is "456" 238 PASS element.setAttribute("label", 456); element.label is "456"
239 PASS element.getAttribute("label") is "456" 239 PASS element.getAttribute("label") is "456"
240 240
241 241
242 Reflected DOMString attribute test for menuitem/@type
243 Initial value:
244 PASS element.type is ""
245 PASS element.getAttribute("type") is null
246 Setting a value via the IDL attribute:
247 PASS element.type = "foo"; element.type is "foo"
248 PASS element.getAttribute("type") is "foo"
249 Setting a value via the content attribute:
250 PASS element.setAttribute("type", " bar\n"); element.type is " bar\n"
251 PASS element.getAttribute("type") is " bar\n"
252 Setting null via the IDL attribute:
253 PASS element.type = null; element.type is "null"
254 PASS element.getAttribute("type") is "null"
255 Setting null via the content attribute:
256 PASS element.setAttribute("type", null); element.type is "null"
257 PASS element.getAttribute("type") is "null"
258 Setting undefined via the IDL attribute:
259 PASS element.type = undefined; element.type is "undefined"
260 PASS element.getAttribute("type") is "undefined"
261 Setting undefined via the content attribute:
262 PASS element.setAttribute("type", undefined); element.type is "undefined"
263 PASS element.getAttribute("type") is "undefined"
264 Setting non-string via the IDL attribute:
265 PASS element.type = 123; element.type is "123"
266 PASS element.getAttribute("type") is "123"
267 Setting non-string via the content attribute:
268 PASS element.setAttribute("type", 456); element.type is "456"
269 PASS element.getAttribute("type") is "456"
270
271
272 Reflected DOMString attribute test for menuitem/@label 242 Reflected DOMString attribute test for menuitem/@label
273 Initial value: 243 Initial value:
274 PASS element.label is "" 244 PASS element.label is ""
275 PASS element.getAttribute("label") is null 245 PASS element.getAttribute("label") is null
276 Setting a value via the IDL attribute: 246 Setting a value via the IDL attribute:
277 PASS element.label = "foo"; element.label is "foo" 247 PASS element.label = "foo"; element.label is "foo"
278 PASS element.getAttribute("label") is "foo" 248 PASS element.getAttribute("label") is "foo"
279 Setting a value via the content attribute: 249 Setting a value via the content attribute:
280 PASS element.setAttribute("label", " bar\n"); element.label is " bar\n" 250 PASS element.setAttribute("label", " bar\n"); element.label is " bar\n"
281 PASS element.getAttribute("label") is " bar\n" 251 PASS element.getAttribute("label") is " bar\n"
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 PASS element.getAttribute("bgcolor") is "123" 926 PASS element.getAttribute("bgcolor") is "123"
957 Setting non-string via the content attribute: 927 Setting non-string via the content attribute:
958 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456" 928 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456"
959 PASS element.getAttribute("bgcolor") is "456" 929 PASS element.getAttribute("bgcolor") is "456"
960 930
961 931
962 PASS successfullyParsed is true 932 PASS successfullyParsed is true
963 933
964 TEST COMPLETE 934 TEST COMPLETE
965 935
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698