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

Unified Diff: LayoutTests/fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index.html

Issue 14028014: Remove MicroData implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also delete all the tests Created 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index.html
diff --git a/LayoutTests/fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index.html b/LayoutTests/fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index.html
deleted file mode 100644
index 5db39ce090dd32d043d285d25fbb55fdbe7aa7e8..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<div itemtype="" id="mydiv"></div>
-<script>
-description("This test verifies itemType[index], itemRef[index], itemProp[index] behavior for out-of-range index.");
-
-debug("Test itemType[index]");
-var element = document.getElementById("mydiv");
-shouldBeNull("element.itemType.item(0)");
-shouldBeUndefined("element.itemType[0]");
-element.itemType.add("foo");
-shouldBeNull("element.itemType.item(1)");
-shouldBeUndefined("element.itemType[1]");
-element.itemType.remove("foo");
-shouldBeNull("element.itemType.item(0)");
-shouldBeUndefined("element.itemType[0]");
-//Test with invalid index
-shouldBeNull("element.itemType.item(-1)");
-shouldBeUndefined("element.itemType[-1]");
-
-debug("\nTest itemRef[index]");
-var element = document.getElementById("mydiv");
-shouldBeNull("element.itemRef.item(0)");
-shouldBeUndefined("element.itemRef[0]");
-element.itemRef.add("foo");
-shouldBeNull("element.itemRef.item(1)");
-shouldBeUndefined("element.itemRef[1]");
-element.itemRef.remove("foo");
-shouldBeNull("element.itemRef.item(0)");
-shouldBeUndefined("element.itemRef[0]");
-//Test with invalid index
-shouldBeNull("element.itemRef.item(-1)");
-shouldBeUndefined("element.itemRef[-1]");
-
-debug("\nTest itemProp[index]");
-var element = document.getElementById("mydiv");
-shouldBeNull("element.itemProp.item(0)");
-shouldBeUndefined("element.itemProp[0]");
-element.itemProp.add("foo");
-shouldBeNull("element.itemProp.item(1)");
-shouldBeUndefined("element.itemProp[1]");
-element.itemProp.remove("foo");
-shouldBeNull("element.itemProp.item(0)");
-shouldBeUndefined("element.itemProp[0]");
-//Test with invalid index
-shouldBeNull("element.itemProp.item(-1)");
-shouldBeUndefined("element.itemProp[-1]");
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698