Chromium Code Reviews| Index: LayoutTests/http/tests/security/cross-frame-window-to-tostring-expected.txt |
| diff --git a/LayoutTests/http/tests/security/cross-frame-window-to-tostring-expected.txt b/LayoutTests/http/tests/security/cross-frame-window-to-tostring-expected.txt |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1f6e63edfd72d2b0c95ff4c5444f06130a3b5e2f |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/security/cross-frame-window-to-tostring-expected.txt |
| @@ -0,0 +1,39 @@ |
| + |
| +PASS successfullyParsed is true |
| + |
| +TEST COMPLETE |
| +PASS window + '' is '[object Window]' |
| +PASS window.toString() is '[object Window]' |
| +FAIL Object.prototype.toString.call(window) should be [object Window]. Was [object global]. |
|
arv (Not doing code reviews)
2015/05/08 21:42:24
This has a bunch of FAIL in it. I think I got the
|
| +PASS Window.prototype + '' is '[object Window]' |
| +PASS Window.prototype.toString() is '[object Window]' |
| +FAIL Object.prototype.toString.call(Window.prototype) should be [object Window]. Was [object Object]. |
| +FAIL window + '' should be [object iii]. Was [object Window]. |
| +FAIL window.toString() should be [object iii]. Was [object Window]. |
| +PASS Object.prototype.toString.call(window) is '[object iii]' |
| +PASS Window.prototype + '' is '[object Window]' |
| +PASS Window.prototype.toString() is '[object Window]' |
| +FAIL Object.prototype.toString.call(Window.prototype) should be [object Window]. Was [object Object]. |
| +FAIL window + '' should be [object jjj]. Was [object Window]. |
| +FAIL window.toString() should be [object jjj]. Was [object Window]. |
| +PASS Object.prototype.toString.call(window) is '[object jjj]' |
| +FAIL Window.prototype + '' should be [object jjj]. Was [object Window]. |
| +FAIL Window.prototype.toString() should be [object jjj]. Was [object Window]. |
| +PASS Object.prototype.toString.call(Window.prototype) is '[object jjj]' |
| + |
| +Testing local iframe |
| +FAIL w + '' should be [object inner]. Was [object Window]. |
| +FAIL w.toString() should be [object inner]. Was [object Window]. |
| +PASS Object.prototype.toString.call(w) is '[object inner]' |
| +FAIL w + '' should be [object kkk]. Was [object Window]. |
| +FAIL w.toString() should be [object kkk]. Was [object Window]. |
| +PASS Object.prototype.toString.call(w) is '[object kkk]' |
| +FAIL w + '' should be [object inner]. Was [object Window]. |
| +FAIL w.toString() should be [object inner]. Was [object Window]. |
| +FAIL Object.prototype.toString.call(w) should be [object inner]. Was [object global]. |
| + |
| +Testing remote iframe |
| +PASS w + '' threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. |
| +FAIL w.toString() should throw SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. Was [object Window]. |
| +PASS Object.prototype.toString.call(w) threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. |
| + |