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

Side by Side Diff: LayoutTests/fast/dom/HTMLTableRowElement/exceptions-expected.txt

Issue 1221473004: The index argument for HTMLTableRowElement deleteCell() api should not be optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
OLDNEW
1 This test should trigger exceptions on HTMLTableRowElement, and verify that the messages are reasonably helpful. 1 This test should trigger exceptions on HTMLTableRowElement, and verify that the messages are reasonably helpful.
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 tr.insertCell(-2) threw exception IndexSizeError: Failed to execute 'insert Cell' on 'HTMLTableRowElement': The value provided (-2) is outside the range [-1 , 0].. 6 PASS tr.insertCell(-2) threw exception IndexSizeError: Failed to execute 'insert Cell' on 'HTMLTableRowElement': The value provided (-2) is outside the range [-1 , 0]..
7 PASS tr.insertCell(1) threw exception IndexSizeError: Failed to execute 'insertC ell' on 'HTMLTableRowElement': The value provided (1) is outside the range [-1, 0].. 7 PASS tr.insertCell(1) threw exception IndexSizeError: Failed to execute 'insertC ell' on 'HTMLTableRowElement': The value provided (1) is outside the range [-1, 0]..
8 PASS tr.deleteCell(-2) threw exception IndexSizeError: Failed to execute 'delete Cell' on 'HTMLTableRowElement': The value provided (-2) is outside the range [0, 1).. 8 PASS tr.deleteCell(-2) threw exception IndexSizeError: Failed to execute 'delete Cell' on 'HTMLTableRowElement': The value provided (-2) is outside the range [0, 1)..
9 PASS tr.deleteCell(2) threw exception IndexSizeError: Failed to execute 'deleteC ell' on 'HTMLTableRowElement': The value provided (2) is outside the range [0, 1 ).. 9 PASS tr.deleteCell(2) threw exception IndexSizeError: Failed to execute 'deleteC ell' on 'HTMLTableRowElement': The value provided (2) is outside the range [0, 1 )..
10 PASS tr.deleteCell() threw exception TypeError: Failed to execute 'deleteCell' o n 'HTMLTableRowElement': 1 argument required, but only 0 present..
10 PASS successfullyParsed is true 11 PASS successfullyParsed is true
11 12
12 TEST COMPLETE 13 TEST COMPLETE
13 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698