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

15 lines
No EOL
342 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<iframe id="i"></iframe>
<script>
asyncTest((done) => {
window.addEventListener("pageshow", (e) => {
if (e.isTrusted) {
println("PASS");
} else {
println("FAIL");
}
done();
});
});
</script>