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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-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/Element/setAttributeNS-namespace-err.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err.html b/third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err.html
index 5a6d9e628b124c8c350776caeda8be8fe26ee975..5875cd73fe29822a8e8954ace9949c673204c4d8 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err.html
@@ -60,15 +60,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