The Inspector's DOM tree disappears when you navigate to a new page with the Inspector open. 1. Go to http://webkit.org/ 2. Right-click and choose Inspect Element 3. Go to http://www.google.com/
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.
Landed in r31815.