summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authordavidot <david.tuin@gmail.com>2021-07-26 00:01:54 +0200
committerLinus Groh <mail@linusgroh.de>2021-07-26 15:56:15 +0100
commite22539bdd95e0bc8a78f64aa0a778bc96a4b9091 (patch)
treedece5dac82e95ed0bd8f25cb432b43775ba47da8 /.gitignore
parenta67f0cbfa2bc1682c8675f3f7b20bba61001e302 (diff)
downloadserenity-e22539bdd95e0bc8a78f64aa0a778bc96a4b9091.zip
LibWeb: Fix that non-member calls to window gave the wrong this_value
We treat all NativeFunctions as strict mode and thus window function which were called in a global context (i.e. `setTimeout(f, 0)`) got a null this_value. But we really need to treat all functions not defined by the ECMAScript specification as non-strict. In most cases this won't matter however since Window is also the global_object we have an extra bit of logic. To fix this more correctly we would need to track the strictness of NativeFunctions.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions