mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
18 lines
487 B
HTML
18 lines
487 B
HTML
<!DOCTYPE html>
|
|
<body>
|
|
<iframe></iframe>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
asyncTest(done => {
|
|
let iframe = document.querySelector("iframe");
|
|
iframe.src =
|
|
"data:text/html," +
|
|
encodeURI("<script>new IntersectionObserver(function() { }, { })<" + "/script>");
|
|
iframe.onload = function () {
|
|
iframe.remove();
|
|
println("PASS if we didn't crash!");
|
|
done();
|
|
};
|
|
});
|
|
</script>
|
|
</body>
|