mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 14:05:01 +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>
|