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

Side by Side Diff: LayoutTests/fast/dom/HTMLTableRowElement/exceptions.html

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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLTableRowElement/exceptions-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("This test should trigger exceptions on HTMLTableRowElement, and verify that the messages are reasonably helpful."); 8 description("This test should trigger exceptions on HTMLTableRowElement, and verify that the messages are reasonably helpful.");
9 9
10 var tr = document.createElement('tr'); 10 var tr = document.createElement('tr');
11 11
12 shouldThrow("tr.insertCell(-2)"); 12 shouldThrow("tr.insertCell(-2)");
13 shouldThrow("tr.insertCell(1)"); 13 shouldThrow("tr.insertCell(1)");
14 14
15 tr.insertCell(); 15 tr.insertCell();
16 16
17 shouldThrow("tr.deleteCell(-2)"); 17 shouldThrow("tr.deleteCell(-2)");
18 shouldThrow("tr.deleteCell(2)"); 18 shouldThrow("tr.deleteCell(2)");
19 shouldThrow("tr.deleteCell()");
19 </script> 20 </script>
20 </body> 21 </body>
21 </html> 22 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLTableRowElement/exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698