blob: 186d55e02495addf88a128fecadbe95d83081aeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test module script bytecode across iframe</title>
</head>
<body>
<script type="text/javascript" src="file_script_module_frames_relay.js"></script>
<script type="text/javascript">
// Dynamically insert the script element so that the load doesn't happen
// before the event relay handler is set up.
const script = document.createElement("script");
script.id = "watchme";
script.setAttribute("type", "module");
script.setAttribute("src", "file_script_module_frames_element_shared.mjs");
document.body.appendChild(script);
</script>
</body>
</html>
|