mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
1354527 - Crash [@ js::jit::RInstructionResults::operator[]]
1354527 - Recover the iterator object when closing during exception handling.
This commit is contained in:
parent
64d22a5bb6
commit
1f0c1ad851
1 changed files with 2 additions and 1 deletions
|
|
@ -347,7 +347,8 @@ CloseLiveIteratorIon(JSContext* cx, const InlineFrameIterator& frame, JSTryNote*
|
|||
for (unsigned i = 0; i < skipSlots; i++)
|
||||
si.skip();
|
||||
|
||||
Value v = si.read();
|
||||
MaybeReadFallback recover(cx, cx->activation()->asJit(), &frame.frame(), MaybeReadFallback::Fallback_DoNothing);
|
||||
Value v = si.maybeRead(recover);
|
||||
RootedObject iterObject(cx, &v.toObject());
|
||||
|
||||
if (isDestructuring) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue