summaryrefslogtreecommitdiffstats
path: root/js/src/jsapi.h
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-17 16:56:31 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-17 16:56:31 +0100
commit0a815a6f1117caa829937b5ad8e306481a9f896d (patch)
treea656db3e35eea6277674e18e896474628dc0b50f /js/src/jsapi.h
parenta24511ca8e19afe4d19008ba903e1edab0af3223 (diff)
downloadUXP-0a815a6f1117caa829937b5ad8e306481a9f896d.tar
UXP-0a815a6f1117caa829937b5ad8e306481a9f896d.tar.gz
UXP-0a815a6f1117caa829937b5ad8e306481a9f896d.tar.lz
UXP-0a815a6f1117caa829937b5ad8e306481a9f896d.tar.xz
UXP-0a815a6f1117caa829937b5ad8e306481a9f896d.zip
Use ordinary objects for Error prototypes
Diffstat (limited to 'js/src/jsapi.h')
-rw-r--r--js/src/jsapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/jsapi.h b/js/src/jsapi.h
index a93852fa5..332ce8562 100644
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -650,7 +650,8 @@ typedef enum JSExnType {
JSEXN_DEBUGGEEWOULDRUN,
JSEXN_WASMCOMPILEERROR,
JSEXN_WASMRUNTIMEERROR,
- JSEXN_WARN,
+ JSEXN_ERROR_LIMIT,
+ JSEXN_WARN = JSEXN_ERROR_LIMIT,
JSEXN_LIMIT
} JSExnType;