Luke Wilde
f12b6b258f
LibJS: Don't use presence of function params to identify function scope
...
Instead, we can just use the scope type to determine if a scope is a
function scope.
This fixes using `this` for parameter default values in arrow functions
crashing. This happened by `uses_this_from_environment` was not set in
`set_uses_this`, as it didn't think it was in a function scope whilst
parsing parameters.
Fixes closing modal dialogs causing a crash on https://www.ikea.com/
No test262 diff.
Reverts the functional part of 08cfd5f , because it was a workaround for
this issue.
2025-06-17 20:48:45 +02:00
..
2025-06-16 14:20:48 +01:00
2025-04-05 18:20:36 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2025-01-21 14:58:32 +01:00
2024-12-14 12:08:50 -08:00
2025-06-17 20:48:45 +02:00
2025-05-26 12:44:21 +03:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2025-04-29 07:33:08 -04:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-12-26 17:23:10 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2025-05-12 07:41:29 -04:00
2025-06-02 00:15:36 +02:00
2024-11-10 12:50:45 +01:00
2025-02-05 08:05:01 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2025-01-17 17:15:12 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2025-04-29 07:33:08 -04:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2025-03-27 12:18:30 +00:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2025-06-16 14:20:48 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2025-01-17 14:36:03 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00