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)"); |