summaryrefslogtreecommitdiffstats
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-10 18:30:14 +0000
commit765c90318f192ba18848095133b0531c3162678d (patch)
tree02c242f12d11b60052cc6ac7f30447d9679e166b /js/src/jsapi.h
parentef8d18da70c2c2efedc5e4db1dca0ece30ac5d14 (diff)
downloadUXP-765c90318f192ba18848095133b0531c3162678d.tar
UXP-765c90318f192ba18848095133b0531c3162678d.tar.gz
UXP-765c90318f192ba18848095133b0531c3162678d.tar.lz
UXP-765c90318f192ba18848095133b0531c3162678d.tar.xz
UXP-765c90318f192ba18848095133b0531c3162678d.zip
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 9c3bf8151..6d306edc5 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 */