blob: ea61b449bfe0fde7cff9d19731f4ea3fb6f23cff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test module script bytecode fallback</title>
</head>
<body>
<script id="watchme" type="module" src="file_script_module_sri_fallback_failure.mjs"
integrity="sha384-wronghash"></script>
<script type="text/javascript">
// The above script isn't evaluated because of wrong integrity.
window.dispatchEvent(new Event("test_evaluated"));
</script>
</body>
</html>
|