[Webkit-unassigned] [Bug 92476] New: Web Inspector: InspectorPageAgent should ascertain document to be non-null in updateViewMetrics()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 02:37:57 PDT 2012


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

           Summary: Web Inspector: InspectorPageAgent should ascertain
                    document to be non-null in updateViewMetrics()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vivekgalatage at gmail.com
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


Now that https://bugs.webkit.org/show_bug.cgi?id=90675, goes on creating a blank page, with "about:blank" url, this new page will not be having a document object. When the call to Internals::closeDummyInspectorFrontend() is made, it tries to delete the newly created page. In turn, this calls InspectorController::disconnectFrontend() to inform all the agents to clearFrontend(). In case of InspectorPageAgent::clearFrontend(), calls disable() which in turn calls updateViewMetrics(). Now here the document object is NULL. Hence this should be checking for document pointer.

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