haikuwebkit/LayoutTests/js/dom/dfg-prototype-chain-caching...

12 lines
378 B
Plaintext

Tests what happens when you make prototype chain accesses with impure GetOwnPropertySlot traps in the way.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS typeof f() is "object" on all iterations including after DFG tier-up.
PASS document.body.removeChild(img); typeof f() is "function"
PASS successfullyParsed is true
TEST COMPLETE