OLD | NEW |
1 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access
ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m
ust match. | 1 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access
ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m
ust match. |
2 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access
ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m
ust match. | 2 This tests that you can't get the prototype of the window object cross-origin us
ing Object.getPrototypeOf(). |
3 This tests that you can't get the prototype of the window or history objects cro
ss-origin using Object.getPrototypeOf(). | |
4 | 3 |
5 PASS: Object.getPrototypeOf(targetWindow) should be 'undefined' and is. | 4 PASS: Object.getPrototypeOf(targetWindow) should be 'undefined' and is. |
6 PASS: Object.getPrototypeOf(targetWindow.history) should be 'undefined' and is. | |
7 | 5 |
OLD | NEW |