Source/WebInspectorUI/ChangeLog

 12019-03-13 Devin Rousso <drousso@apple.com>
 2
 3 Web Inspector: REGRESSION: Canvas: the first processed action should be selected as soon as it's available if no previous selected action exists
 4 https://bugs.webkit.org/show_bug.cgi?id=195732
 5 <rdar://problem/48875214>
 6
 7 Reviewed by NOBODY (OOPS!).
 8
 9 * UserInterface/Views/CanvasSidebarPanel.js:
 10 (WI.CanvasSidebarPanel.prototype._handleRecordingProcessedAction):
 11 Rather than wait till the entire recording is ready, set the selected action as soon as the
 12 first action is ready (assuming there isn't already a selected action).
 13
1142019-03-13 Devin Rousso <drousso@apple.com>
215
316 Web Inspector: Debugger: pausing in an inline script on a page with a URL query creates an Extra Script

Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.js

@@WI.CanvasSidebarPanel = class CanvasSidebarPanel extends WI.NavigationSidebarPan
577577 console.assert(isInitialStateAction || this._recordingTreeOutline.children.lastValue instanceof WI.FolderTreeElement, "There should be a WI.FolderTreeElement for the frame for this action.");
578578 this._createRecordingActionTreeElement(action, index, isInitialStateAction ? this._recordingTreeOutline : this._recordingTreeOutline.children.lastValue);
579579
 580 if (!this._recording[WI.CanvasSidebarPanel.SelectedActionSymbol])
 581 this.action = action;
 582
580583 if (this._recording.ready) {
581584 this._recording.removeEventListener(null, null, this);
582585
583  if (!this._recording[WI.CanvasSidebarPanel.SelectedActionSymbol])
584  this.action = this._recording.actions[0];
585 
586586 if (this._recordingProcessingOptionsContainer) {
587587 this._recordingProcessingOptionsContainer.remove();
588588 this._recordingProcessingOptionsContainer = null;