[Webkit-unassigned] [Bug 68791] [meta] Remove init*Event methods

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 2 10:59:13 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68791





--- Comment #12 from Adam Barth <abarth at webkit.org>  2011-11-02 10:59:13 PST ---
> Should these events be removed from EventFactory.in at the same time? createEvent('ProgressEvent') does not seem useful without initProgressEvent, for example.

That will effect the JS wrapper selection as well.  When the IDL says Event, the bindings actually return a wrapper for the actual type of the Event.  EventFactory.in provides an enumeration of all the event interfaces.

IMHO, there isn't anything to be gained by preventing these objects from being created by createEvent.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list