1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12

content / test / data / cross_site_document_blocking / html_import2.html [blame]

<!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>