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

Side by Side Diff: LayoutTests/fast/dom/nodelist-item-parameter-expected.txt

Issue 21766002: NodeList.item() does not behave according to specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplify link tag Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests that the NodeList.item() argument is correctly validated.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS nodeList.__proto__ is NodeList.prototype
7 PASS nodeList.item(0).id is "a"
8 PASS nodeList.item(1).id is "b"
9 PASS nodeList.item(2) is null
10 PASS nodeList.item(-1) is null
11 PASS nodeList.item(-4294967295).id is "b"
12 PASS nodeList.item() threw exception TypeError: Not enough arguments.
13 PASS successfullyParsed is true
14
15 TEST COMPLETE
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698