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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt

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/DOMImplementation/createDocumentType-err-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt
index f824c9f07c6b3f701343c2e42729a3fe95e84665..1b19e62f2a8f26fb919ffcbbac41eefa0d04ce42 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt
@@ -13,17 +13,17 @@ PASS document.implementation.createDocumentType(null, null) threw exception Type
PASS document.implementation.createDocumentType(null, '') threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
PASS document.implementation.createDocumentType('', null) threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
PASS document.implementation.createDocumentType('', '') threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
-PASS document.implementation.createDocumentType('a:', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('a:') has an empty local name..
-PASS document.implementation.createDocumentType(':foo', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix..
-PASS document.implementation.createDocumentType(':', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided (':') has an empty namespace prefix..
+PASS document.implementation.createDocumentType('a:', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('a:') has an empty local name..
+PASS document.implementation.createDocumentType(':foo', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided (':foo') has an empty namespace prefix..
+PASS document.implementation.createDocumentType(':', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided (':') has an empty namespace prefix..
PASS document.implementation.createDocumentType('foo', null, null) did not throw exception.
PASS document.implementation.createDocumentType('foo:bar', null, null) did not throw exception.
-PASS document.implementation.createDocumentType('foo::bar', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('foo::bar') contains multiple colons..
+PASS document.implementation.createDocumentType('foo::bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('foo::bar') contains multiple colons..
PASS document.implementation.createDocumentType(' :bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided (' :bar') contains the invalid name-start character ' '..
PASS document.implementation.createDocumentType('foo: ', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('foo: ') contains the invalid name-start character ' '..
PASS document.implementation.createDocumentType('foo :bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('foo :bar') contains the invalid character ' '..
PASS document.implementation.createDocumentType('foo: bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('foo: bar') contains the invalid name-start character ' '..
-PASS document.implementation.createDocumentType('a:b:c', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('a:b:c') contains multiple colons..
+PASS document.implementation.createDocumentType('a:b:c', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('a:b:c') contains multiple colons..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698