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

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

Issue 98543009: Make arguments to Element methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix failing tests Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 PASS element.getAttribute() threw exception TypeError: Failed to execute 'getAtt ribute' on 'Element': 1 argument required, but only 0 present..
2 PASS element.getAttributeNS() threw exception TypeError: Failed to execute 'getA ttributeNS' on 'Element': 2 arguments required, but only 0 present..
3 PASS element.getAttributeNS('http://example.com/') threw exception TypeError: Fa iled to execute 'getAttributeNS' on 'Element': 2 arguments required, but only 1 present..
4 PASS element.getElementsByClassName() threw exception TypeError: Failed to execu te 'getElementsByClassName' on 'Element': 1 argument required, but only 0 presen t..
5 PASS element.getElementsByTagName() threw exception TypeError: Failed to execute 'getElementsByTagName' on 'Element': 1 argument required, but only 0 present..
6 PASS element.getElementsByTagNameNS() threw exception TypeError: Failed to execu te 'getElementsByTagNameNS' on 'Element': 2 arguments required, but only 0 prese nt..
7 PASS element.getElementsByTagNameNS('http://example.com/') threw exception TypeE rror: Failed to execute 'getElementsByTagNameNS' on 'Element': 2 arguments requi red, but only 1 present..
8 PASS element.hasAttributeNS() threw exception TypeError: Failed to execute 'hasA ttributeNS' on 'Element': 2 arguments required, but only 0 present..
9 PASS element.hasAttributeNS('http://example.com/') threw exception TypeError: Fa iled to execute 'hasAttributeNS' on 'Element': 2 arguments required, but only 1 present..
10 PASS element.removeAttribute() threw exception TypeError: Failed to execute 'rem oveAttribute' on 'Element': 1 argument required, but only 0 present..
11 PASS element.removeAttributeNS() threw exception TypeError: Failed to execute 'r emoveAttributeNS' on 'Element': 2 arguments required, but only 0 present..
12 PASS element.removeAttributeNS('http://example.com/') threw exception TypeError: Failed to execute 'removeAttributeNS' on 'Element': 2 arguments required, but o nly 1 present..
13 PASS element.setAttribute() threw exception TypeError: Failed to execute 'setAtt ribute' on 'Element': 2 arguments required, but only 0 present..
14 PASS element.setAttribute('example') threw exception TypeError: Failed to execut e 'setAttribute' on 'Element': 2 arguments required, but only 1 present..
15 PASS element.setAttributeNS() threw exception TypeError: Failed to execute 'setA ttributeNS' on 'Element': 3 arguments required, but only 0 present..
16 PASS element.setAttributeNS('http://example.com/') threw exception TypeError: Fa iled to execute 'setAttributeNS' on 'Element': 3 arguments required, but only 1 present..
17 PASS element.setAttributeNS('http://example.com/', 'example') threw exception Ty peError: Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only 2 present..
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698