Closed Bug 1801040 Opened 3 years ago Closed 3 years ago

Allow makeSideeffectFreeDebugger to only bail for effectful native function

Categories

(DevTools :: Framework, task)

task

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: nchevobbe, Assigned: sebo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Since ClojureScript formatters are creating and updating global variable, the current eager evaluation bails, making the formatters useless.

Since the purpose of custom formatters are slightly different from instant evalation, we can probably loosen our restriction when executing the hooks and only bailing if effectful native function are called

Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/668624c2b096 Added option to makeSideeffectFreeDebugger() to skip checking effectful offsets. r=nchevobbe

Backed out along with Bug 1801045 for causing failures on browser_webconsole_object_inspector_custom_formatters.js

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/331045c29420 Added option to makeSideeffectFreeDebugger() to skip checking effectful offsets. r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: