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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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: 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 ec52413752965f3278c28e2367d27f15f5d3544b..679457d342ca76bae006220859e8dc68e356fa3b 100644
--- a/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt
+++ b/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt
@@ -3,7 +3,7 @@ Testing document.register() type extension behaviours through createElement().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS document.register('x-foo', { prototype: Object.create(HTMLDivElement.prototype) }) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS document.register('x-foo', { prototype: Object.create(HTMLDivElement.prototype) }) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS fooNewed.outerHTML is '<x-foo></x-foo>'
PASS fooNewed instanceof fooConstructor && fooNewed instanceof HTMLElement is true
PASS fooNewed instanceof HTMLUnknownElement is false
@@ -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 Error: InvalidCharacterError: DOM Exception 5.
+PASS document.createElement('@invalid', 'x-bar') threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML 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 Error: NamespaceError: DOM Exception 14.
+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 fooParsed instanceof fooConstructor is true
PASS barParsed instanceof barConstructor is true
PASS isFormControl(barParsed) is true
« no previous file with comments | « LayoutTests/fast/dom/custom/document-register-type-extensions.html ('k') | LayoutTests/fast/dom/dataset-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698