ladybird/Tests/LibWeb/Text/input/js-export-rename.html
Andreas Kling 0f9444fa06 LibJS: Fix mix-up when re-exporting an imported symbol with a new name
This makes https://cling.com/ load, and more of the animated elements
on https://shopify.com/ start appearing.
2024-09-02 17:14:21 +02:00

13 lines
312 B
HTML

<script src="include.js"></script>
<script>
window.resultThingy = "FAIL";
</script>
<script type="module">
import { renamedValue } from "./js-export-rename-module.js";
window.resultThingy = "PASS: " + renamedValue;
</script>
<script>
test(() => {
println(resultThingy);
});
</script>