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"; |