Open Bug 1596984 Opened 5 years ago Updated 2 years ago

[jsdbg2] Debugger::hasAnyLiveHooks doesn't check for `onNativeCall`

Categories

(Core :: JavaScript Engine, defect, P2)

defect

Tracking

()

People

(Reporter: jimb, Unassigned)

References

(Blocks 2 open bugs)

Details

The function Debugger::hasAnyLiveHooks should return true if the Debugger's onNativeCall hook is set, but it does not. This could cause the Debugger to be GC'd when it should not.

To be clear - the observable effect of the bug would be that hooks would fail to fire; this cannot create dangling pointers.

Type: task → defect
Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.