Closed Bug 1252905 Opened 9 years ago Closed 9 years ago

Don't invoke the interrupt callback while an exception is pending

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

Right now we can do that in two places: when returning from jitcode (the two places are baseline and ion) to interp due to an exception being thrown. Interrupt callback implementations can (and do!) spin the event loop, and doing that with a pending exception on the JSContext is a bad idea.
Comment on attachment 8725735 [details] [diff] [review] Don't invoke the interrupt callback while an exception is pending Review of attachment 8725735 [details] [diff] [review]: ----------------------------------------------------------------- Looks good.
Attachment #8725735 - Flags: review?(jdemooij) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: