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

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

Issue 1130763006: IDL: Add any support to IDL dictionary and use it in CustomEventInit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/core/events/CustomEvent.cpp ('k') | Source/core/events/CustomEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/CustomEvent.idl
diff --git a/Source/core/events/CustomEvent.idl b/Source/core/events/CustomEvent.idl
index 072cc26af4daf282b635816078fdf9479d32219f..86aad716be09bf0dd42ccf8e3c2d79101a0e2495 100644
--- a/Source/core/events/CustomEvent.idl
+++ b/Source/core/events/CustomEvent.idl
@@ -26,10 +26,10 @@
// https://dom.spec.whatwg.org/#interface-customevent
[
- EventConstructor,
- Exposed=(Window,Worker)
+ Constructor(DOMString type, optional CustomEventInit eventInitDict),
+ Exposed=(Window,Worker),
] interface CustomEvent : Event {
- [Custom=Getter, InitializedByEventConstructor] readonly attribute any detail;
+ [Custom=Getter] readonly attribute any detail;
// FIXME: initCustomEvent()'s arguments should not be optional.
[Custom] void initCustomEvent([Default=Undefined] optional DOMString typeArg,
« no previous file with comments | « Source/core/events/CustomEvent.cpp ('k') | Source/core/events/CustomEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698