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

Side by Side Diff: third_party/WebKit/LayoutTests/html/tabular_data/table_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 HTMLTableElement, an d verify that the messages are reasonably helpful."); 8 description("This test should trigger exceptions on HTMLTableElement, an d verify that the messages are reasonably helpful.");
9 9
10 var t = document.createElement('table'); 10 var t = document.createElement('table');
11 11
12 // TODO(foolip): Setting caption/tHead to null should not throw 12 // TODO(foolip): Setting caption/tHead to null should not throw
13 // an exception, it should just remove the old caption/thead. 13 // an exception, it should just remove the old caption/thead.
14 shouldThrow("t.caption = null"); 14 shouldThrow("t.caption = null");
(...skipping 12 matching lines...) Expand all
27 shouldThrow("t.insertRow(1)"); 27 shouldThrow("t.insertRow(1)");
28 28
29 t.insertRow(); 29 t.insertRow();
30 30
31 shouldThrow("t.deleteRow(-2)"); 31 shouldThrow("t.deleteRow(-2)");
32 shouldThrow("t.deleteRow(2)"); 32 shouldThrow("t.deleteRow(2)");
33 shouldThrow("t.deleteRow()"); 33 shouldThrow("t.deleteRow()");
34 </script> 34 </script>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698