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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Document/createAttributeNS-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/createAttributeNS-namespace-err.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Document/createAttributeNS-namespace-err.html b/third_party/WebKit/LayoutTests/fast/dom/Document/createAttributeNS-namespace-err.html
index 9f51024b3b341f9f308b7f387549bb0230e4bd93..a493b941cdaf602c3835380163ddf91d673356da 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Document/createAttributeNS-namespace-err.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Document/createAttributeNS-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