ladybird/Tests/LibWeb/Text/input/HTML/ShadowRealm-importValue.html
2025-03-20 11:50:49 +01:00

11 lines
325 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(async done => {
const shadowRealm = new ShadowRealm();
const promise = shadowRealm.importValue("../../data/external-module.mjs", "foo");
const value = await promise;
println(value);
done();
});
</script>