[Webkit-unassigned] [Bug 24977] New: InspectorController is difficult to get to on the Page
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 31 18:21:59 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=24977
Summary: InspectorController is difficult to get to on the Page
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jamesr at google.com
The InspectorController object is accessed through the Page object, which is
not trivial to get to from all places that want to since they sometimes have to
walk through a number of objects just to get up that high. Here's an example
from ContextMenu.cpp:
Node* node = m_hitTestResult.innerNonSharedNode();
if (!node)
return;
Frame* frame = node->document()->frame();
if (!frame)
return;
Page* page = frame->page();
if (!page)
return;
if (!page->inspectorController())
return;
--
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