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

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: Fix nits 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
« no previous file with comments | « Source/core/events/Event.cpp ('k') | Source/core/events/EventTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/Event.idl
diff --git a/Source/core/events/Event.idl b/Source/core/events/Event.idl
index 0a40ba6635cb58d72e994a51b97c9802e4ba2847..07398122bdfe586dfe239ebb2290f36e479dab37 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;
readonly attribute DOMTimeStamp timeStamp;
// FIXME: initEvent()'s arguments should not be optional.
« no previous file with comments | « Source/core/events/Event.cpp ('k') | Source/core/events/EventTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698