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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/misc/acid3.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/http/tests/misc/acid3.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html b/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html
index 568fb543d457bbb71147e2634c40f9620e666423..9dc2acb5270b29dba85b730c50b579964471c46c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html
@@ -960,8 +960,8 @@
test('di<v', "http://example.com/", 5);
test('-div', "http://example.com/", 5);
test('.div', "http://example.com/", 5);
- test(':div', null, 14);
- test(':div', "http://example.com/", 14);
+ test(':div', null, 5);
+ test(':div', "http://example.com/", 5);
test('d:iv', null, 14);
test('xml:test', "http://example.com/", 14);
test('xmlns:test', "http://example.com/", 14); // (technically a DOM3 Core test)
@@ -982,7 +982,7 @@
document.implementation.createDocumentType('a:', '', ''); /* doesn't contain an illegal character; is malformed */
message = "failed to raise exception";
} catch (e) {
- if (e.code != e.NAMESPACE_ERR)
+ if (e.code != e.INVALID_CHARACTER_ERR)
message = "wrong exception";
else if (e.INVALID_ACCESS_ERR != 15)
message = "exceptions don't have all the constants";

Powered by Google App Engine
This is Rietveld 408576698