Title: [241875] trunk/Source/WebInspectorUI
- Revision
- 241875
- Author
- [email protected]
- Date
- 2019-02-21 11:59:01 -0800 (Thu, 21 Feb 2019)
Log Message
Web Inspector: Canvas: recordings with a single frame sometimes missing TreeElement
https://bugs.webkit.org/show_bug.cgi?id=194687
Reviewed by Joseph Pecoraro.
* UserInterface/Views/CanvasSidebarPanel.js:
(WI.CanvasSidebarPanel):
Wait until the entire `Recording` has been processed before setting the selected action.
* UserInterface/Views/CanvasSidebarPanel.css:
(.sidebar > .panel.navigation.canvas.has-recordings > .content > .recording-content):
Drive-by: ensure that the recording `TreeOutline` container element has the full height to
take advantage of for virtualization.
* UserInterface/Views/RecordingStateDetailsSidebarPanel.js:
(WI.RecordingStateDetailsSidebarPanel.prototype.set recording):
Drive-by: clear the `DataGrid` list when changing recordings since we removed all subviews.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (241874 => 241875)
--- trunk/Source/WebInspectorUI/ChangeLog 2019-02-21 18:56:36 UTC (rev 241874)
+++ trunk/Source/WebInspectorUI/ChangeLog 2019-02-21 19:59:01 UTC (rev 241875)
@@ -1,5 +1,25 @@
2019-02-21 Devin Rousso <[email protected]>
+ Web Inspector: Canvas: recordings with a single frame sometimes missing TreeElement
+ https://bugs.webkit.org/show_bug.cgi?id=194687
+
+ Reviewed by Joseph Pecoraro.
+
+ * UserInterface/Views/CanvasSidebarPanel.js:
+ (WI.CanvasSidebarPanel):
+ Wait until the entire `Recording` has been processed before setting the selected action.
+
+ * UserInterface/Views/CanvasSidebarPanel.css:
+ (.sidebar > .panel.navigation.canvas.has-recordings > .content > .recording-content):
+ Drive-by: ensure that the recording `TreeOutline` container element has the full height to
+ take advantage of for virtualization.
+
+ * UserInterface/Views/RecordingStateDetailsSidebarPanel.js:
+ (WI.RecordingStateDetailsSidebarPanel.prototype.set recording):
+ Drive-by: clear the `DataGrid` list when changing recordings since we removed all subviews.
+
+2019-02-21 Devin Rousso <[email protected]>
+
Web Inspector: DOM Debugger: node-specific event breakpoints aren't cleared/recalculated on navigation
https://bugs.webkit.org/show_bug.cgi?id=194874
<rdar://problem/48253415>
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.css (241874 => 241875)
--- trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.css 2019-02-21 18:56:36 UTC (rev 241874)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.css 2019-02-21 19:59:01 UTC (rev 241875)
@@ -48,6 +48,7 @@
}
.sidebar > .panel.navigation.canvas.has-recordings > .content > .recording-content {
+ flex-grow: 1;
overflow-y: scroll;
}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.js (241874 => 241875)
--- trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.js 2019-02-21 18:56:36 UTC (rev 241874)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.js 2019-02-21 19:59:01 UTC (rev 241875)
@@ -580,8 +580,8 @@
console.assert(isInitialStateAction || this._recordingTreeOutline.children.lastValue instanceof WI.FolderTreeElement, "There should be a WI.FolderTreeElement for the frame for this action.");
this._createRecordingActionTreeElement(action, index, isInitialStateAction ? this._recordingTreeOutline : this._recordingTreeOutline.children.lastValue);
- if (isInitialStateAction && !this._recording[WI.CanvasSidebarPanel.SelectedActionSymbol])
- this.action = ""
+ if (this._recording.ready && !this._recording[WI.CanvasSidebarPanel.SelectedActionSymbol])
+ this.action = ""
if (action ="" this._recording.actions.lastValue && this._recordingProcessingOptionsContainer) {
this._recordingProcessingOptionsContainer.remove();
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/RecordingStateDetailsSidebarPanel.js (241874 => 241875)
--- trunk/Source/WebInspectorUI/UserInterface/Views/RecordingStateDetailsSidebarPanel.js 2019-02-21 18:56:36 UTC (rev 241874)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/RecordingStateDetailsSidebarPanel.js 2019-02-21 19:59:01 UTC (rev 241875)
@@ -58,6 +58,8 @@
for (let subview of this.contentView.subviews)
this.contentView.removeSubview(subview);
+
+ this._dataGrids = [];
}
set action(action)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes