blob: 89e2364e1589a0d4e704be32a0c60aa84dab6c81 [file]
<!DOCTYPE html>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
if (testRunner.setShouldDownloadContentDispositionAttachments)
testRunner.setShouldDownloadContentDispositionAttachments(false);
}
if (window.internals)
internals.settings.setContentDispositionAttachmentSandboxEnabled(true);
</script>
<p>This test verifies that cross-origin frames are disabled when 'Content-Disposition: attachment' sandboxing is enabled. A security error will be logged to the console if the test passes.</p>
<iframe src="resources/cross-origin-frames-frame.py"></iframe>