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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/exceptions.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/exceptions.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/exceptions.html
index 52362810b855886a23f8389a8d289733cbedf8ed..b2389f0d11fee99bfa1b4687d3e217e53ad43f3f 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/exceptions.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/exceptions.html
@@ -9,6 +9,17 @@
var t = document.createElement('table');
+ // TODO(philipj): Setting caption/tHead/tFoot to null should not throw
+ // an exception, it should just remove the old caption/thead/tfoot.
+ shouldThrow("t.caption = null");
+ shouldThrow("t.caption = document.body");
+
+ shouldThrow("t.tHead = null");
+ shouldThrow("t.tHead = document.body");
+
+ shouldThrow("t.tFoot = null");
+ shouldThrow("t.tFoot = document.body");
+
shouldThrow("t.insertRow(-2)");
shouldThrow("t.insertRow(1)");
« 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