Web Inspector: Canvas: imported recordings aren't processed when the navigation sideb...
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2019 20:01:47 +0000 (20:01 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2019 20:01:47 +0000 (20:01 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196921
<rdar://problem/49910815>

Reviewed by Timothy Hatcher.

* UserInterface/Views/RecordingContentView.js:
(WI.RecordingContentView.prototype.initialLayout):

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

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

index 7a06efb..8af269d 100644 (file)
@@ -1,3 +1,14 @@
+2019-04-17  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: Canvas: imported recordings aren't processed when the navigation sidebar is collapsed
+        https://bugs.webkit.org/show_bug.cgi?id=196921
+        <rdar://problem/49910815>
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/RecordingContentView.js:
+        (WI.RecordingContentView.prototype.initialLayout):
+
 2019-04-17  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: Extension scripts with parse errors do not show up in Web Inspector
index 863b52b..7805268 100644 (file)
@@ -167,8 +167,12 @@ WI.RecordingContentView = class RecordingContentView extends WI.ContentView
         this._sliderElement.min = 0;
         this._sliderElement.max = 0;
 
-        if (!this.representedObject.ready)
+        if (!this.representedObject.ready) {
             this.representedObject.addEventListener(WI.Recording.Event.ProcessedAction, this._handleRecordingProcessedAction, this);
+
+            if (!this.representedObject.processing)
+                this.representedObject.startProcessing();
+        }
     }
 
     // Private