mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-09 17:51:03 +00:00
21 lines
637 B
HTML
21 lines
637 B
HTML
|
|
<head>
|
||
|
|
<script src="../include.js"></script>
|
||
|
|
<script>
|
||
|
|
asyncTest(done => {
|
||
|
|
let frameset = document.getElementById("frameset");
|
||
|
|
|
||
|
|
let frame = document.createElement("frame");
|
||
|
|
frameset.appendChild(frame);
|
||
|
|
frame.remove();
|
||
|
|
|
||
|
|
// Attempting to load the frame will happen in a task on the event loop, so defer completing this test until
|
||
|
|
// the event loop has spun once.
|
||
|
|
setTimeout(() => {
|
||
|
|
println("PASS! (Didn't crash)");
|
||
|
|
done();
|
||
|
|
})
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
<frameset id="frameset"></frameset>
|