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

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

Issue 130193003: Make the second argument to Element.setAttribute non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/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 efa445950de8a0d5b34251138a1da3578e9c0906..3787a5cdce60f28e1fac30a9a0be3c1606ecb89f 100644
--- a/LayoutTests/fast/dom/Element/missing-arguments-expected.txt
+++ b/LayoutTests/fast/dom/Element/missing-arguments-expected.txt
@@ -10,7 +10,8 @@ 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.setAttribute() threw exception TypeError: Failed to execute 'setAttribute' 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..
« no previous file with comments | « LayoutTests/fast/dom/Element/missing-arguments.html ('k') | LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload-set.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698