diff options
Diffstat (limited to 'dom/base/test/file_script_module_frames_element_save.html')
-rw-r--r-- | dom/base/test/file_script_module_frames_element_save.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dom/base/test/file_script_module_frames_element_save.html b/dom/base/test/file_script_module_frames_element_save.html new file mode 100644 index 0000000000..186d55e024 --- /dev/null +++ b/dom/base/test/file_script_module_frames_element_save.html @@ -0,0 +1,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> |