jscript: Properly set JS_E_WRONG_THIS as a TypeError.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
62cee99658
commit
3ab9a1da45
1 changed files with 1 additions and 0 deletions
|
@ -483,6 +483,7 @@ jsdisp_t *create_builtin_error(script_ctx_t *ctx)
|
|||
case JS_E_OBJECT_NONEXTENSIBLE:
|
||||
case JS_E_NONCONFIGURABLE_REDEFINED:
|
||||
case JS_E_NONWRITABLE_MODIFIED:
|
||||
case JS_E_WRONG_THIS:
|
||||
case JS_E_KEY_NOT_OBJECT:
|
||||
case JS_E_PROP_DESC_MISMATCH:
|
||||
case JS_E_INVALID_WRITABLE_PROP_DESC:
|
||||
|
|
Loading…
Add table
Reference in a new issue