[Webkit-unassigned] [Bug 27640] New: DOMWindow::document() should not reach through Frame
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 23 22:57:47 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27640
Summary: DOMWindow::document() should not reach through Frame
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: abarth at webkit.org
Blocks: 27634
DOMWindow::document() should not reach through Frame
Document* DOMWindow::document() const
{
// FIXME: This function shouldn't need a frame to work.
if (!m_frame)
return 0;
That FIXME causes us to hit an ASSERT in DOMObjectWithGlobalPointer() after bug
27634. For now I've commented out the ASSERT.
DOMObjectWithGlobalPointer(PassRefPtr<JSC::Structure> structure,
JSDOMGlobalObject* globalObject)
: DOMObject(structure)
, m_globalObject(globalObject)
{
ASSERT(globalObject->scriptExecutionContext());
}
--
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