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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLTableRowElement/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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("This test should trigger exceptions on HTMLTableRowElement, and verify that the messages are reasonably helpful.");
9
10 var tr = document.createElement('tr');
11
12 shouldThrow("tr.insertCell(-2)");
13 shouldThrow("tr.insertCell(1)");
14
15 tr.insertCell();
16
17 shouldThrow("tr.deleteCell(-2)");
18 shouldThrow("tr.deleteCell(2)");
19 shouldThrow("tr.deleteCell()");
20 </script>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698