-
ccb39ffd
by Gabriel Ivăncescu at 2025-08-21T22:28:36+02:00
jscript: Allow objects that expose "length" prop for Function.apply under certain conditions.
Behavior depends on mode. Javascript used inside mshtml allows non-JS
objects that expose "length" to be used in apply(). For ES5 and above,
even JS objects that expose "length" are allowed. Javascript not in HTML
mode does not, however.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
-
9858eff8
by Gabriel Ivăncescu at 2025-08-21T22:28:36+02:00
jscript: Return proper error when passing wrong type to Function.apply.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
-
643f5e7a
by Gabriel Ivăncescu at 2025-08-21T22:28:36+02:00
jscript: Fallback to Object's toString for Arrays when 'this' isn't an array in ES5 mode.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
-
833a4a24
by Gabriel Ivăncescu at 2025-08-21T22:28:36+02:00
jscript: Fix error value when passing non-string 'this' to String's toString.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>