<!DOCTYPE html> | |
<script> | |
// TODO(lukasza, yoichio): https://crbug.com/766694: Remove this test file once | |
// HTML Imports are removed from the codebase. | |
// fetch_no_nosniff.js calls fetch which uses a |request_initiator| | |
// set to the *importer*'s origin (not to thisDocument's origin). | |
thisDocument = document.currentScript.ownerDocument; | |
var script = thisDocument.createElement("script"); | |
script.setAttribute("src", "fetch_nosniff_json.js"); | |
thisDocument.head.appendChild(script); | |
</script> |