From 91d9f5d658d646e1ad1c0b3a28a9bba0094a44c6 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 26 Jan 2018 21:26:07 +0100 Subject: Make XDR decoding more robust. --- js/src/jsapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/jsapi.h') 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 -- cgit v1.2.3