blob: 0ed547537b5ac2063c50e56cd9a3b5fa561bf4c5 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
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.php"></iframe>