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

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

Issue 2785963002: Move tests for table elements to LayoutTests/html/tabular_data/. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index f88742b990faf6cb0999ed88292c963346939d05..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/exceptions.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <script src="../../../resources/js-test.js"></script>
-</head>
-<body>
- <script>
- description("This test should trigger exceptions on HTMLTableElement, and verify that the messages are reasonably helpful.");
-
- var t = document.createElement('table');
-
- // TODO(foolip): Setting caption/tHead to null should not throw
- // an exception, it should just remove the old caption/thead.
- shouldThrow("t.caption = null");
- shouldThrow("t.caption = document.body");
-
- shouldThrow("t.tHead = null");
- shouldThrow("t.tHead = document.body");
-
- shouldBe("t.createTFoot()", "t.tFoot");
- shouldBeNonNull("t.tFoot");
- shouldNotThrow("t.tFoot = null");
- shouldBeNull("t.tFoot");
- shouldThrow("t.tFoot = document.body");
-
- shouldThrow("t.insertRow(-2)");
- shouldThrow("t.insertRow(1)");
-
- t.insertRow();
-
- shouldThrow("t.deleteRow(-2)");
- shouldThrow("t.deleteRow(2)");
- shouldThrow("t.deleteRow()");
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698