REGRESSION (r211829): Web Inspector: Elements tab is blank when added after page...
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Feb 2017 21:17:37 +0000 (21:17 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Feb 2017 21:17:37 +0000 (21:17 +0000)
commita8aa673e8d8f839fa29839c35d6a55861a14d3dc
treeaa73fd2637b03dcee05b0bcebc119e107632e8f8
parentb91a7447a6d14cd5eabda081685859e81758795b
REGRESSION (r211829): Web Inspector: Elements tab is blank when added after page load
https://bugs.webkit.org/show_bug.cgi?id=168142

Reviewed by Brian Burg.

The Elements tab can be shown in two ways: by adding the Elements tab
from the "New Tab" tab, or via Inspect Element. In both cases we should
be checking that the ContentView exists, and create it if needed.

* UserInterface/Views/ElementsTabContentView.js:
(WebInspector.ElementsTabContentView.prototype.showRepresentedObject):
(WebInspector.ElementsTabContentView.prototype.shown):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/ElementsTabContentView.js