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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 11 04:21:08 PST 2009


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





------- Comment #133 from lkcl at lkcl.net  2009-02-11 04:21 PDT -------
(In reply to comment #131)
> (In reply to comment #128)
> > Created an attachment (id=27549)
 --> (https://bugs.webkit.org/attachment.cgi?id=27549&action=view) [review] [review]

> > are relatively inefficient (they are accessed via a string name provided at
> > runtime) and also because there's no way to report error information when a
> > caller gets or sets a property.
> 
> BTW, one way of dealing with this would be to add a property to the base class
> of the DOM objects that would hold the error, so you could do something like
> g_object_get (object, "dom-property", &dom, "dom-error", &error, NULL); I guess
> you'd define it so that it only holds the first error reported, to match the
> semantics of exceptions (meaning that if you try to access several properties
> at the same time you'll only get the first error in case there's several..). 


 that would be very neat!  except... does it conform to the standard
 expected method that language-binding auto-generators use to handle
 execptions?

 _do_ the auto-generating language-binders (such as python-pygobject)
 actually _deal_ with exceptions / errors at _all_??

 http://www.mail-archive.com/pygtk@daa.com.au/msg12995.html

 apparently, yes (although that's just the beginning of where it will
 have been introduced - public api and usage api not yet investigated).


-- 
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