[webkit-dev] document()->frame()->script()->globalObject()

Eric Seidel eric at webkit.org
Fri Jul 24 12:16:10 PDT 2009


Ok.  I've filed:
https://bugs.webkit.org/show_bug.cgi?id=27640 -- about DOMWindow::document()
https://bugs.webkit.org/show_bug.cgi?id=27662 -- about document->globalObject()

For now I will reference those bugs in the places where the binding
code needs those calls.

On Fri, Jul 24, 2009 at 10:07 AM, Darin Adler<darin at apple.com> wrote:
> On Jul 23, 2009, at 5:56 PM, Eric Seidel wrote:
>
>> It sounds like you agree with me, that the Document should have a way to
>> get to the JSDOMGlobalObject w/o having to go through the Frame. Am I
>> understanding correctly?
>
> Yes, Maciej is saying that the document could point to the JSDOMWindow,
> which is a subclass of JSDOMGlobalObject, but that the frame would be the
> logical owner of the JSDOMWindowShell. It’s a great idea and a good way to
> have things work long-term, but it could be challenging to do it in a clean
> way without introducing problems.
>
>    -- Darin
>
>


More information about the webkit-dev mailing list