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.
Created attachment 154884 [details] Patch
Comment on attachment 154884 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154884&action=review > Source/WebCore/inspector/InspectorPageAgent.cpp:970 > + if (document) Is there a test case for this?
Comment on attachment 154884 [details] Patch Clearing flags on attachment: 154884 Committed r123901: <http://trac.webkit.org/changeset/123901>
All reviewed patches have been landed. Closing bug.