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

Unified Diff: LayoutTests/fast/dom/Element/attr-param-typechecking-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/Element/attr-param-typechecking-expected.txt
diff --git a/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt b/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt
index 77908cfd51313e0ca8f4f4fd65449cc251b9bd1e..62a101f39c872f7232b265cacc765a9ab6fd0b8b 100644
--- a/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt
+++ b/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt
@@ -3,18 +3,18 @@ This test checks whether passing wrong types to setAttributeNode causes a crash.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS element.setAttributeNode("style"); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.setAttributeNode(null); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.setAttributeNode(undefined); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.setAttributeNode(new Object); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.removeAttributeNode("style"); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.removeAttributeNode(null); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.removeAttributeNode(undefined); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.removeAttributeNode(new Object); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.setAttributeNodeNS("style"); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.setAttributeNodeNS(null); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.setAttributeNodeNS(undefined); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS element.setAttributeNodeNS(new Object); threw exception Error: TypeMismatchError: DOM Exception 17.
+PASS element.setAttributeNode("style"); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.setAttributeNode(null); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.setAttributeNode(undefined); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.setAttributeNode(new Object); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.removeAttributeNode(null); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.removeAttributeNode(undefined); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.setAttributeNodeNS("style"); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.setAttributeNodeNS(null); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.setAttributeNodeNS(undefined); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS element.setAttributeNodeNS(new Object); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698