blob: 3a30cf817408cfab2a1ac9c42ba62ca50f53449c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/ui-helper.js"></script>
<script src="resources/tap-run-test-hyperlink.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
}
</script>
</head>
<body>
<p>This test verifies that loading a cross-origin iframe is blocked when created by a QuickLook preview of a Microsoft Word document. This test PASSED only if a security error is logged to the console.</p>
<iframe src="resources/cross-origin-iframe-blocked.docx" onload="runTest(this)"></iframe>
</body>
</html>