diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-07-21 22:31:02 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-21 22:33:19 -0400 |
commit | 04ac84ff56b9780335560319a8ecd3e8b510874e (patch) | |
tree | 8190e36c47a4939c67db833230d01d13a3470bf1 /js/src/jscntxt.cpp | |
parent | f6a282023ec220c7cf181276e88a36be2821b132 (diff) | |
download | UXP-04ac84ff56b9780335560319a8ecd3e8b510874e.tar UXP-04ac84ff56b9780335560319a8ecd3e8b510874e.tar.gz UXP-04ac84ff56b9780335560319a8ecd3e8b510874e.tar.lz UXP-04ac84ff56b9780335560319a8ecd3e8b510874e.tar.xz UXP-04ac84ff56b9780335560319a8ecd3e8b510874e.zip |
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.
Diffstat (limited to 'js/src/jscntxt.cpp')
-rw-r--r-- | js/src/jscntxt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jscntxt.cpp b/js/src/jscntxt.cpp index 441b006d6..e505a4b34 100644 --- a/js/src/jscntxt.cpp +++ b/js/src/jscntxt.cpp @@ -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, |