Open Bug 996265 Opened 10 years ago Updated 3 months ago

[jsdbg2] ScriptFrameIters stored in Debugger.Frame instances should never be done

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: jimb, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

The ScriptFrameIter represented by a Debugger.Frame instance should never be '.done()'; we should assert this.

(Marking this as 'blocking' bug 961325, but it's really just 'related'; that could land before this.)
Comment on attachment 8406461 [details] [diff] [review]
Assert that iters from Debugger.Frame instances actually refer to something.

Review of attachment 8406461 [details] [diff] [review]:
-----------------------------------------------------------------

Seems reasonable, though all this frame munging code frightens me.
Attachment #8406461 - Flags: review?(sphink) → review+
(In reply to Steve Fink [:sfink] from comment #2)
> Comment on attachment 8406461 [details] [diff] [review]
> Assert that iters from Debugger.Frame instances actually refer to something.
> 
> Review of attachment 8406461 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Seems reasonable, though all this frame munging code frightens me.

In the words of mccr8, welcome to adventure.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: