Title: [295075] trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js
Revision
295075
Author
drou...@apple.com
Date
2022-05-31 18:25:21 -0700 (Tue, 31 May 2022)

Log Message

Web Inspector: Debugger: blackbox breakpoint evaluations by default
https://bugs.webkit.org/show_bug.cgi?id=241143

Reviewed by Patrick Angle.

According to <https://webkit.org/web-inspector/script-blackboxing/>
> 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: https://commits.webkit.org/251170@main

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js (295074 => 295075)


--- trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js	2022-06-01 01:16:36 UTC (rev 295074)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js	2022-06-01 01:25:21 UTC (rev 295075)
@@ -184,7 +184,7 @@
 };
 
 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),
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to