blob: 65f216c2071cf7ba1f6a6a935979188d7797c926 [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 scripts 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/scripts-frame.py"></iframe>