Summary: | REGRESSION (r31736?): DOM tree disappears when navigating to a new page with the Inspector open | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Timothy Hatcher <timothy> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Major | CC: | timothy | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Adam Roben (:aroben)
2008-04-10 17:08:12 PDT
Created attachment 20484 [details]
Patch
Comment on attachment 20484 [details]
Patch
@@ -141,8 +169,7 @@ WebInspector.ElementsPanel.prototype = {
this.focusedDOMNode = canidateFocusNode;
if (this.treeOutline.selectedTreeElement)
this.treeOutline.selectedTreeElement.expand();
- } else
- this.focusedDOMNode = null;
+ }
},
What's this change for? You don't mention it in the ChangeLog.
Maybe we should file a bug about the event listener being called with the inspected page's global object?
r=me
I moved this.focusedDOMNode = null to the top of the reset function. |