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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/onunload-clears-onbeforeunload.html

Issue 2694903007: Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: creis comments Created 3 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/onunload-clears-onbeforeunload.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/onunload-clears-onbeforeunload.html b/third_party/WebKit/LayoutTests/fast/events/onunload-clears-onbeforeunload.html
index fa1d2ae5c5dbcb402984565e5421734f86194083..8fd5b759312e5d1b2853a37c0ef5ab592d37ec23 100644
--- a/third_party/WebKit/LayoutTests/fast/events/onunload-clears-onbeforeunload.html
+++ b/third_party/WebKit/LayoutTests/fast/events/onunload-clears-onbeforeunload.html
@@ -9,7 +9,7 @@ if (window.testRunner) {
}
window.addEventListener('beforeunload', before, false);
-window.onunload = unload;
+window.onunload = unload;
function before()
{
@@ -24,7 +24,7 @@ function unload()
function load()
{
- location = "data:text/html,If you didn't hit an assert you PASS.<script>if (window.testRunner) testRunner.notifyDone(); </" + "script>";
+ location = "resources/onunload-clears-onbeforeunload-success.html";
}
</script>

Powered by Google App Engine
This is Rietveld 408576698