mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
LibWeb: Don't override prototype on generated iterator prototypes
Generated iterator prototypes already have the IteratorPrototype as
their prototype, but we were incorrectly hijacking them and rerouting
to ObjectPrototype.
Regressed in cfe663435e
.
This commit is contained in:
parent
3f1cc7125c
commit
7f90b0cab7
3 changed files with 19 additions and 19 deletions
|
@ -0,0 +1,6 @@
|
|||
[object Iterator]
|
||||
[object Iterator]
|
||||
true
|
||||
hello
|
||||
1
|
||||
[object Window]
|
Loading…
Add table
Add a link
Reference in a new issue