Closed Bug 1625021 Opened 5 years ago Closed 5 years ago

Remove HideScriptFromDebugger from MutableScriptFlags.

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: caroline, Assigned: caroline)

References

Details

Attachments

(2 files)

The mutable flag HideScriptFromDebugger is only used inside of DebugAPI::onNewScript (sans some asserts). The only case in which HideScriptFromDebugger is set is when tellDebuggerAboutCompiledScript is called from CreateGlobalScript we can do a check of the compilationInfo.option.hideScriptFromDebugger in tellDebuggerAboutCompiledScript. This allows us to remove the script flag all together.

Blocks: 1620776
Priority: -- → P2
Assignee: nobody → ccullen
Status: NEW → ASSIGNED
Pushed by aiakab@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/611350ae8292 Remove use of HideScriptFromDebugger mutable flag. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/92ccbb744377 Completely remove HideScriptFromDebugger flag. r=mgaudet
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Blocks: 1626069
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: