Closed Bug 1876739 Opened 1 year ago Closed 1 year ago

Wrap exception in JSContext::getPendingExceptionStack

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: anba, Assigned: anba)

Details

Attachments

(1 file)

JSContext::getPendingExceptionStack calls JSContext::setPendingException, which requires the exception value to be wrapped into the current compartment, because it can call the error intercept handler.

JSContext::getPendingExceptionStack calls JSContext::setPendingException,
which requires the exception value to be wrapped into the current compartment,
because it can call the error intercept handler.

Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/52e30e216e08 Wrap exception in JSContext::getPendingExceptionStack. r=iain
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: