mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
dda730c46b
Previously, [Global] interfaces were not excluded from the `internal_own_property_keys()` call. This caused a crash when iterating over the properties of the Window object.
10 lines
222 B
HTML
10 lines
222 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<div id="global-variable"></div>
|
|
<script>
|
|
test(() => {
|
|
for (const property in window) {
|
|
}
|
|
println("PASS (didn't crash)");
|
|
});
|
|
</script>
|