mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-17 18:03:06 +09:00
Fix a thread assertion in NewCopiedArrayTryUseGroup
This commit is contained in:
parent
d220e6db41
commit
5b4cd90516
3 changed files with 3 additions and 3 deletions
|
|
@ -3643,7 +3643,7 @@ js::NewCopiedArrayTryUseGroup(ExclusiveContext* cx, HandleObjectGroup group,
|
|||
if (!obj)
|
||||
return nullptr;
|
||||
|
||||
DenseElementResult result = obj->setOrExtendDenseElements(cx->asJSContext(), 0, vp, length, updateTypes);
|
||||
DenseElementResult result = obj->setOrExtendDenseElements(cx, 0, vp, length, updateTypes);
|
||||
if (result == DenseElementResult::Failure)
|
||||
return nullptr;
|
||||
MOZ_ASSERT(result == DenseElementResult::Success);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue