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

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

Issue 740223003: Revive tests for Document.createAttributeNS() and Element.setAttributeNodeNS() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: deprecation messages Created 6 years, 1 month 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 361da77b944cfeb72cde40d8783c21607dc542c3..96abb6fa163b16b4a47911980e31dec0bb3cb4ec 100644
--- a/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt
+++ b/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt
@@ -1,3 +1,4 @@
+CONSOLE WARNING: 'Element.setAttributeNodeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom).
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".
@@ -11,6 +12,10 @@ PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Fa
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 successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698