blob: 61698c7b0343d565dae5621e511dfcfa32a8a6ad [file] [log] [blame]
<!DOCTYPE html>
<script>
// TODO(lukasza, yoichio): https://crbug.com/766694: Remove this test file once
// HTML Imports are removed from the codebase.
// Injecting a <script> into |thisDocument| will use |thisDocument|'s origin
// [the origin of the module being imported] as |request_initiator| (rather than
// |document|'s origin [the importer's origin]).
thisDocument = document.currentScript.ownerDocument;
var script = thisDocument.createElement("script");
script.setAttribute("src", "/site_isolation/nosniff.json");
thisDocument.head.appendChild(script);
</script>