Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/scripting-1/the-script-element/module/dynamic-import/code-cache-base-url.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<!--
Functions with the same source code shouldn't be cached if their referencing
scripts and host defined options are different.
Each Function in the following three scripts should have different base URLs
`gamma/code-cache.js` reuses the Function in `beta/code-cache.js`, resulting in
wrong base URL.
-->
<script src="alpha/code-cache.js"></script>
<script src="beta/code-cache.js"></script>
<script src="gamma/code-cache.js"></script>