mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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
10 lines
257 B
HTML
10 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>
|