mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Issue #618 - Remove context and heap-idle check
For checking if a module is in an error state and what the error is, it shouldn't matter if we are currently GC-ing or not. So we don't need to check for it, which removes the requirement to pass in the JS context (needed for AssertHeapIsIdle's runtime check); this unblocks progress where otherwise we'd have to figure out what the context is at the module level just to satisfy this check.
This commit is contained in:
parent
a754a7be26
commit
c65ca2ca58
2 changed files with 4 additions and 8 deletions
|
|
@ -4396,10 +4396,10 @@ extern JS_PUBLIC_API(JSScript*)
|
|||
GetModuleScript(JSContext* cx, JS::HandleObject moduleRecord);
|
||||
|
||||
extern JS_PUBLIC_API(bool)
|
||||
IsModuleErrored(JSContext* cx, JSObject* moduleRecord);
|
||||
IsModuleErrored(JSObject* moduleRecord);
|
||||
|
||||
extern JS_PUBLIC_API(JS::Value)
|
||||
GetModuleError(JSContext* cx, JSObject* moduleRecord);
|
||||
GetModuleError(JSObject* moduleRecord);
|
||||
|
||||
} /* namespace JS */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue