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

Side by Side Diff: LayoutTests/fast/dom/Element/client-rect-list-argument-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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
1 Tests that the ClientRectList.item() argument is correctly validated. 1 Tests that the ClientRectList.item() argument is correctly validated.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS clientRects.__proto__ is ClientRectList.prototype 6 PASS clientRects.__proto__ is ClientRectList.prototype
7 PASS clientRects.length is 3 7 PASS clientRects.length is 3
8 PASS clientRects.item(0) is not null 8 PASS clientRects.item(0) is not null
9 PASS clientRects.item(1) is not null 9 PASS clientRects.item(1) is not null
10 PASS clientRects.item(2) is not null 10 PASS clientRects.item(2) is not null
11 PASS clientRects.item() threw exception TypeError: Not enough arguments. 11 PASS clientRects.item() threw exception TypeError: Failed to execute 'item' on ' ClientRectList': 1 argument required, but only 0 present..
12 PASS clientRects.item(-4294967294) is clientRects.item(2) 12 PASS clientRects.item(-4294967294) is clientRects.item(2)
13 PASS clientRects.item(3) is null 13 PASS clientRects.item(3) is null
14 PASS clientRects.item(999) is null 14 PASS clientRects.item(999) is null
15 PASS clientRects.item(-1) is null 15 PASS clientRects.item(-1) is null
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 14. Block in inline 19 14. Block in inline
20 20
21 Lorem 21 Lorem
22 ipsum 22 ipsum
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698