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

Side by Side Diff: LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-expected.txt

Issue 21834002: HTMLSelectElement.item() does not behave according to specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move test as advised 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 HTMLSelectElement.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 select.__proto__ is HTMLSelectElement.prototype
7 PASS select.item(0).value is "a"
8 PASS select.item(1).value is "b"
9 PASS select.item(2).value is "c"
10 PASS select.item(3).value is "d"
11 PASS select.item(4) is null
12 PASS select.item(-1) is null
13 PASS select.item(-4294967294).value is "c"
14 PASS select.item() threw exception TypeError: Not enough arguments.
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698