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

Side by Side Diff: third_party/WebKit/LayoutTests/html/tabular_data/tr_exceptions.html

Issue 2785963002: Move tests for table elements to LayoutTests/html/tabular_data/. (Closed)
Patch Set: Created 3 years, 8 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 <!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 shouldThrow("tr.deleteCell()");
20 </script> 20 </script>
21 </body> 21 </body>
22 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698