Changeset 245696 in webkit
- Timestamp:
- May 23, 2019, 11:04:49 AM (7 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Base/Main.js (modified) (1 diff)
-
UserInterface/Views/ResourceHeadersContentView.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r245665 r245696 1 2019-05-23 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: clicking a source link should never open the Network tab 4 https://bugs.webkit.org/show_bug.cgi?id=197951 5 6 Reviewed by Timothy Hatcher. 7 8 The preview panel in the Network tab is really meant to be just that; a preview. 9 10 Opening resources in the preview panel is not a great experience, as the Network tab doesn't 11 have as much of the information one would expect when viewing a resource (namely the 12 Resource details sidebar panel). 13 14 Navigating within the Network tab also completely wipes out the current "state" of what 15 you're looking at (e.g. which panel), which could be unexpected. 16 17 The only way this could happen previously was if the Resources/Debugger/Sources tabs had 18 never been active at any point in the past. Selecting one of those tabs and then clicking on 19 an initiator link in the Network tab would re-select that other tab. 20 21 * UserInterface/Base/Main.js: 22 (WI.dialogWasDismissedWithRepresentedObject): 23 24 * UserInterface/Views/ResourceHeadersContentView.js: 25 (WI.ResourceHeadersContentView.prototype._refreshSummarySection): 26 1 27 2019-05-22 Nikita Vasilyev <nvasilyev@apple.com> 2 28 -
trunk/Source/WebInspectorUI/UserInterface/Base/Main.js
r245165 r245696 3236 3236 return; 3237 3237 3238 WI.showRepresentedObject(representedObject, dialog.cookie); 3238 WI.showRepresentedObject(representedObject, dialog.cookie, { 3239 ignoreSearchTab: true, 3240 ignoreNetworkTab: true, 3241 }); 3239 3242 }; 3240 3243 -
trunk/Source/WebInspectorUI/UserInterface/Views/ResourceHeadersContentView.js
r243614 r245696 271 271 dontFloat: true, 272 272 ignoreSearchTab: true, 273 ignoreNetworkTab: true, 273 274 }; 274 275 let link = WI.createSourceCodeLocationLink(initiatorLocation, options); … … 284 285 if (!this._popover) { 285 286 this._popover = new WI.Popover(this); 286 this._popover.windowResizeHandler = () => { this._presentPopoverBelowCallStackElement() };287 this._popover.windowResizeHandler = () => { this._presentPopoverBelowCallStackElement(); }; 287 288 } 288 289
Note:
See TracChangeset
for help on using the changeset viewer.