| Index: LayoutTests/svg/dom/SVGSVGElement-currentTime.html
|
| diff --git a/LayoutTests/svg/dom/SVGSVGElement-currentTime.html b/LayoutTests/svg/dom/SVGSVGElement-currentTime.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e7ca99baa512d7a27aebcb13719e0053e071ddd4
|
| --- /dev/null
|
| +++ b/LayoutTests/svg/dom/SVGSVGElement-currentTime.html
|
| @@ -0,0 +1,28 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| +<svg id="svg" xmlns="http://www.w3.org/2000/svg" width="200" height="200"></svg>
|
| +<script>
|
| +description("Calling svgElement.setCurrentTime() with a non-finite value should throw.");
|
| +
|
| +self.jsTestIsAsync = true;
|
| +
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| +}
|
| +
|
| +function runTest()
|
| +{
|
| + svgElement = document.getElementById("svg");
|
| + shouldThrow("svgElement.setCurrentTime(NaN)");
|
| + shouldThrow("svgElement.setCurrentTime(Infinity)");
|
| + finishJSTest();
|
| +}
|
| +window.onload = runTest;
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|