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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-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/Document/createElementNS-namespace-err.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err.html b/third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err.html
index c5388b6d67bb0dff866cf915c4995983db6c83eb..125a7aca2f21d2447c2d0c791733fe22c9856325 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Document/createElementNS-namespace-err.html
@@ -61,15 +61,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