Open Bug 1997971 Opened 8 months ago Updated 7 months ago

Unwrapping isn't consistent in JS Microtask code

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mgaudet, Unassigned)

References

(Blocks 1 open bug)

Details

Looking at the various state getters from the JS microtask queue, I notice that I was not consistent about unwrapping & checking for dead wrappers.

  • Some use CheckedUnwrapStatic, some use UncheckedUnwrap
  • Some check for dead object wrappers, some don't.

It would be nice to clean this up so that things are more understandable. This may block Bug 1997970.

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.