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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err.html

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.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err.html b/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err.html
index 01d1b85cbbd93af6c49f81a5f0c7ca208d3cd059..bbd93751ba2c7f631a207e66a19add1fbd5ce9f0 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err.html
@@ -66,15 +66,15 @@ var allNSTests = [
{ args: ["http://example.com/", "di<v"], code: 5 },
{ args: ["http://example.com/", "-div"], code: 5 },
{ args: ["http://example.com/", ".div"], code: 5 },
- { args: [null, ":div"], code: 14 },
- { args: [null, "div:"], code: 14 },
- { args: ["http://example.com/", ":div"], code: 14 },
- { args: ["http://example.com/", "div:"], code: 14 },
+ { args: [null, ":div"], code: 5 },
+ { args: [null, "div:"], code: 5 },
+ { args: ["http://example.com/", ":div"], code: 5 },
+ { args: ["http://example.com/", "div:"], code: 5 },
{ args: [null, "d:iv"], code: 14 },
- { args: [null, "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: [null, "a::c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a::c"], code: 14, message: "valid XML name, invalid QName" },
+ { args: [null, "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: [null, "a::c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a::c"], code: 5, message: "valid XML name, invalid QName" },
{ args: ["http://example.com/", "a:0"], code: 5, message: "valid XML name, not a valid QName" },
{ args: ["http://example.com/", "0:a"], code: 5, message: "0 at start makes it not a valid XML name" },
{ args: ["http://example.com/", "a:_"] },

Powered by Google App Engine
This is Rietveld 408576698