[Webkit-unassigned] [Bug 27634] Give toJS a JSDOMGlobalObject parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 23 22:50:03 PDT 2009


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





--- Comment #8 from Eric Seidel <eric at webkit.org>  2009-07-23 22:50:02 PDT ---
Actually, now I"m just hitting an ASSERT in gc-6.

I"m hitting this ASSERT:
        DOMObjectWithGlobalPointer(PassRefPtr<JSC::Structure> structure,
JSDOMGlobalObject* globalObject)
            : DOMObject(structure)
            , m_globalObject(globalObject)
        {
            ASSERT(globalObject->scriptExecutionContext());
        }

Caused by this FIXME:
Document* DOMWindow::document() const
{
    // FIXME: This function shouldn't need a frame to work.
    if (!m_frame)
        return 0;

I'll comment out the ASSERT for now.  DOMWindow should always be able to reach
the Document!  Just like the Document should always be able to reach the
JSDOMWindow.  :(

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