WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
92476
Web Inspector: InspectorPageAgent should ascertain document to be non-null in updateViewMetrics()
https://bugs.webkit.org/show_bug.cgi?id=92476
Summary
Web Inspector: InspectorPageAgent should ascertain document to be non-null in...
Vivek Galatage
Reported
2012-07-27 02:38:00 PDT
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.
Attachments
Patch
(1.57 KB, patch)
2012-07-27 02:40 PDT
,
Vivek Galatage
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Vivek Galatage
Comment 1
2012-07-27 02:40:58 PDT
Created
attachment 154884
[details]
Patch
Pavel Feldman
Comment 2
2012-07-27 11:40:21 PDT
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?
WebKit Review Bot
Comment 3
2012-07-27 11:55:11 PDT
Comment on
attachment 154884
[details]
Patch Clearing flags on attachment: 154884 Committed
r123901
: <
http://trac.webkit.org/changeset/123901
>
WebKit Review Bot
Comment 4
2012-07-27 11:55:16 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug