[Webkit-unassigned] [Bug 49649] New: [GTK] On-demand event-listeners for DOM event signals
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 17 00:13:23 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=49649
Summary: [GTK] On-demand event-listeners for DOM event signals
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cgarcia at igalia.com
GLib signals are currently used to implement events in GObject DOM bindings. Since it's not possible to know what signals the user is going to connect, an event listener is added in every node for every signal when object is constructed. Xan proposed two possible solutions: modify glib/gobject to add a way to notify the user when a signal is connected/disconnected, or add api to webkit dom bindings so that the user can add event listeners, something like webkit_dom_event_target_add_event_listener (target, listener);
Second option is less GObject-y, so the preferred solution is the first one although it depends on whether a patch for this is accepted in gobject.
--
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