[Webkit-unassigned] [Bug 77835] [GObject bindings] EventListeners as first-class GObjects: WebKitDOMEventListener
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 21 08:35:32 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=77835
--- Comment #60 from C Anthony <anthony at xtfx.me> 2013-10-21 08:34:17 PST ---
oops, i missed that you found the "Rename to:" annotation, awesome!
if the goal is still to align with DOM spec, we might want to consider fixing the signature of addEventListener, which is (per the spec):
addEventListener(type, listener[, useCapture])
...vs what we have:
addEventListener(event_name, handler[, bubble])
...which i believe is actually backward; the third arg in JS is normally `false`, indicating WE WANT TO REGISTER WITH THE BUBBLE PHASE.
i'd have to double check, but i think i had to manually invert this flag when integrating with an existing framework (which expects the former, per the spec). alas, i want *something* to be merged more than anything else, so feel free to completely ignore this in the name of progress!
--
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