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

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

Issue 1005193002: Sync the Event, EventTarget and CustomEvent interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | « no previous file | Source/core/events/Event.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 9add72f557d999b247b76b1acb993b6dfc2ce3db..072cc26af4daf282b635816078fdf9479d32219f 100644
--- a/Source/core/events/CustomEvent.idl
+++ b/Source/core/events/CustomEvent.idl
@@ -23,12 +23,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://dom.spec.whatwg.org/#interface-customevent
+
[
EventConstructor,
Exposed=(Window,Worker)
] interface CustomEvent : Event {
[Custom=Getter, InitializedByEventConstructor] readonly attribute any detail;
+ // FIXME: initCustomEvent()'s arguments should not be optional.
[Custom] void initCustomEvent([Default=Undefined] optional DOMString typeArg,
[Default=Undefined] optional boolean canBubbleArg,
[Default=Undefined] optional boolean cancelableArg,
« no previous file with comments | « no previous file | Source/core/events/Event.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698