[Webkit-unassigned] [Bug 16401] [GTK] GObject/C DOM binding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 11 09:18:24 PST 2009


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





------- Comment #150 from xan.lopez at gmail.com  2009-02-11 09:18 PDT -------
(In reply to comment #148)
> (In reply to comment #136)
> > GObject features notify:: signals, which allows you to attach callback
> > functions that are invoked when a property changes. But perhaps there are other
> > mechanisms for that.
> 
> This would require that the WebCore DOM notify the GObject bindings when a DOM
> property changes.  It's unlikely that we'd be able to do this without a
> substantial performance impact on DOM operations, even when no-one is listening
> for notifications.  The DOM itself supports mutation events that are fired when
> attributes are added, removed or modified, but as they have a measurable
> performance impact even if unused we have chosen not to support them at this
> time (they're #if'd out in the code).
> 

That's a good point. We still could use gobject properties and get the other
mentioned benefits though, we only need to NOT notify changes and document why
we don't do it. I think that's easy doable, we just need to not use
g_object_set (or variants) internally and make our setters not call
g_object_notify (which I take it is what's going on right now).


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



More information about the webkit-unassigned mailing list