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