Change Debug.prototype.uncaughtExceptionHook to require a function or null, and pass the Debug object to uncaughtExceptionHook as the this-value.
This commit is contained in:
@@ -351,3 +351,4 @@ MSG_DEF(JSMSG_INVALID_FOR_IN_INIT, 268, 0, JSEXN_SYNTAXERR, "for-in loop let
|
||||
MSG_DEF(JSMSG_CLEARED_SCOPE, 269, 0, JSEXN_TYPEERR, "attempt to run compile-and-go script on a cleared scope")
|
||||
MSG_DEF(JSMSG_CCW_REQUIRED, 270, 1, JSEXN_TYPEERR, "{0}: argument must be an object from a different compartment")
|
||||
MSG_DEF(JSMSG_DEBUG_BAD_RESUMPTION, 271, 0, JSEXN_TYPEERR, "debugger resumption value must be undefined, {throw: val}, {return: val}, or null")
|
||||
MSG_DEF(JSMSG_ASSIGN_FUNCTION_OR_NULL, 272, 1, JSEXN_TYPEERR, "value assigned to {0} must be a function or null")
|
||||
|
||||
Reference in New Issue
Block a user