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

Unified Diff: LayoutTests/svg/custom/loadevents-async.html

Issue 134263003: Followup fixes for bug 332066. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/svg/custom/loadevents-async-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/loadevents-async-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698