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

Unified Diff: LayoutTests/fast/events/only-valid-drop-targets-receive-file-drop.html

Issue 181493007: Don't stop the documentLoader on navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectation Created 6 years, 7 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: LayoutTests/fast/events/only-valid-drop-targets-receive-file-drop.html
diff --git a/LayoutTests/fast/events/only-valid-drop-targets-receive-file-drop.html b/LayoutTests/fast/events/only-valid-drop-targets-receive-file-drop.html
index 08cb537b48a75696b3a43bc13cc4597e3e3d87b9..0ef77a214e959e2ae284c3ddb91fd82e6a6b8f62 100644
--- a/LayoutTests/fast/events/only-valid-drop-targets-receive-file-drop.html
+++ b/LayoutTests/fast/events/only-valid-drop-targets-receive-file-drop.html
@@ -54,9 +54,10 @@ window.onload = function()
testRunner.dumpAsText();
testRunner.waitUntilDone();
- window.addEventListener('beforeunload', function () {
+ window.addEventListener('beforeunload', function (e) {
if (!dropReceived)
log('Drop not received');
+ e.preventDefault();
testRunner.notifyDone();
});

Powered by Google App Engine
This is Rietveld 408576698