[Webkit-unassigned] [Bug 27434] adding necessary functions and properties to Document IDL gobject bindings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 23 01:13:47 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27434
--- Comment #4 from Mark Rowe (bdash) <mrowe at apple.com> 2009-07-23 01:13:46 PDT ---
(In reply to comment #3)
> > @@ -180,7 +181,8 @@
> >
> > NodeList getElementsByName(in DOMString elementName);
> >
> > -#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
> > +#if (defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT) || \
> > + (defined(LANGUAGE_GOBJECT) && LANGUAGE_GOBJECT)
> > attribute [Custom] Location location;
> > #endif
>
> This is flagged as being [Custom] but I don't see a gobject method implementing
> this property anywhere in the patch. Did you forget to include it?
Thinking on this further, I suspect Custom may actually mean JSCustom so my
question may not have been quite right. The WebCore::Location object itself
does not have any mutable members, while the IDL specifies that the properties
are mutable. The JavaScript bindings have custom logic for Location so that
manipulating its properties results in the expected navigations. Without this
custom logic it's not clear to me how the bindings for Location will compile,
and thus why it is useful to expose this particular attribute.
--
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