summaryrefslogtreecommitdiffstats
path: root/js/src/jsapi.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-01-26 21:26:07 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-08 23:32:18 +0100
commit91d9f5d658d646e1ad1c0b3a28a9bba0094a44c6 (patch)
treebddbc08072e3baefc28563eecaa70251f56b19c6 /js/src/jsapi.h
parenta8d25a2ed6e6306fb073578158572b04749f7891 (diff)
downloadUXP-91d9f5d658d646e1ad1c0b3a28a9bba0094a44c6.tar
UXP-91d9f5d658d646e1ad1c0b3a28a9bba0094a44c6.tar.gz
UXP-91d9f5d658d646e1ad1c0b3a28a9bba0094a44c6.tar.lz
UXP-91d9f5d658d646e1ad1c0b3a28a9bba0094a44c6.tar.xz
UXP-91d9f5d658d646e1ad1c0b3a28a9bba0094a44c6.zip
Make XDR decoding more robust.
Diffstat (limited to 'js/src/jsapi.h')
-rw-r--r--js/src/jsapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsapi.h b/js/src/jsapi.h
index 9ad3e757f..089e22b09 100644
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -5927,7 +5927,7 @@ enum TranscodeResult
TranscodeResult_Failure_BadBuildId = TranscodeResult_Failure | 0x1,
TranscodeResult_Failure_RunOnceNotSupported = TranscodeResult_Failure | 0x2,
TranscodeResult_Failure_AsmJSNotSupported = TranscodeResult_Failure | 0x3,
- TranscodeResult_Failure_UnknownClassKind = TranscodeResult_Failure | 0x4,
+ TranscodeResult_Failure_BadDecode = TranscodeResult_Failure | 0x4,
// A error, the JSContext has a pending exception.
TranscodeResult_Throw = 0x200