mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-03 07:32:00 +00:00
With this change, Document now always has a Web::Page. This means we no longer rely on the breakable link between Document and BrowsingContext to find a relevant Web::Page. Fixes #22290
9 lines
257 B
HTML
9 lines
257 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
let e = document.createElement("div");
|
|
e.innerHTML = "<img src='data:text/png,'>";
|
|
println("PASS! (Didn't crash)");
|
|
println(e.firstChild.src);
|
|
});
|
|
</script>
|