Bug 21078 - EventInit should have default values for bubbles and cancelable
EventInit should have default values for bubbles and cancelable
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: DOM
unspecified
PC Linux
: P2 normal
: ---
Assigned To: Anne
public-webapps-bugzilla
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-21 19:02 UTC by Olli Pettay
Modified: 2013-02-22 12:31 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olli Pettay 2013-02-21 19:02:02 UTC
bubbles and cancelable are false by default when event is created, and
it would make the spec easier to understand if that was the
case in the dictionary too.
Also, in Gecko it simplifies the implementation if we have
default values.
Comment 1 Anne 2013-02-22 09:31:59 UTC
I don't see the point given document.createEvent(). Maybe for events that cannot be instantiated via that method?