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

Unified Diff: LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt

Issue 969363002: Add [TypeChecking=Interface] to Element interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/insertAdjacentElement-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 38046241942fe6f6e9d1102a923984cc58482248..c24b84334b301bb44cd1319ad8fe1974a26afeac 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 TypeMismatchError: Failed to execute 'setAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.setAttributeNode(null); threw exception TypeMismatchError: Failed to execute 'setAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.setAttributeNode(undefined); threw exception TypeMismatchError: Failed to execute 'setAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.setAttributeNode(new Object); threw exception TypeMismatchError: Failed to execute 'setAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.removeAttributeNode(null); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.removeAttributeNode(undefined); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.setAttributeNodeNS("style"); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.setAttributeNodeNS(null); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.setAttributeNodeNS(undefined); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
-PASS element.setAttributeNodeNS(new Object); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is either null, or an invalid Attr object..
+PASS element.setAttributeNode("style"); threw exception TypeError: Failed to execute 'setAttributeNode' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.setAttributeNode(null); threw exception TypeError: Failed to execute 'setAttributeNode' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.setAttributeNode(undefined); threw exception TypeError: Failed to execute 'setAttributeNode' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.setAttributeNode(new Object); threw exception TypeError: Failed to execute 'setAttributeNode' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.removeAttributeNode("style"); threw exception TypeError: Failed to execute 'removeAttributeNode' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.removeAttributeNode(null); threw exception TypeError: Failed to execute 'removeAttributeNode' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.removeAttributeNode(undefined); threw exception TypeError: Failed to execute 'removeAttributeNode' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.removeAttributeNode(new Object); threw exception TypeError: Failed to execute 'removeAttributeNode' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.setAttributeNodeNS("style"); threw exception TypeError: Failed to execute 'setAttributeNodeNS' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.setAttributeNodeNS(null); threw exception TypeError: Failed to execute 'setAttributeNodeNS' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.setAttributeNodeNS(undefined); threw exception TypeError: Failed to execute 'setAttributeNodeNS' on 'Element': parameter 1 is not of type 'Attr'..
+PASS element.setAttributeNodeNS(new Object); threw exception TypeError: Failed to execute 'setAttributeNodeNS' on 'Element': parameter 1 is not of type 'Attr'..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/insertAdjacentElement-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698