blob: 288ba37f0bacfde45de78e6ba1a13e18aba64c2e [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.internals)
internals.settings.setContentDispositionAttachmentSandboxEnabled(true);
</script>
<p>This test verifies that @imported stylesheets 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/at-import-stylesheets-frame.py"></iframe>