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

Unified Diff: LayoutTests/fast/dom/Element/missing-arguments-expected.txt

Issue 737133002: Make arguments to some Document and Element methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase+adapt 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
« no previous file with comments | « LayoutTests/fast/dom/Element/missing-arguments.html ('k') | LayoutTests/fast/dom/wrapper-classes.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Element/missing-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/Element/missing-arguments-expected.txt b/LayoutTests/fast/dom/Element/missing-arguments-expected.txt
index 3787a5cdce60f28e1fac30a9a0be3c1606ecb89f..875120763b950afe2a94a3a1db23783eac7c720a 100644
--- a/LayoutTests/fast/dom/Element/missing-arguments-expected.txt
+++ b/LayoutTests/fast/dom/Element/missing-arguments-expected.txt
@@ -1,6 +1,10 @@
+CONSOLE WARNING: 'Element.setAttributeNodeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom).
PASS element.getAttribute() threw exception TypeError: Failed to execute 'getAttribute' on 'Element': 1 argument required, but only 0 present..
PASS element.getAttributeNS() threw exception TypeError: Failed to execute 'getAttributeNS' on 'Element': 2 arguments required, but only 0 present..
PASS element.getAttributeNS('http://example.com/') threw exception TypeError: Failed to execute 'getAttributeNS' on 'Element': 2 arguments required, but only 1 present..
+PASS element.getAttributeNode() threw exception TypeError: Failed to execute 'getAttributeNode' on 'Element': 1 argument required, but only 0 present..
+PASS element.getAttributeNodeNS() threw exception TypeError: Failed to execute 'getAttributeNodeNS' on 'Element': 2 arguments required, but only 0 present..
+PASS element.getAttributeNodeNS('http://www.w3.org/2000/svg') threw exception TypeError: Failed to execute 'getAttributeNodeNS' on 'Element': 2 arguments required, but only 1 present..
PASS element.getElementsByClassName() threw exception TypeError: Failed to execute 'getElementsByClassName' on 'Element': 1 argument required, but only 0 present..
PASS element.getElementsByTagName() threw exception TypeError: Failed to execute 'getElementsByTagName' on 'Element': 1 argument required, but only 0 present..
PASS element.getElementsByTagNameNS() threw exception TypeError: Failed to execute 'getElementsByTagNameNS' on 'Element': 2 arguments required, but only 0 present..
@@ -10,11 +14,14 @@ PASS element.hasAttributeNS('http://example.com/') threw exception TypeError: Fa
PASS element.removeAttribute() threw exception TypeError: Failed to execute 'removeAttribute' on 'Element': 1 argument required, but only 0 present..
PASS element.removeAttributeNS() threw exception TypeError: Failed to execute 'removeAttributeNS' on 'Element': 2 arguments required, but only 0 present..
PASS element.removeAttributeNS('http://example.com/') threw exception TypeError: Failed to execute 'removeAttributeNS' on 'Element': 2 arguments required, but only 1 present..
+PASS element.removeAttributeNode() threw exception TypeError: Failed to execute 'removeAttributeNode' on 'Element': 1 argument required, but only 0 present..
PASS element.setAttribute() threw exception TypeError: Failed to execute 'setAttribute' on 'Element': 2 arguments required, but only 0 present..
PASS element.setAttribute('example') threw exception TypeError: Failed to execute 'setAttribute' on 'Element': 2 arguments required, but only 1 present..
PASS element.setAttributeNS() threw exception TypeError: Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only 0 present..
PASS element.setAttributeNS('http://example.com/') threw exception TypeError: Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only 1 present..
PASS element.setAttributeNS('http://example.com/', 'example') threw exception TypeError: Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only 2 present..
+PASS element.setAttributeNode() threw exception TypeError: Failed to execute 'setAttributeNode' on 'Element': 1 argument required, but only 0 present..
+PASS element.setAttributeNodeNS() threw exception TypeError: Failed to execute 'setAttributeNodeNS' on 'Element': 1 argument required, but only 0 present..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/dom/Element/missing-arguments.html ('k') | LayoutTests/fast/dom/wrapper-classes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698