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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt

Issue 1730323002: Make nullable DOMString always treat undefined as null (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase test results Created 4 years, 9 months 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 DOMImplementation.createDocument(namespace, qualifiedName, doctype) 2 PASS DOMImplementation.createDocument(namespace, qualifiedName, doctype)
3 PASS createDocument test 0: null,undefined,null,null 3 PASS createDocument test 0: null,undefined,null,null
4 FAIL createDocument test 0: metadata for null,undefined,null assert_equals: expe cted "about:blank" but got "" 4 FAIL createDocument test 0: metadata for null,undefined,null assert_equals: expe cted "about:blank" but got ""
5 PASS createDocument test 0: characterSet aliases for null,undefined,null 5 PASS createDocument test 0: characterSet aliases for null,undefined,null
6 PASS createDocument test 1: null,"foo",null,null 6 PASS createDocument test 1: null,"foo",null,null
7 FAIL createDocument test 1: metadata for null,"foo",null assert_equals: expected "about:blank" but got "" 7 FAIL createDocument test 1: metadata for null,"foo",null assert_equals: expected "about:blank" but got ""
8 PASS createDocument test 1: characterSet aliases for null,"foo",null 8 PASS createDocument test 1: characterSet aliases for null,"foo",null
9 PASS createDocument test 2: null,"1foo",null,"INVALID_CHARACTER_ERR" 9 PASS createDocument test 2: null,"1foo",null,"INVALID_CHARACTER_ERR"
10 PASS createDocument test 3: null,"f1oo",null,null 10 PASS createDocument test 3: null,"f1oo",null,null
(...skipping 26 matching lines...) Expand all
37 PASS createDocument test 24: null,"xmlfoo",null,null 37 PASS createDocument test 24: null,"xmlfoo",null,null
38 FAIL createDocument test 24: metadata for null,"xmlfoo",null assert_equals: expe cted "about:blank" but got "" 38 FAIL createDocument test 24: metadata for null,"xmlfoo",null assert_equals: expe cted "about:blank" but got ""
39 PASS createDocument test 24: characterSet aliases for null,"xmlfoo",null 39 PASS createDocument test 24: characterSet aliases for null,"xmlfoo",null
40 PASS createDocument test 25: null,"xml:foo",null,"NAMESPACE_ERR" 40 PASS createDocument test 25: null,"xml:foo",null,"NAMESPACE_ERR"
41 PASS createDocument test 26: null,"xmlns:foo",null,"NAMESPACE_ERR" 41 PASS createDocument test 26: null,"xmlns:foo",null,"NAMESPACE_ERR"
42 PASS createDocument test 27: null,"xmlfoo:bar",null,"NAMESPACE_ERR" 42 PASS createDocument test 27: null,"xmlfoo:bar",null,"NAMESPACE_ERR"
43 PASS createDocument test 28: null,"null:xml",null,"NAMESPACE_ERR" 43 PASS createDocument test 28: null,"null:xml",null,"NAMESPACE_ERR"
44 PASS createDocument test 29: "",":foo",null,"NAMESPACE_ERR" 44 PASS createDocument test 29: "",":foo",null,"NAMESPACE_ERR"
45 PASS createDocument test 30: "","f:oo",null,"NAMESPACE_ERR" 45 PASS createDocument test 30: "","f:oo",null,"NAMESPACE_ERR"
46 PASS createDocument test 31: "","foo:",null,"NAMESPACE_ERR" 46 PASS createDocument test 31: "","foo:",null,"NAMESPACE_ERR"
47 FAIL createDocument test 32: undefined,undefined,null,null assert_equals: expect ed (object) null but got (string) "undefined" 47 PASS createDocument test 32: undefined,undefined,null,null
48 FAIL createDocument test 32: metadata for undefined,undefined,null assert_equals : expected "about:blank" but got "" 48 FAIL createDocument test 32: metadata for undefined,undefined,null assert_equals : expected "about:blank" but got ""
49 PASS createDocument test 32: characterSet aliases for undefined,undefined,null 49 PASS createDocument test 32: characterSet aliases for undefined,undefined,null
50 FAIL createDocument test 33: undefined,"foo",null,null assert_equals: expected ( object) null but got (string) "undefined" 50 PASS createDocument test 33: undefined,"foo",null,null
51 FAIL createDocument test 33: metadata for undefined,"foo",null assert_equals: ex pected "about:blank" but got "" 51 FAIL createDocument test 33: metadata for undefined,"foo",null assert_equals: ex pected "about:blank" but got ""
52 PASS createDocument test 33: characterSet aliases for undefined,"foo",null 52 PASS createDocument test 33: characterSet aliases for undefined,"foo",null
53 PASS createDocument test 34: undefined,"1foo",null,"INVALID_CHARACTER_ERR" 53 PASS createDocument test 34: undefined,"1foo",null,"INVALID_CHARACTER_ERR"
54 FAIL createDocument test 35: undefined,"f1oo",null,null assert_equals: expected (object) null but got (string) "undefined" 54 PASS createDocument test 35: undefined,"f1oo",null,null
55 FAIL createDocument test 35: metadata for undefined,"f1oo",null assert_equals: e xpected "about:blank" but got "" 55 FAIL createDocument test 35: metadata for undefined,"f1oo",null assert_equals: e xpected "about:blank" but got ""
56 PASS createDocument test 35: characterSet aliases for undefined,"f1oo",null 56 PASS createDocument test 35: characterSet aliases for undefined,"f1oo",null
57 FAIL createDocument test 36: undefined,"foo1",null,null assert_equals: expected (object) null but got (string) "undefined" 57 PASS createDocument test 36: undefined,"foo1",null,null
58 FAIL createDocument test 36: metadata for undefined,"foo1",null assert_equals: e xpected "about:blank" but got "" 58 FAIL createDocument test 36: metadata for undefined,"foo1",null assert_equals: e xpected "about:blank" but got ""
59 PASS createDocument test 36: characterSet aliases for undefined,"foo1",null 59 PASS createDocument test 36: characterSet aliases for undefined,"foo1",null
60 PASS createDocument test 37: undefined,":foo",null,"NAMESPACE_ERR" 60 PASS createDocument test 37: undefined,":foo",null,"NAMESPACE_ERR"
61 FAIL createDocument test 38: undefined,"f:oo",null,"NAMESPACE_ERR" assert_throws : function "function () { document.implementation.createDocument(name..." did no t throw 61 PASS createDocument test 38: undefined,"f:oo",null,"NAMESPACE_ERR"
62 PASS createDocument test 39: undefined,"foo:",null,"NAMESPACE_ERR" 62 PASS createDocument test 39: undefined,"foo:",null,"NAMESPACE_ERR"
63 FAIL createDocument test 40: undefined,"xml",null,null assert_equals: expected ( object) null but got (string) "undefined" 63 PASS createDocument test 40: undefined,"xml",null,null
64 FAIL createDocument test 40: metadata for undefined,"xml",null assert_equals: ex pected "about:blank" but got "" 64 FAIL createDocument test 40: metadata for undefined,"xml",null assert_equals: ex pected "about:blank" but got ""
65 PASS createDocument test 40: characterSet aliases for undefined,"xml",null 65 PASS createDocument test 40: characterSet aliases for undefined,"xml",null
66 PASS createDocument test 41: undefined,"xmlns",null,"NAMESPACE_ERR" 66 PASS createDocument test 41: undefined,"xmlns",null,"NAMESPACE_ERR"
67 FAIL createDocument test 42: undefined,"xmlfoo",null,null assert_equals: expecte d (object) null but got (string) "undefined" 67 PASS createDocument test 42: undefined,"xmlfoo",null,null
68 FAIL createDocument test 42: metadata for undefined,"xmlfoo",null assert_equals: expected "about:blank" but got "" 68 FAIL createDocument test 42: metadata for undefined,"xmlfoo",null assert_equals: expected "about:blank" but got ""
69 PASS createDocument test 42: characterSet aliases for undefined,"xmlfoo",null 69 PASS createDocument test 42: characterSet aliases for undefined,"xmlfoo",null
70 PASS createDocument test 43: undefined,"xml:foo",null,"NAMESPACE_ERR" 70 PASS createDocument test 43: undefined,"xml:foo",null,"NAMESPACE_ERR"
71 PASS createDocument test 44: undefined,"xmlns:foo",null,"NAMESPACE_ERR" 71 PASS createDocument test 44: undefined,"xmlns:foo",null,"NAMESPACE_ERR"
72 FAIL createDocument test 45: undefined,"xmlfoo:bar",null,"NAMESPACE_ERR" assert_ throws: function "function () { document.implementation.createDocument(name..." did not throw 72 PASS createDocument test 45: undefined,"xmlfoo:bar",null,"NAMESPACE_ERR"
73 PASS createDocument test 46: "http://example.com/","foo",null,null 73 PASS createDocument test 46: "http://example.com/","foo",null,null
74 FAIL createDocument test 46: metadata for "http://example.com/","foo",null asser t_equals: expected "about:blank" but got "" 74 FAIL createDocument test 46: metadata for "http://example.com/","foo",null asser t_equals: expected "about:blank" but got ""
75 PASS createDocument test 46: characterSet aliases for "http://example.com/","foo ",null 75 PASS createDocument test 46: characterSet aliases for "http://example.com/","foo ",null
76 PASS createDocument test 47: "http://example.com/","1foo",null,"INVALID_CHARACTE R_ERR" 76 PASS createDocument test 47: "http://example.com/","1foo",null,"INVALID_CHARACTE R_ERR"
77 PASS createDocument test 48: "http://example.com/","f1oo",null,null 77 PASS createDocument test 48: "http://example.com/","f1oo",null,null
78 FAIL createDocument test 48: metadata for "http://example.com/","f1oo",null asse rt_equals: expected "about:blank" but got "" 78 FAIL createDocument test 48: metadata for "http://example.com/","f1oo",null asse rt_equals: expected "about:blank" but got ""
79 PASS createDocument test 48: characterSet aliases for "http://example.com/","f1o o",null 79 PASS createDocument test 48: characterSet aliases for "http://example.com/","f1o o",null
80 PASS createDocument test 49: "http://example.com/","foo1",null,null 80 PASS createDocument test 49: "http://example.com/","foo1",null,null
81 FAIL createDocument test 49: metadata for "http://example.com/","foo1",null asse rt_equals: expected "about:blank" but got "" 81 FAIL createDocument test 49: metadata for "http://example.com/","foo1",null asse rt_equals: expected "about:blank" but got ""
82 PASS createDocument test 49: characterSet aliases for "http://example.com/","foo 1",null 82 PASS createDocument test 49: characterSet aliases for "http://example.com/","foo 1",null
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 PASS createDocument test 155: null,null,false,object "TypeError" 270 PASS createDocument test 155: null,null,false,object "TypeError"
271 PASS createDocument test 156: null,null,null,null 271 PASS createDocument test 156: null,null,null,null
272 FAIL createDocument test 156: metadata for null,null,null assert_equals: expecte d "about:blank" but got "" 272 FAIL createDocument test 156: metadata for null,null,null assert_equals: expecte d "about:blank" but got ""
273 PASS createDocument test 156: characterSet aliases for null,null,null 273 PASS createDocument test 156: characterSet aliases for null,null,null
274 PASS createDocument test 157: null,"",null,null 274 PASS createDocument test 157: null,"",null,null
275 FAIL createDocument test 157: metadata for null,"",null assert_equals: expected "about:blank" but got "" 275 FAIL createDocument test 157: metadata for null,"",null assert_equals: expected "about:blank" but got ""
276 PASS createDocument test 157: characterSet aliases for null,"",null 276 PASS createDocument test 157: characterSet aliases for null,"",null
277 PASS createDocument test 158: undefined,null,undefined,null 277 PASS createDocument test 158: undefined,null,undefined,null
278 FAIL createDocument test 158: metadata for undefined,null,undefined assert_equal s: expected "about:blank" but got "" 278 FAIL createDocument test 158: metadata for undefined,null,undefined assert_equal s: expected "about:blank" but got ""
279 PASS createDocument test 158: characterSet aliases for undefined,null,undefined 279 PASS createDocument test 158: characterSet aliases for undefined,null,undefined
280 FAIL createDocument test 159: undefined,undefined,undefined,null assert_equals: expected (object) null but got (string) "undefined" 280 PASS createDocument test 159: undefined,undefined,undefined,null
281 FAIL createDocument test 159: metadata for undefined,undefined,undefined assert_ equals: expected "about:blank" but got "" 281 FAIL createDocument test 159: metadata for undefined,undefined,undefined assert_ equals: expected "about:blank" but got ""
282 PASS createDocument test 159: characterSet aliases for undefined,undefined,undef ined 282 PASS createDocument test 159: characterSet aliases for undefined,undefined,undef ined
283 PASS createDocument test 160: undefined,"",undefined,null 283 PASS createDocument test 160: undefined,"",undefined,null
284 FAIL createDocument test 160: metadata for undefined,"",undefined assert_equals: expected "about:blank" but got "" 284 FAIL createDocument test 160: metadata for undefined,"",undefined assert_equals: expected "about:blank" but got ""
285 PASS createDocument test 160: characterSet aliases for undefined,"",undefined 285 PASS createDocument test 160: characterSet aliases for undefined,"",undefined
286 PASS createDocument test 161: "http://example.com/",null,null,null 286 PASS createDocument test 161: "http://example.com/",null,null,null
287 FAIL createDocument test 161: metadata for "http://example.com/",null,null asser t_equals: expected "about:blank" but got "" 287 FAIL createDocument test 161: metadata for "http://example.com/",null,null asser t_equals: expected "about:blank" but got ""
288 PASS createDocument test 161: characterSet aliases for "http://example.com/",nul l,null 288 PASS createDocument test 161: characterSet aliases for "http://example.com/",nul l,null
289 PASS createDocument test 162: "http://example.com/","",null,null 289 PASS createDocument test 162: "http://example.com/","",null,null
290 FAIL createDocument test 162: metadata for "http://example.com/","",null assert_ equals: expected "about:blank" but got "" 290 FAIL createDocument test 162: metadata for "http://example.com/","",null assert_ equals: expected "about:blank" but got ""
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 PASS createDocument test 176: characterSet aliases for null,"foo",DocumentType n ode 333 PASS createDocument test 176: characterSet aliases for null,"foo",DocumentType n ode
334 PASS createDocument test 177: "foo",null,DocumentType node,null 334 PASS createDocument test 177: "foo",null,DocumentType node,null
335 FAIL createDocument test 177: metadata for "foo",null,DocumentType node assert_e quals: expected "about:blank" but got "" 335 FAIL createDocument test 177: metadata for "foo",null,DocumentType node assert_e quals: expected "about:blank" but got ""
336 PASS createDocument test 177: characterSet aliases for "foo",null,DocumentType n ode 336 PASS createDocument test 177: characterSet aliases for "foo",null,DocumentType n ode
337 PASS createDocument test 178: "foo","bar",DocumentType node,null 337 PASS createDocument test 178: "foo","bar",DocumentType node,null
338 FAIL createDocument test 178: metadata for "foo","bar",DocumentType node assert_ equals: expected "about:blank" but got "" 338 FAIL createDocument test 178: metadata for "foo","bar",DocumentType node assert_ equals: expected "about:blank" but got ""
339 PASS createDocument test 178: characterSet aliases for "foo","bar",DocumentType node 339 PASS createDocument test 178: characterSet aliases for "foo","bar",DocumentType node
340 PASS createDocument with missing arguments 340 PASS createDocument with missing arguments
341 Harness: the test ran to completion. 341 Harness: the test ran to completion.
342 342
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698