Open Bug 1169081 Opened 9 years ago Updated 2 years ago

Make super.prop work inside debugger eval

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: efaust, Unassigned)

References

(Blocks 1 open bug)

Details

Like new.target, super.prop doesn't parse inside debugger eval because of static scope chain issues. Unlike new.target, it won't work if we just hook it up. We need to detect when we're inside a debugger eval, and emit a new instruction JSOP_DEBUGSUPERBASE, which will know how to query the DebugScopeProxy that it will find. We should not make this true in the general case, because the global scope might not be a DSP.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.