forked from mirrors/gecko-dev
15 lines
436 B
HTML
15 lines
436 B
HTML
<!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>
|