summaryrefslogtreecommitdiff
path: root/js/src/jsapi.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-07-03 15:59:00 +0000
committerMoonchild <moonchild@palemoon.org>2020-07-03 15:59:00 +0000
commit121935caed68654adc14a85482a53bc9ac196da8 (patch)
tree1dc803856e154f0b75517d7c47c808e13a6bb0ba /js/src/jsapi.h
parent10e26244192e7cb25663f6dbf47aec215563c038 (diff)
downloaduxp-121935caed68654adc14a85482a53bc9ac196da8.tar.gz
Issue #618 - Fix JSAPI additions to pass the JS context.
Diffstat (limited to 'js/src/jsapi.h')
-rw-r--r--js/src/jsapi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jsapi.h b/js/src/jsapi.h
index 9c3bf81518..6d306edc56 100644
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -4396,10 +4396,10 @@ extern JS_PUBLIC_API(JSScript*)
GetModuleScript(JSContext* cx, JS::HandleObject moduleRecord);
extern JS_PUBLIC_API(bool)
-IsModuleErrored(JSObject* moduleRecord);
+IsModuleErrored(JSContext* cx, JSObject* moduleRecord);
extern JS_PUBLIC_API(JS::Value)
-GetModuleError(JSObject* moduleRecord);
+GetModuleError(JSContext* cx, JSObject* moduleRecord);
} /* namespace JS */