Web Inspector: REGRESSION: spurious console.assert inside ResourceContentView._conten...
authorbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Aug 2015 22:27:36 +0000 (22:27 +0000)
committerbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Aug 2015 22:27:36 +0000 (22:27 +0000)
https://bugs.webkit.org/show_bug.cgi?id=147886

Reviewed by Joseph Pecoraro.

* UserInterface/Views/ResourceContentView.js:
(WebInspector.ResourceContentView.prototype._hasContent): Fix the style class name.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188546 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/ResourceContentView.js

index a4046ac..7433744 100644 (file)
@@ -1,5 +1,15 @@
 2015-08-17  Brian Burg  <bburg@apple.com>
 
+        Web Inspector: REGRESSION: spurious console.assert inside ResourceContentView._contentAvailable
+        https://bugs.webkit.org/show_bug.cgi?id=147886
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/ResourceContentView.js:
+        (WebInspector.ResourceContentView.prototype._hasContent): Fix the style class name.
+
+2015-08-17  Brian Burg  <bburg@apple.com>
+
         Web Inspector: split TestStub.js into multiple files and modernize it
         https://bugs.webkit.org/show_bug.cgi?id=148077
 
index 487bc66..9f83b1a 100644 (file)
@@ -111,7 +111,7 @@ WebInspector.ResourceContentView = class ResourceContentView extends WebInspecto
 
     _hasContent()
     {
-        return !this.element.querySelector("." + WebInspector.IndeterminateProgressSpinner.StyleClassName);
+        return !this.element.querySelector(".indeterminate-progress-spinner");
     }
 
     _issueWasAdded(event)