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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2206843003: Disable navigations in the unload handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index 403de9e6c787cc4e75540122f565fbc32c27134d..0f379f26727569d56c1708b2f0a38910b449849f 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -373,9 +373,6 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature)
case UseCounter::UntrustedEventDefaultHandled:
return String::format("A DOM event generated from JavaScript has triggered a default action inside the browser. This behavior is non-standard and will be removed in %s. See https://www.chromestatus.com/features/5718803933560832 for more details.", milestoneString(53));
- case UseCounter::UnloadHandler_Navigation:
- return "Navigating in the unload handler is deprecated and will be removed.";
-
case UseCounter::TouchStartUserGestureUtilized:
return willBeRemoved("Performing operations that require explicit user interaction on touchstart events", 54, "5649871251963904");

Powered by Google App Engine
This is Rietveld 408576698