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

Unified Diff: LayoutTests/fast/html/imports/import-async.html

Issue 265453003: HTML Imports: Let dynamically-added imports sync. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing. Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/html/imports/import-async-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/html/imports/import-async.html
diff --git a/LayoutTests/fast/html/imports/import-async.html b/LayoutTests/fast/html/imports/import-async.html
deleted file mode 100644
index 01bac3e25237d87dcf725a4b62fad52d7a33c128..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/html/imports/import-async.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-description("This test ensures that script-added import doesn't block scripts");
-
-window.jsTestIsAsync = true;
-
-var importIsLoaded = false;
-var scriptIsExecuted = false;
-
-var linkEl = document.createElement("link");
-linkEl.setAttribute("rel", "import");
-linkEl.setAttribute("href", "resources/async-child.html");
-document.head.appendChild(linkEl);
-linkEl.onload = function(evt) {
- debug("In onload handler - This should be called later.");
- shouldBeTrue("importIsLoaded");
- shouldBeTrue("scriptIsExecuted");
- finishJSTest();
-};
-
-</script>
-<script>
-debug("In script tag - This should be called first.");
-shouldBeFalse("importIsLoaded");
-scriptIsExecuted = true;
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/html/imports/import-async-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698