Changeset 288580 in webkit
- Timestamp:
- Jan 25, 2022 1:36:01 PM (6 months ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 6 edited
-
ChangeLog (modified) (1 diff)
-
Localizations/en.lproj/localizedStrings.js (modified) (2 diffs)
-
UserInterface/Base/Setting.js (modified) (1 diff)
-
UserInterface/Controllers/CallFrameTreeController.js (modified) (1 diff)
-
UserInterface/Controllers/DebuggerManager.js (modified) (1 diff)
-
UserInterface/Views/SettingsTabContentView.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r288565 r288580 1 2022-01-25 Nikita Vasilyev <nvasilyev@apple.com> 2 3 Web Inspector: Collapse blackboxed call frames by default 4 https://bugs.webkit.org/show_bug.cgi?id=234581 5 <rdar://problem/86967088> 6 7 Reviewed by Devin Rousso. 8 9 Remove "Collapse blackboxed call frames" checkbox from the experimental settings 10 and enable the feature by default. 11 12 * Localizations/en.lproj/localizedStrings.js: 13 * UserInterface/Base/Setting.js: 14 * UserInterface/Controllers/CallFrameTreeController.js: 15 (WI.CallFrameTreeController.prototype.groupBlackboxedCallFrames): 16 * UserInterface/Controllers/DebuggerManager.js: 17 (WI.DebuggerManager.prototype.shouldAutoExpandBlackboxedCallFrameGroup): 18 * UserInterface/Views/SettingsTabContentView.js: 19 (WI.SettingsTabContentView.prototype._createExperimentalSettingsView): 20 1 21 2022-01-25 Devin Rousso <drousso@apple.com> 2 22 -
trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
r288533 r288580 345 345 localizedStrings["Code"] = "Code"; 346 346 localizedStrings["Collapse All"] = "Collapse All"; 347 /* Setting to collapse blackboxed call frames in the debugger. */348 localizedStrings["Collapse blackboxed call frames @ Experimental Settings"] = "Collapse blackboxed call frames";349 347 localizedStrings["Collapse columns"] = "Collapse columns"; 350 348 localizedStrings["Collect garbage"] = "Collect garbage"; … … 446 444 localizedStrings["Debugger disabled during Timeline recording"] = "Debugger disabled during Timeline recording"; 447 445 localizedStrings["Debugging:"] = "Debugging:"; 448 /* Category label for experimental settings related to debugging. */449 localizedStrings["Debugging: @ Experimental Settings"] = "Debugging:";450 446 localizedStrings["Debugs"] = "Debugs"; 451 447 localizedStrings["Decoded"] = "Decoded"; -
trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js
r286792 r288580 230 230 experimentalEnableStylesJumpToEffective: new WI.Setting("experimental-styles-jump-to-effective", false), 231 231 experimentalEnableStylesJumpToVariableDeclaration: new WI.Setting("experimental-styles-jump-to-variable-declaration", false), 232 experimentalCollapseBlackboxedCallFrames: new WI.Setting("experimental-collapse-blackboxed-call-frames", false),233 232 experimentalAllowInspectingInspector: new WI.Setting("experimental-allow-inspecting-inspector", false), 234 233 experimentalCSSCompletionFuzzyMatching: new WI.Setting("experimental-css-completion-fuzzy-matching", true), -
trunk/Source/WebInspectorUI/UserInterface/Controllers/CallFrameTreeController.js
r288243 r288580 79 79 continue; 80 80 81 if (callFrame.blackboxed && WI.settings.experimentalCollapseBlackboxedCallFrames.value) {81 if (callFrame.blackboxed) { 82 82 blackboxedCallFrameGroupStartIndex ??= i; 83 83 continue; -
trunk/Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js
r287590 r288580 541 541 shouldAutoExpandBlackboxedCallFrameGroup(blackboxedCallFrameGroup) 542 542 { 543 console.assert(WI.settings.experimentalCollapseBlackboxedCallFrames.value);544 543 console.assert(Array.isArray(blackboxedCallFrameGroup) && blackboxedCallFrameGroup.length && blackboxedCallFrameGroup.every((callFrame) => callFrame instanceof WI.CallFrame && callFrame.blackboxed), blackboxedCallFrameGroup); 545 544 -
trunk/Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js
r286611 r288580 403 403 } 404 404 405 let supportsBlackboxingScripts = WI.DebuggerManager.supportsBlackboxingScripts();406 if (supportsBlackboxingScripts) {407 experimentalSettingsView.addSetting(WI.UIString("Debugging:", "Debugging: @ Experimental Settings", "Category label for experimental settings related to debugging."), WI.settings.experimentalCollapseBlackboxedCallFrames, WI.UIString("Collapse blackboxed call frames", "Collapse blackboxed call frames @ Experimental Settings", "Setting to collapse blackboxed call frames in the debugger."));408 experimentalSettingsView.addSeparator();409 }410 411 405 let diagnosticsGroup = experimentalSettingsView.addGroup(WI.UIString("Diagnostics:", "Diagnostics: @ Experimental Settings", "Category label for experimental settings related to Web Inspector diagnostics.")); 412 406 diagnosticsGroup.addSetting(WI.settings.experimentalAllowInspectingInspector, WI.UIString("Allow Inspecting Web Inspector", "Allow Inspecting Web Inspector @ Experimental Settings", "Label for setting that allows the user to inspect the Web Inspector user interface.")); … … 436 430 listenForChange(WI.settings.experimentalEnableStylesJumpToVariableDeclaration); 437 431 } 438 439 if (supportsBlackboxingScripts)440 listenForChange(WI.settings.experimentalCollapseBlackboxedCallFrames);441 432 442 433 this._createReferenceLink(experimentalSettingsView);
Note: See TracChangeset
for help on using the changeset viewer.