WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 28903
29769
Web Inspector: Do not track DOM changes while inspector window is closed.
https://bugs.webkit.org/show_bug.cgi?id=29769
Summary
Web Inspector: Do not track DOM changes while inspector window is closed.
Pavel Feldman
Reported
2009-09-26 11:25:57 PDT
- There is no need to track DOM changes while inspector window is hidden. This is different from the way it was working before the dom agent refactoring. - There is a following bug: 1. Open web inspector for some page 2. Close web inspector 3. Reload the page 4. Open web inspector Expected: Elements panel showing the DOM tree Actual: Empty panel The reason for a bug is that page reload pushes document's representation into the frontend and calls ElementsPanel's refresh. ElementsPanel is trying to be smart and is not processing refreshes while inspector window is hidden. Keeping dom agent operational only while inspector is visible solves both problems.
Attachments
patch
(6.79 KB, patch)
2009-09-26 11:32 PDT
,
Pavel Feldman
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2009-09-26 11:32:00 PDT
Created
attachment 40175
[details]
patch Note that I needed to restore WebCore::InspectorController::inspectedWindowScriptObjectCleared callback in order to clear injected script properly.
Timothy Hatcher
Comment 2
2009-09-26 12:49:35 PDT
Sounds like
bug 28903
.
Pavel Feldman
Comment 3
2009-09-27 00:02:44 PDT
*** This bug has been marked as a duplicate of
bug 28903
***
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