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 |
index 2e35192798cdf8d044b3d3ce07a92dac2f718f2f..12419e9dbf1531517b89fd68e1679e42ce53703b 100644 |
--- 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 |
@@ -1,10 +1,8 @@ |
<p>frame-src-vs-shift-click-TARGET.html</p> |
<script> |
-mainTestWindow = window.open("", "mainTestWindow") |
-var data = { |
- 'history.length': history.length, |
- 'window.self == window.parent': window.self == window.parent, |
- 'window.location.href': window.location.href |
-}; |
-mainTestWindow.postMessage(data, '*'); |
+testRunner.setCustomTextOutput( |
+ 'history.length: ' + history.length + '\n' + |
+ 'window.self == window.parent: ' + (window.self == window.parent) + '\n' + |
+ 'window.location.href: ' + window.location.href + '\n'); |
+testRunner.notifyDone(); |
</script> |