haikuwebkit/LayoutTests/js/instance-property-getter-ot...

13 lines
433 B
Plaintext

Tests that calling an instance property getter on another instance works as expected
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS locationGetter instanceof otherWindow.Function is true
PASS locationGetter.call(otherWindow.document).toString() is "about:blank"
PASS locationGetter.call(window.document) === window.document.location is true
PASS successfullyParsed is true
TEST COMPLETE