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

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

Issue 1989463002: Deprecate invoking the default action for untrusted events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_dom_event_deprecation
Patch Set: Created 4 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: 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 ab1e9519d4a06dcf51cc57e8ac4aa7ec9f8b28ec..6329909f5df37174afe1a977f4ba83daf8ffcdac 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -388,6 +388,9 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature)
case UseCounter::MediaStreamOnEnded:
return replacedWillBeRemoved("The MediaStream 'ended' event", "the MediaStream 'inactive' event", 53, "5730404371791872");
+ case UseCounter::UntrustedEventDefaultHandled:
+ return willBeRemoved("Performing default actions on untrusted events", 53, "5718803933560832");
Rick Byers 2016/05/17 17:34:28 I'm a little worried that developers may see this
dtapuska 2016/05/17 19:32:42 Done.
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « third_party/WebKit/Source/core/events/EventDispatcher.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698