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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/dom/nodes/DOMImplementation-createDocument-expected.txt

Issue 2841393003: createElementNS() should now throw only InvalidCharacterError, not NamespaceError (Closed)
Patch Set: rebased Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/dom/nodes/DOMImplementation-createDocumentType-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/external/wpt/dom/nodes/DOMImplementation-createDocument-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/DOMImplementation-createDocument-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/DOMImplementation-createDocument-expected.txt
deleted file mode 100644
index 6bd2ecc2def2b4783b2f4e42dd4d3ba327bc1c70..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/DOMImplementation-createDocument-expected.txt
+++ /dev/null
@@ -1,395 +0,0 @@
-This is a testharness.js-based test.
-Found 391 tests; 369 PASS, 22 FAIL, 0 TIMEOUT, 0 NOTRUN.
-PASS DOMImplementation.createDocument(namespace, qualifiedName, doctype)
-PASS createDocument test: null,null,null,null
-PASS createDocument test: metadata for null,null,null
-PASS createDocument test: characterSet aliases for null,null,null
-PASS createDocument test: null,undefined,null,null
-PASS createDocument test: metadata for null,undefined,null
-PASS createDocument test: characterSet aliases for null,undefined,null
-PASS createDocument test: null,"foo",null,null
-PASS createDocument test: metadata for null,"foo",null
-PASS createDocument test: characterSet aliases for null,"foo",null
-PASS createDocument test: null,"1foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"f1oo",null,null
-PASS createDocument test: metadata for null,"f1oo",null
-PASS createDocument test: characterSet aliases for null,"f1oo",null
-PASS createDocument test: null,"foo1",null,null
-PASS createDocument test: metadata for null,"foo1",null
-PASS createDocument test: characterSet aliases for null,"foo1",null
-PASS createDocument test: null,"ெfoo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"}foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"f}oo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"foo}",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"\ufffffoo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"f\uffffoo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"foo\uffff",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"<foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"foo>",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"<foo>",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"f<oo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"^^",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"fo o",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,"-foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,".foo",null,"INVALID_CHARACTER_ERR"
-FAIL createDocument test: null,":foo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: null,"f:oo",null,"NAMESPACE_ERR"
-FAIL createDocument test: null,"foo:",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('foo:') has an empty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-FAIL createDocument test: null,"f:o:o",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('f:o:o') contains multiple colons." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-FAIL createDocument test: null,":",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided (':') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: null,"xml",null,null
-PASS createDocument test: metadata for null,"xml",null
-PASS createDocument test: characterSet aliases for null,"xml",null
-PASS createDocument test: null,"xmlns",null,"NAMESPACE_ERR"
-PASS createDocument test: null,"xmlfoo",null,null
-PASS createDocument test: metadata for null,"xmlfoo",null
-PASS createDocument test: characterSet aliases for null,"xmlfoo",null
-PASS createDocument test: null,"xml:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: null,"xmlns:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: null,"xmlfoo:bar",null,"NAMESPACE_ERR"
-PASS createDocument test: null,"null:xml",null,"NAMESPACE_ERR"
-PASS createDocument test: "",null,null,null
-PASS createDocument test: metadata for "",null,null
-PASS createDocument test: characterSet aliases for "",null,null
-FAIL createDocument test: "",":foo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "","f:oo",null,"NAMESPACE_ERR"
-FAIL createDocument test: "","foo:",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('foo:') has an empty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: undefined,null,null,null
-PASS createDocument test: metadata for undefined,null,null
-PASS createDocument test: characterSet aliases for undefined,null,null
-PASS createDocument test: undefined,undefined,null,null
-PASS createDocument test: metadata for undefined,undefined,null
-PASS createDocument test: characterSet aliases for undefined,undefined,null
-PASS createDocument test: undefined,"foo",null,null
-PASS createDocument test: metadata for undefined,"foo",null
-PASS createDocument test: characterSet aliases for undefined,"foo",null
-PASS createDocument test: undefined,"1foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: undefined,"f1oo",null,null
-PASS createDocument test: metadata for undefined,"f1oo",null
-PASS createDocument test: characterSet aliases for undefined,"f1oo",null
-PASS createDocument test: undefined,"foo1",null,null
-PASS createDocument test: metadata for undefined,"foo1",null
-PASS createDocument test: characterSet aliases for undefined,"foo1",null
-FAIL createDocument test: undefined,":foo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: undefined,"f:oo",null,"NAMESPACE_ERR"
-FAIL createDocument test: undefined,"foo:",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('foo:') has an empty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-FAIL createDocument test: undefined,"f::oo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('f::oo') contains multiple colons." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: undefined,"xml",null,null
-PASS createDocument test: metadata for undefined,"xml",null
-PASS createDocument test: characterSet aliases for undefined,"xml",null
-PASS createDocument test: undefined,"xmlns",null,"NAMESPACE_ERR"
-PASS createDocument test: undefined,"xmlfoo",null,null
-PASS createDocument test: metadata for undefined,"xmlfoo",null
-PASS createDocument test: characterSet aliases for undefined,"xmlfoo",null
-PASS createDocument test: undefined,"xml:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: undefined,"xmlns:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: undefined,"xmlfoo:bar",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://example.com/","foo",null,null
-PASS createDocument test: metadata for "http://example.com/","foo",null
-PASS createDocument test: characterSet aliases for "http://example.com/","foo",null
-PASS createDocument test: "http://example.com/","1foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","<foo>",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","fo<o",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","-foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/",".foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","f1oo",null,null
-PASS createDocument test: metadata for "http://example.com/","f1oo",null
-PASS createDocument test: characterSet aliases for "http://example.com/","f1oo",null
-PASS createDocument test: "http://example.com/","foo1",null,null
-PASS createDocument test: metadata for "http://example.com/","foo1",null
-PASS createDocument test: characterSet aliases for "http://example.com/","foo1",null
-FAIL createDocument test: "http://example.com/",":foo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "http://example.com/","f:oo",null,null
-PASS createDocument test: metadata for "http://example.com/","f:oo",null
-PASS createDocument test: characterSet aliases for "http://example.com/","f:oo",null
-FAIL createDocument test: "http://example.com/","f:o:o",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('f:o:o') contains multiple colons." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-FAIL createDocument test: "http://example.com/","foo:",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('foo:') has an empty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-FAIL createDocument test: "http://example.com/","f::oo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('f::oo') contains multiple colons." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "http://example.com/","a:0",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","0:a",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","a:_",null,null
-PASS createDocument test: metadata for "http://example.com/","a:_",null
-PASS createDocument test: characterSet aliases for "http://example.com/","a:_",null
-PASS createDocument test: "http://example.com/","a:ெ",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","ெ:a",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","a:aெ",null,null
-PASS createDocument test: metadata for "http://example.com/","a:aெ",null
-PASS createDocument test: characterSet aliases for "http://example.com/","a:aெ",null
-PASS createDocument test: "http://example.com/","aெ:a",null,null
-PASS createDocument test: metadata for "http://example.com/","aெ:a",null
-PASS createDocument test: characterSet aliases for "http://example.com/","aெ:a",null
-PASS createDocument test: "http://example.com/","xml:test",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://example.com/","xmlns:test",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://example.com/","test:xmlns",null,null
-PASS createDocument test: metadata for "http://example.com/","test:xmlns",null
-PASS createDocument test: characterSet aliases for "http://example.com/","test:xmlns",null
-PASS createDocument test: "http://example.com/","xmlns",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://example.com/","_:_",null,null
-PASS createDocument test: metadata for "http://example.com/","_:_",null
-PASS createDocument test: characterSet aliases for "http://example.com/","_:_",null
-PASS createDocument test: "http://example.com/","_:h0",null,null
-PASS createDocument test: metadata for "http://example.com/","_:h0",null
-PASS createDocument test: characterSet aliases for "http://example.com/","_:h0",null
-PASS createDocument test: "http://example.com/","_:test",null,null
-PASS createDocument test: metadata for "http://example.com/","_:test",null
-PASS createDocument test: characterSet aliases for "http://example.com/","_:test",null
-PASS createDocument test: "http://example.com/","l_:_",null,null
-PASS createDocument test: metadata for "http://example.com/","l_:_",null
-PASS createDocument test: characterSet aliases for "http://example.com/","l_:_",null
-PASS createDocument test: "http://example.com/","ns:_0",null,null
-PASS createDocument test: metadata for "http://example.com/","ns:_0",null
-PASS createDocument test: characterSet aliases for "http://example.com/","ns:_0",null
-PASS createDocument test: "http://example.com/","ns:a0",null,null
-PASS createDocument test: metadata for "http://example.com/","ns:a0",null
-PASS createDocument test: characterSet aliases for "http://example.com/","ns:a0",null
-PASS createDocument test: "http://example.com/","ns0:test",null,null
-PASS createDocument test: metadata for "http://example.com/","ns0:test",null
-PASS createDocument test: characterSet aliases for "http://example.com/","ns0:test",null
-PASS createDocument test: "http://example.com/","a.b:c",null,null
-PASS createDocument test: metadata for "http://example.com/","a.b:c",null
-PASS createDocument test: characterSet aliases for "http://example.com/","a.b:c",null
-PASS createDocument test: "http://example.com/","a-b:c",null,null
-PASS createDocument test: metadata for "http://example.com/","a-b:c",null
-PASS createDocument test: characterSet aliases for "http://example.com/","a-b:c",null
-PASS createDocument test: "http://example.com/","xml",null,null
-PASS createDocument test: metadata for "http://example.com/","xml",null
-PASS createDocument test: characterSet aliases for "http://example.com/","xml",null
-PASS createDocument test: "http://example.com/","XMLNS",null,null
-PASS createDocument test: metadata for "http://example.com/","XMLNS",null
-PASS createDocument test: characterSet aliases for "http://example.com/","XMLNS",null
-PASS createDocument test: "http://example.com/","xmlfoo",null,null
-PASS createDocument test: metadata for "http://example.com/","xmlfoo",null
-PASS createDocument test: characterSet aliases for "http://example.com/","xmlfoo",null
-PASS createDocument test: "http://example.com/","xml:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://example.com/","XML:foo",null,null
-PASS createDocument test: metadata for "http://example.com/","XML:foo",null
-PASS createDocument test: characterSet aliases for "http://example.com/","XML:foo",null
-PASS createDocument test: "http://example.com/","xmlns:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://example.com/","XMLNS:foo",null,null
-PASS createDocument test: metadata for "http://example.com/","XMLNS:foo",null
-PASS createDocument test: characterSet aliases for "http://example.com/","XMLNS:foo",null
-PASS createDocument test: "http://example.com/","xmlfoo:bar",null,null
-PASS createDocument test: metadata for "http://example.com/","xmlfoo:bar",null
-PASS createDocument test: characterSet aliases for "http://example.com/","xmlfoo:bar",null
-FAIL createDocument test: "http://example.com/","prefix::local",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('prefix::local') contains multiple colons." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "http://example.com/","namespaceURI:{",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:}",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:~",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:'",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:!",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:@",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:#",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:$",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:%",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:^",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:&",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:*",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:(",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:)",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:+",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:=",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:[",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:]",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:\\",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:/",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:;",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:`",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:<",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:>",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:,",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:a ",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://example.com/","namespaceURI:\"",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "/","foo",null,null
-PASS createDocument test: metadata for "/","foo",null
-PASS createDocument test: characterSet aliases for "/","foo",null
-PASS createDocument test: "/","1foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "/","f1oo",null,null
-PASS createDocument test: metadata for "/","f1oo",null
-PASS createDocument test: characterSet aliases for "/","f1oo",null
-PASS createDocument test: "/","foo1",null,null
-PASS createDocument test: metadata for "/","foo1",null
-PASS createDocument test: characterSet aliases for "/","foo1",null
-FAIL createDocument test: "/",":foo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "/","f:oo",null,null
-PASS createDocument test: metadata for "/","f:oo",null
-PASS createDocument test: characterSet aliases for "/","f:oo",null
-FAIL createDocument test: "/","foo:",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('foo:') has an empty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "/","xml",null,null
-PASS createDocument test: metadata for "/","xml",null
-PASS createDocument test: characterSet aliases for "/","xml",null
-PASS createDocument test: "/","xmlns",null,"NAMESPACE_ERR"
-PASS createDocument test: "/","xmlfoo",null,null
-PASS createDocument test: metadata for "/","xmlfoo",null
-PASS createDocument test: characterSet aliases for "/","xmlfoo",null
-PASS createDocument test: "/","xml:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "/","xmlns:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "/","xmlfoo:bar",null,null
-PASS createDocument test: metadata for "/","xmlfoo:bar",null
-PASS createDocument test: characterSet aliases for "/","xmlfoo:bar",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","foo",null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","foo",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","foo",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","1foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","f1oo",null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","f1oo",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","f1oo",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","foo1",null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","foo1",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","foo1",null
-FAIL createDocument test: "http://www.w3.org/XML/1998/namespace",":foo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","f:oo",null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","f:oo",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","f:oo",null
-FAIL createDocument test: "http://www.w3.org/XML/1998/namespace","foo:",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('foo:') has an empty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xml",null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","xml",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","xml",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xmlns",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xmlfoo",null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","xmlfoo",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","xmlfoo",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xml:foo",null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","xml:foo",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","xml:foo",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xmlns:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xmlfoo:bar",null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","xmlfoo:bar",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","xmlfoo:bar",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespaces","xml:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/xml/1998/namespace","xml:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","1foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","f1oo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo1",null,"NAMESPACE_ERR"
-FAIL createDocument test: "http://www.w3.org/2000/xmlns/",":foo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","f:oo",null,"NAMESPACE_ERR"
-FAIL createDocument test: "http://www.w3.org/2000/xmlns/","foo:",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('foo:') has an empty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","xml",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlns",null,null
-PASS createDocument test: metadata for "http://www.w3.org/2000/xmlns/","xmlns",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/xmlns/","xmlns",null
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlfoo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","xml:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlns:foo",null,null
-PASS createDocument test: metadata for "http://www.w3.org/2000/xmlns/","xmlns:foo",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/xmlns/","xmlns:foo",null
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlfoo:bar",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo:xmlns",null,"NAMESPACE_ERR"
-PASS createDocument test: "foo:","foo",null,null
-PASS createDocument test: metadata for "foo:","foo",null
-PASS createDocument test: characterSet aliases for "foo:","foo",null
-PASS createDocument test: "foo:","1foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: "foo:","f1oo",null,null
-PASS createDocument test: metadata for "foo:","f1oo",null
-PASS createDocument test: characterSet aliases for "foo:","f1oo",null
-PASS createDocument test: "foo:","foo1",null,null
-PASS createDocument test: metadata for "foo:","foo1",null
-PASS createDocument test: characterSet aliases for "foo:","foo1",null
-FAIL createDocument test: "foo:",":foo",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "foo:","f:oo",null,null
-PASS createDocument test: metadata for "foo:","f:oo",null
-PASS createDocument test: characterSet aliases for "foo:","f:oo",null
-FAIL createDocument test: "foo:","foo:",null,"INVALID_CHARACTER_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocument' on 'DOMImplementation': The qualified name provided ('foo:') has an empty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
-PASS createDocument test: "foo:","xml",null,null
-PASS createDocument test: metadata for "foo:","xml",null
-PASS createDocument test: characterSet aliases for "foo:","xml",null
-PASS createDocument test: "foo:","xmlns",null,"NAMESPACE_ERR"
-PASS createDocument test: "foo:","xmlfoo",null,null
-PASS createDocument test: metadata for "foo:","xmlfoo",null
-PASS createDocument test: characterSet aliases for "foo:","xmlfoo",null
-PASS createDocument test: "foo:","xml:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "foo:","xmlns:foo",null,"NAMESPACE_ERR"
-PASS createDocument test: "foo:","xmlfoo:bar",null,null
-PASS createDocument test: metadata for "foo:","xmlfoo:bar",null
-PASS createDocument test: characterSet aliases for "foo:","xmlfoo:bar",null
-PASS createDocument test: null,null,false,object "TypeError"
-PASS createDocument test: null,"",null,null
-PASS createDocument test: metadata for null,"",null
-PASS createDocument test: characterSet aliases for null,"",null
-PASS createDocument test: undefined,null,undefined,null
-PASS createDocument test: metadata for undefined,null,undefined
-PASS createDocument test: characterSet aliases for undefined,null,undefined
-PASS createDocument test: undefined,undefined,undefined,null
-PASS createDocument test: metadata for undefined,undefined,undefined
-PASS createDocument test: characterSet aliases for undefined,undefined,undefined
-PASS createDocument test: undefined,"",undefined,null
-PASS createDocument test: metadata for undefined,"",undefined
-PASS createDocument test: characterSet aliases for undefined,"",undefined
-PASS createDocument test: "http://example.com/",null,null,null
-PASS createDocument test: metadata for "http://example.com/",null,null
-PASS createDocument test: characterSet aliases for "http://example.com/",null,null
-PASS createDocument test: "http://example.com/","",null,null
-PASS createDocument test: metadata for "http://example.com/","",null
-PASS createDocument test: characterSet aliases for "http://example.com/","",null
-PASS createDocument test: "/",null,null,null
-PASS createDocument test: metadata for "/",null,null
-PASS createDocument test: characterSet aliases for "/",null,null
-PASS createDocument test: "/","",null,null
-PASS createDocument test: metadata for "/","",null
-PASS createDocument test: characterSet aliases for "/","",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace",null,null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace",null,null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace",null,null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","",null,null
-PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","",null
-PASS createDocument test: "http://www.w3.org/2000/xmlns/",null,null,null
-PASS createDocument test: metadata for "http://www.w3.org/2000/xmlns/",null,null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/xmlns/",null,null
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","",null,null
-PASS createDocument test: metadata for "http://www.w3.org/2000/xmlns/","",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/xmlns/","",null
-PASS createDocument test: "foo:",null,null,null
-PASS createDocument test: metadata for "foo:",null,null
-PASS createDocument test: characterSet aliases for "foo:",null,null
-PASS createDocument test: "foo:","",null,null
-PASS createDocument test: metadata for "foo:","",null
-PASS createDocument test: characterSet aliases for "foo:","",null
-PASS createDocument test: null,null,DocumentType node <!DOCTYPE foo>,null
-PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE foo>
-PASS createDocument test: characterSet aliases for null,null,DocumentType node <!DOCTYPE foo>
-PASS createDocument test: null,null,DocumentType node <!DOCTYPE html>,null
-PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE html>
-PASS createDocument test: characterSet aliases for null,null,DocumentType node <!DOCTYPE html>
-PASS createDocument test: null,null,DocumentType node <!DOCTYPE bar>,null
-PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE bar>
-PASS createDocument test: characterSet aliases for null,null,DocumentType node <!DOCTYPE bar>
-PASS createDocument test: null,null,DocumentType node <!DOCTYPE baz>,null
-PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE baz>
-PASS createDocument test: characterSet aliases for null,null,DocumentType node <!DOCTYPE baz>
-PASS createDocument test: null,null,DocumentType node <!DOCTYPE quz>,null
-PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE quz>
-PASS createDocument test: characterSet aliases for null,null,DocumentType node <!DOCTYPE quz>
-PASS createDocument test: null,"foo",DocumentType node <!DOCTYPE foo>,null
-PASS createDocument test: metadata for null,"foo",DocumentType node <!DOCTYPE foo>
-PASS createDocument test: characterSet aliases for null,"foo",DocumentType node <!DOCTYPE foo>
-PASS createDocument test: "foo",null,DocumentType node <!DOCTYPE foo>,null
-PASS createDocument test: metadata for "foo",null,DocumentType node <!DOCTYPE foo>
-PASS createDocument test: characterSet aliases for "foo",null,DocumentType node <!DOCTYPE foo>
-PASS createDocument test: "foo","bar",DocumentType node <!DOCTYPE foo>,null
-PASS createDocument test: metadata for "foo","bar",DocumentType node <!DOCTYPE foo>
-PASS createDocument test: characterSet aliases for "foo","bar",DocumentType node <!DOCTYPE foo>
-PASS createDocument test: "http://www.w3.org/1999/xhtml","",null,null
-PASS createDocument test: metadata for "http://www.w3.org/1999/xhtml","",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/1999/xhtml","",null
-PASS createDocument test: "http://www.w3.org/2000/svg","",null,null
-PASS createDocument test: metadata for "http://www.w3.org/2000/svg","",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/svg","",null
-PASS createDocument test: "http://www.w3.org/1998/Math/MathML","",null,null
-PASS createDocument test: metadata for "http://www.w3.org/1998/Math/MathML","",null
-PASS createDocument test: characterSet aliases for "http://www.w3.org/1998/Math/MathML","",null
-PASS createDocument test: null,"html",null,null
-PASS createDocument test: metadata for null,"html",null
-PASS createDocument test: characterSet aliases for null,"html",null
-PASS createDocument test: null,"svg",null,null
-PASS createDocument test: metadata for null,"svg",null
-PASS createDocument test: characterSet aliases for null,"svg",null
-PASS createDocument test: null,"math",null,null
-PASS createDocument test: metadata for null,"math",null
-PASS createDocument test: characterSet aliases for null,"math",null
-PASS createDocument test: null,"",DocumentType node <!DOCTYPE html -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
-PASS createDocument test: null,"",DocumentType node <!DOCTYPE svg -//W3C//DTD SVG 1.1//EN http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd>
-PASS createDocument test: null,"",DocumentType node <!DOCTYPE math -//W3C//DTD MathML 2.0//EN http://www.w3.org/Math/DTD/mathml2/mathml2.dtd>
-PASS createDocument with missing arguments
-Harness: the test ran to completion.
-
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/dom/nodes/DOMImplementation-createDocumentType-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698