| Index: third_party/WebKit/LayoutTests/svg/dom/svglist-exception-on-out-bounds-error.html
|
| diff --git a/third_party/WebKit/LayoutTests/svg/dom/svglist-exception-on-out-bounds-error.html b/third_party/WebKit/LayoutTests/svg/dom/svglist-exception-on-out-bounds-error.html
|
| deleted file mode 100644
|
| index 31f1e9406d93a673518a561b207afb79986c637a..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/svg/dom/svglist-exception-on-out-bounds-error.html
|
| +++ /dev/null
|
| @@ -1,27 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -<script src="../../resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<p id="description"></p>
|
| -<div id="console"></div>
|
| -<script>
|
| - description("Tests that out of bounds accesses of SVGList correctly throw exceptions");
|
| - var path = document.createElementNS("http://www.w3.org/2000/svg","path");
|
| - var svgList = path.pathSegList;
|
| - var indicesToTest = [-Infinity, NaN, -1, 0, 1, Infinity];
|
| - for (var i = 0; i < indicesToTest.length; i++) {
|
| - var index = indicesToTest[i];
|
| - shouldThrow("svgList.getItem(index)");
|
| - shouldThrow("svgList.insertItemBefore(null, index)");
|
| - var seg = path.createSVGPathSegClosePath();
|
| - shouldBe("svgList.insertItemBefore(seg, index)", "seg");
|
| - svgList.removeItem(0);
|
| - shouldThrow("svgList.replaceItem(seg, index)");
|
| - shouldThrow("svgList.replaceItem(null, index)");
|
| - shouldThrow("svgList.removeItem(index)");
|
| - }
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|