mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-02 04:27:31 +09:00
Issue #1195 - Fix errant use of JSContext in ErrorNotes
We want to ensure that ErrorNotes stays on the main thread to prevent a race condition that was introduced in 1283712 - Part 1. This fixes #1195.
This commit is contained in:
parent
e78a4b88e3
commit
367fc9432e
3 changed files with 6 additions and 6 deletions
|
|
@ -748,7 +748,7 @@ js::ExpandErrorArgumentsVA(ExclusiveContext* cx, JSErrorCallback callback,
|
|||
}
|
||||
|
||||
bool
|
||||
js::ExpandErrorArgumentsVA(JSContext* cx, JSErrorCallback callback,
|
||||
js::ExpandErrorArgumentsVA(ExclusiveContext* cx, JSErrorCallback callback,
|
||||
void* userRef, const unsigned errorNumber,
|
||||
const char16_t** messageArgs,
|
||||
ErrorArgumentsType argumentsType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue