blob: 865e13deb14c0699a062d3b2681bcab7e3a8ba0f [file] [edit]
<!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 xml-stylesheet processing instructions 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/xml-stylesheet-processing-instructions-frame.py"></iframe>