Title: [244399] trunk/Source/WebInspectorUI
Revision
244399
Author
drou...@apple.com
Date
2019-04-17 13:01:47 -0700 (Wed, 17 Apr 2019)

Log Message

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):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (244398 => 244399)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-04-17 19:59:24 UTC (rev 244398)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-04-17 20:01:47 UTC (rev 244399)
@@ -1,3 +1,14 @@
+2019-04-17  Devin Rousso  <drou...@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  <pecor...@apple.com>
 
         Web Inspector: Extension scripts with parse errors do not show up in Web Inspector

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/RecordingContentView.js (244398 => 244399)


--- trunk/Source/WebInspectorUI/UserInterface/Views/RecordingContentView.js	2019-04-17 19:59:24 UTC (rev 244398)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/RecordingContentView.js	2019-04-17 20:01:47 UTC (rev 244399)
@@ -167,8 +167,12 @@
         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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to