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

content / test / data / cross_site_document_blocking / html_import3.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| below uses a |request_initiator| set to the *importer*'s origin
// (not to the origin the HTML module is imported from).
fetch('/site_isolation/nosniff.json')
    .then(response => response.text())
    .then(text => domAutomationController.send('BODY: ' + text))
    .catch(err => domAutomationController.send('ERROR: ' + err));
</script>