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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err-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
Index: third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt
index aa634e0555471eae0443bafc1853882ab371406d..1597517f4c08060c10e0286c2015f825498cd85c 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt
@@ -22,15 +22,15 @@ PASS createElementNS("http://example.com/", "0div"); threw InvalidCharacterError
PASS createElementNS("http://example.com/", "di<v"); threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('di<v') contains the invalid character '<'.
PASS createElementNS("http://example.com/", "-div"); threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('-div') contains the invalid name-start character '-'.
PASS createElementNS("http://example.com/", ".div"); threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('.div') contains the invalid name-start character '.'.
-PASS createElementNS(null, ":div"); threw NamespaceError: Failed to execute 'createElementNS' on 'Document': The qualified name provided (':div') has an empty namespace prefix.
-PASS createElementNS(null, "div:"); threw NamespaceError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('div:') has an empty local name.
-PASS createElementNS("http://example.com/", ":div"); threw NamespaceError: Failed to execute 'createElementNS' on 'Document': The qualified name provided (':div') has an empty namespace prefix.
-PASS createElementNS("http://example.com/", "div:"); threw NamespaceError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('div:') has an empty local name.
+PASS createElementNS(null, ":div"); threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided (':div') has an empty namespace prefix.
+PASS createElementNS(null, "div:"); threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('div:') has an empty local name.
+PASS createElementNS("http://example.com/", ":div"); threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided (':div') has an empty namespace prefix.
+PASS createElementNS("http://example.com/", "div:"); threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('div:') has an empty local name.
PASS createElementNS(null, "d:iv"); threw NamespaceError: Failed to execute 'createElementNS' on 'Document': The namespace URI provided ('') is not valid for the qualified name provided ('d:iv').
-PASS createElementNS(null, "a:b:c"); valid XML name, invalid QName; threw NamespaceError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('a:b:c') contains multiple colons.
-PASS createElementNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw NamespaceError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('a:b:c') contains multiple colons.
-PASS createElementNS(null, "a::c"); valid XML name, invalid QName; threw NamespaceError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('a::c') contains multiple colons.
-PASS createElementNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw NamespaceError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('a::c') contains multiple colons.
+PASS createElementNS(null, "a:b:c"); valid XML name, invalid QName; threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('a:b:c') contains multiple colons.
+PASS createElementNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('a:b:c') contains multiple colons.
+PASS createElementNS(null, "a::c"); valid XML name, invalid QName; threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('a::c') contains multiple colons.
+PASS createElementNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('a::c') contains multiple colons.
PASS createElementNS("http://example.com/", "a:0"); valid XML name, not a valid QName; threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('a:0') contains the invalid name-start character '0'.
PASS createElementNS("http://example.com/", "0:a"); 0 at start makes it not a valid XML name; threw InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('0:a') contains the invalid name-start character '0'.
PASS createElementNS("http://example.com/", "a:_")

Powered by Google App Engine
This is Rietveld 408576698