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

Unified Diff: core/events/CustomEvent.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/events/CompositionEventInit.idl ('k') | core/events/CustomEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/events/CustomEvent.idl
diff --git a/core/events/CustomEvent.idl b/core/events/CustomEvent.idl
index 4ad348b3126903515d4be1c39d1f68abec2aa6f2..4d4cb085c639989686d3f31d2cb996645c8f84df 100644
--- a/core/events/CustomEvent.idl
+++ b/core/events/CustomEvent.idl
@@ -23,13 +23,17 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://dom.spec.whatwg.org/#interface-customevent
+
[
- EventConstructor,
+ 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;
- [Custom] void initCustomEvent([Default=Undefined] optional DOMString typeArg,
- [Default=Undefined] optional boolean canBubbleArg,
- [Default=Undefined] optional boolean cancelableArg,
- [Default=Undefined] optional any detailArg);
+ // FIXME: initCustomEvent()'s arguments should not be optional.
+ [Custom, Measure] void initCustomEvent([Default=Undefined] optional DOMString type,
+ [Default=Undefined] optional boolean bubbles,
+ [Default=Undefined] optional boolean cancelable,
+ [Default=Undefined] optional any detail);
};
« no previous file with comments | « core/events/CompositionEventInit.idl ('k') | core/events/CustomEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698