mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-22 00:41:55 +00:00
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
|
||
---|---|---|
.. | ||
add-property-with-the-same-from-getter-in-prototype.js | ||
allow-await-in-a-func-def-assigned-to-default-param.js | ||
async-generator-function-set-completion-type.js | ||
bogus-program-counter.js | ||
function-bind-arguments.js | ||
proxied-constructor-leads-to-use-after-free.js | ||
super-length-crash.js | ||
using-this-in-default-value-of-arrow-function-parameter.js |