cdumez@apple.com | 40d12c9 | 2016-02-04 21:36:04 +0000 | [diff] [blame] | 1 | Tests that calling an instance property getter on another instance works as expected |
| 2 | |
| 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 4 | |
| 5 | |
| 6 | PASS locationGetter is an instance of function Function() { |
| 7 | [native code] |
| 8 | } |
| 9 | PASS locationGetter.call(otherWindow.document).toString() is "about:blank" |
cdumez@apple.com | 82cc61c | 2016-02-06 00:18:41 +0000 | [diff] [blame] | 10 | PASS locationGetter.call(window.document) === window.document.location is true |
cdumez@apple.com | 40d12c9 | 2016-02-04 21:36:04 +0000 | [diff] [blame] | 11 | PASS successfullyParsed is true |
| 12 | |
| 13 | TEST COMPLETE |
| 14 | |