| Index: LayoutTests/svg/custom/loadevents-async.html
|
| diff --git a/LayoutTests/svg/custom/loadevents-async.html b/LayoutTests/svg/custom/loadevents-async.html
|
| deleted file mode 100644
|
| index e624e902ca45a29871b0077bc84e1b73ee860701..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/svg/custom/loadevents-async.html
|
| +++ /dev/null
|
| @@ -1,30 +0,0 @@
|
| -<!DOCTYPE HTML>
|
| -<html>
|
| -<head>
|
| -<script src="../../resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<script>
|
| -description("This test ensures that tree mutation on the load doesn't break consistency.");
|
| -var invoked = false;
|
| -var spanElement = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
|
| -var divElement = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
|
| -var useElement = document.createElementNS("http://www.w3.org/2000/svg", "use");
|
| -var emptyDocument = document.implementation.createDocument("", "", null);
|
| -
|
| -document.body.appendChild(spanElement);
|
| -divElement.appendChild(useElement);
|
| -useElement.addEventListener("load", function () { emptyDocument.adoptNode(useElement); invoked = true; }, false);
|
| -spanElement.appendChild(divElement);
|
| -document.body.appendChild(useElement);
|
| -shouldBeFalse("invoked");
|
| -
|
| -jsTestIsAsync = true;
|
| -setTimeout(function() {
|
| - shouldBeTrue("invoked");
|
| - finishJSTest();
|
| -}, 1);
|
| -
|
| -</script>
|
| -<body>
|
| -</html>
|
|
|