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

Unified Diff: Source/core/events/Event.idl

Issue 1233233003: Add Event.isTrusted support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master_event_trusted_main2
Patch Set: Add back Unforgeable Created 5 years, 5 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: Source/core/events/Event.idl
diff --git a/Source/core/events/Event.idl b/Source/core/events/Event.idl
index 0a40ba6635cb58d72e994a51b97c9802e4ba2847..462e8103bb074e0ba72fa4eebb36ca1121cb5695 100644
--- a/Source/core/events/Event.idl
+++ b/Source/core/events/Event.idl
@@ -43,8 +43,7 @@
void preventDefault();
readonly attribute boolean defaultPrevented;
- // FIXME: Implement the isTrusted attribute. crbug.com/334015
- // [Unforgeable] readonly attribute boolean isTrusted;
+ [RuntimeEnabled=TrustedEvents, Unforgeable ] readonly attribute boolean isTrusted;
tkent 2015/07/16 03:29:37 nit: remove space before ]
dtapuska 2015/07/16 14:48:22 Done.
readonly attribute DOMTimeStamp timeStamp;
// FIXME: initEvent()'s arguments should not be optional.

Powered by Google App Engine
This is Rietveld 408576698