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

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

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | « LayoutTests/fast/html/imports/import-insert.html ('k') | LayoutTests/fast/html/imports/import-remove.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/html/imports/import-onload.html
diff --git a/LayoutTests/fast/html/imports/import-onload.html b/LayoutTests/fast/html/imports/import-onload.html
index 80b79108529b320db669e2cc349f82b5f48e7404..ed932641c097d724f60a45080dcb581047c7c45e 100644
--- a/LayoutTests/fast/html/imports/import-onload.html
+++ b/LayoutTests/fast/html/imports/import-onload.html
@@ -3,6 +3,7 @@
<head>
<script src="../../js/resources/js-test-pre.js"></script>
<script>
+window.jsTestIsAsync = true;
testRunner.waitUntilDone();
var givenLoadEventTargets = [];
@@ -11,7 +12,7 @@ function handleLoad(event)
givenLoadEventTargets.push(event.target.id);
if (givenLoadEventTargets.length == 4) {
shouldBe("['bye', 'hello1', 'hello2', 'hello3']", "givenLoadEventTargets.sort()");
- testRunner.notifyDone();
+ finishJSTest();
}
}
</script>
@@ -28,6 +29,5 @@ linkToInsert.onload = handleLoad;
document.head.appendChild(linkToInsert);
</script>
<link id="hello3" rel="import" href="resources/hello.html" onload="handleLoad(event)">
-<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
« no previous file with comments | « LayoutTests/fast/html/imports/import-insert.html ('k') | LayoutTests/fast/html/imports/import-remove.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698