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

Unified Diff: LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt

Issue 98543011: Improve Document exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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: LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt
diff --git a/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt b/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt
index 677f11ddca95430c60f7f2b37c7d2aaa3fb375b3..39fc7f576464c692db0226ba3e682de026d241c8 100644
--- a/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt
+++ b/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt
@@ -48,13 +48,13 @@ PASS fooCreatedNull.outerHTML is "<x-foo></x-foo>"
PASS fooCreatedNull instanceof fooConstructor is true
PASS fooCreatedEmpty.outerHTML is "<x-foo></x-foo>"
PASS fooCreatedEmpty instanceof fooConstructor is true
-PASS document.createElement("@invalid", "x-bar") threw exception InvalidCharacterError: The string contains invalid characters..
+PASS document.createElement("@invalid", "x-bar") threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': '@invalid' is not a valid element name..
PASS fooCreatedNS.outerHTML is "<x-foo></x-foo>"
PASS fooCreatedNS instanceof fooConstructor is true
PASS barCreatedNS.outerHTML is "<input is=\"x-bar\">"
PASS barCreatedNS instanceof barConstructor is true
PASS isFormControl(barCreatedNS) is true
-PASS document.createElementNS("http://example.com/2013/no-such-namespace", "xml:lang", "x-bar") threw exception NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces..
+PASS document.createElementNS("http://example.com/2013/no-such-namespace", "xml:lang", "x-bar") threw exception NamespaceError: Failed to execute 'createElementNS' on 'Document': 'http://example.com/2013/no-such-namespace' is not a valid namespace for elements..
PASS fooParsed instanceof fooConstructor is true
PASS barParsed instanceof barConstructor is true
PASS isFormControl(barParsed) is true

Powered by Google App Engine
This is Rietveld 408576698