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

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: testharness.js 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 6cc44aec2804bbc1f7d475f90540a7ed5021a5ae..4abc6a5cd0a437f4e765e46a20db14d9578e6e52 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -360,9 +360,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