Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/frame-src-vs-shift-click-target.html |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/frame-src-vs-shift-click-target.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/frame-src-vs-shift-click-target.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e787663af97990028e1ea384fdfc962fec8ea2b1 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/frame-src-vs-shift-click-target.html |
| @@ -0,0 +1,10 @@ |
| +<p>frame-src-vs-shift-click-TARGET.html</p> |
| +<script> |
| +mainTestWindow = window.open("", "mainTestWindow") |
| +var data = { |
| + 'history.length': (history.length), |
|
Mike West
2016/10/27 07:39:43
Nit: You don't need () for these values.
Łukasz Anforowicz
2016/10/27 15:28:54
Done.
|
| + 'window.self == window.parent': (window.self == window.parent), |
| + 'window.location.href': (window.location.href) |
| +}; |
| +mainTestWindow.postMessage(data, '*'); |
| +</script> |