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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/exceptions.html

Issue 1493673002: Drop [LegacyInterfaceTypeChecking] for HTMLTableElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/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 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(philipj): Setting caption/tHead/tFoot to null should not throw
13 // an exception, it should just remove the old caption/thead/tfoot.
14 shouldThrow("t.caption = null");
15 shouldThrow("t.caption = document.body");
16
17 shouldThrow("t.tHead = null");
18 shouldThrow("t.tHead = document.body");
19
20 shouldThrow("t.tFoot = null");
21 shouldThrow("t.tFoot = document.body");
22
12 shouldThrow("t.insertRow(-2)"); 23 shouldThrow("t.insertRow(-2)");
13 shouldThrow("t.insertRow(1)"); 24 shouldThrow("t.insertRow(1)");
14 25
15 t.insertRow(); 26 t.insertRow();
16 27
17 shouldThrow("t.deleteRow(-2)"); 28 shouldThrow("t.deleteRow(-2)");
18 shouldThrow("t.deleteRow(2)"); 29 shouldThrow("t.deleteRow(2)");
19 shouldThrow("t.deleteRow()"); 30 shouldThrow("t.deleteRow()");
20 </script> 31 </script>
21 </body> 32 </body>
22 </html> 33 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698