mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 11:04:59 +00:00

Since the underlying HTML::Window can change, caching property accesses on WindowProxy is not as simple as remembering the shape. Let's disable caching here for now. We can come back to it in the future when we have no low-hanging fruit left. :^) Fixes an assertion failure on https://twinings.co.uk/
13 lines
247 B
HTML
13 lines
247 B
HTML
<script src="include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
function ic(o) {
|
|
return o.foo
|
|
}
|
|
|
|
window.foo = 123
|
|
println(ic(window))
|
|
delete window.foo
|
|
println(ic(window))
|
|
});
|
|
</script>
|