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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/before-unload-crash.html

Issue 1475863005: [Async][WIP] Call FrameLoader::checkCompleted() asynchronously to avoid sync body.onload() Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 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
Index: third_party/WebKit/LayoutTests/fast/events/before-unload-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/before-unload-crash.html b/third_party/WebKit/LayoutTests/fast/events/before-unload-crash.html
index d9a47930b3189dd2b2125aeb9e0351176e5b945b..f2dece62bc035948c40c2afcbca1f6cc5eda2407 100644
--- a/third_party/WebKit/LayoutTests/fast/events/before-unload-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/events/before-unload-crash.html
@@ -1,8 +1,11 @@
<script src="../../resources/js-test.js"></script>
<script>
+var jsTestIsAsync = true;
+
function test(iframe) {
iframe.contentWindow.location.href = "resources/does-not-exist.html";
testPassed('if no crash');
+ finishJSTest();
}
</script>
<iframe id=testIframe onload="test(this)"></iframe>

Powered by Google App Engine
This is Rietveld 408576698