summaryrefslogtreecommitdiffstats
path: root/js/src/jscntxt.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-09 11:27:16 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:30 -0400
commit9a7113f7c8d89d27558942f42603c4edee779d20 (patch)
tree6dbbed1ba3165abff6e35055879f570685a35b69 /js/src/jscntxt.h
parentd27591806950034d8d3763a13db6f2c201311991 (diff)
downloadUXP-9a7113f7c8d89d27558942f42603c4edee779d20.tar
UXP-9a7113f7c8d89d27558942f42603c4edee779d20.tar.gz
UXP-9a7113f7c8d89d27558942f42603c4edee779d20.tar.lz
UXP-9a7113f7c8d89d27558942f42603c4edee779d20.tar.xz
UXP-9a7113f7c8d89d27558942f42603c4edee779d20.zip
1283712 - Part 1: Add JSErrorBase, JSErrorNotes, JSErrorNotes::Note, and JSErrorReport.{notes,freeNotes}.
Diffstat (limited to 'js/src/jscntxt.h')
-rw-r--r--js/src/jscntxt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/jscntxt.h b/js/src/jscntxt.h
index 0a2841242..c1e676f68 100644
--- a/js/src/jscntxt.h
+++ b/js/src/jscntxt.h
@@ -621,6 +621,13 @@ ExpandErrorArgumentsVA(ExclusiveContext* cx, JSErrorCallback callback,
ErrorArgumentsType argumentsType,
JSErrorReport* reportp, va_list ap);
+extern bool
+ExpandErrorArgumentsVA(JSContext* cx, JSErrorCallback callback,
+ void* userRef, const unsigned errorNumber,
+ const char16_t** messageArgs,
+ ErrorArgumentsType argumentsType,
+ JSErrorNotes::Note* notep, va_list ap);
+
/* |callee| requires a usage string provided by JS_DefineFunctionsWithHelp. */
extern void
ReportUsageErrorASCII(JSContext* cx, HandleObject callee, const char* msg);