Skip to content
Browse files
Web Inspector: Debugger: blackbox breakpoint evaluations by default

Reviewed by Patrick Angle.

According to <>
> Script blackboxing is the ability to mark a `<script>` in Web Inspector so that it is ignored by
> the JavaScript debugger, meaning that any JavaScript execution pauses that would happen in that
> `<script>` are instead deferred until JavaScript execution has continued outside of that `<script>`.

Based on that, developers will likely expect that breakpoint evaluations fall under the category of
"things that the JavaScript debugger does" and would therefore expect that they're ignored/deferred.

* Source/WebInspectorUI/UserInterface/Base/Setting.js:

Canonical link:
git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
dcrousso committed Jun 1, 2022
1 parent b36992d commit 3972e98669b4e226426f5ed9f56236e75a8df53c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -184,7 +184,7 @@ WI.DebugSetting = class DebugSetting extends WI.Setting

WI.settings = {
blackboxBreakpointEvaluations: new WI.Setting("blackbox-breakpoint-evaluations", false),
blackboxBreakpointEvaluations: new WI.Setting("blackbox-breakpoint-evaluations", true),
canvasRecordingAutoCaptureEnabled: new WI.Setting("canvas-recording-auto-capture-enabled", false),
canvasRecordingAutoCaptureFrameCount: new WI.Setting("canvas-recording-auto-capture-frame-count", 1),
consoleAutoExpandTrace: new WI.Setting("console-auto-expand-trace", true),

0 comments on commit 3972e98

Please sign in to comment.