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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 17 14:44:05 PDT 2008


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





------- Comment #86 from mrowe at apple.com  2008-10-17 14:44 PDT -------
(In reply to comment #52)
> --- WebCore/page/DOMWindow.idl  (revision 36459)
> +++ WebCore/page/DOMWindow.idl  (working copy)
> @@ -155,7 +155,7 @@
>          [DoNotCheckDomainSecurity, Custom] void postMessage(in DOMString
> message, in DOMString targetOrigin)
>              raises(DOMException);
> 
> -#if defined(LANGUAGE_JAVASCRIPT)
> +#if defined(LANGUAGE_JAVASCRIPT) || defined(LANGUAGE_GOBJECT)
>          // Global constructors
>          attribute StyleSheetConstructor StyleSheet;
>          attribute CSSStyleSheetConstructor CSSStyleSheet;
> 
> i've added this in as a reminder that, at some point _in the future_,
> the gobject auto-generator code will need to auto-generate "constructors".
> i believe this was part of the problem i had in doing creation of a
> document - not having some of these functions.
> 
> although it will be straightforward to add constructors, i'm not doing
> it for this patch.

Constructors are JavaScript language concept.  They're not something that other
bindings need to worry about.


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