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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-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/DOMImplementation/createDocument-namespace-err-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt
index 230545ed00b17b561c9c5139ab705cf70579a83a..f0839d9bd4985245ef54e6d64fe8cf2a12252da2 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt
@@ -23,15 +23,15 @@ PASS createDocument("http://example.com/", "0div", null); threw INVALID_CHARACTE
PASS createDocument("http://example.com/", "di<v", null); threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "-div", null); threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", ".div", null); threw INVALID_CHARACTER_ERR
-PASS createDocument(null, ":div", null); threw NAMESPACE_ERR
-PASS createDocument(null, "div:", null); threw NAMESPACE_ERR
-PASS createDocument("http://example.com/", ":div", null); threw NAMESPACE_ERR
-PASS createDocument("http://example.com/", "div:", null); threw NAMESPACE_ERR
+PASS createDocument(null, ":div", null); threw INVALID_CHARACTER_ERR
+PASS createDocument(null, "div:", null); threw INVALID_CHARACTER_ERR
+PASS createDocument("http://example.com/", ":div", null); threw INVALID_CHARACTER_ERR
+PASS createDocument("http://example.com/", "div:", null); threw INVALID_CHARACTER_ERR
PASS createDocument(null, "d:iv", null); threw NAMESPACE_ERR
-PASS createDocument(null, "a:b:c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createDocument("http://example.com/", "a:b:c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createDocument(null, "a::c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createDocument("http://example.com/", "a::c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
+PASS createDocument(null, "a:b:c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createDocument("http://example.com/", "a:b:c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createDocument(null, "a::c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createDocument("http://example.com/", "a::c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "a:0", null); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "0:a", null); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "a:_", null)

Powered by Google App Engine
This is Rietveld 408576698