blob: 01eb0028f567c0db3368f33ae44fa40cdec0a7c4 (
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.js"
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>
|