Files
serenity/Tests/LibWeb/Text/input/XHTML/script-execution.xhtml
Andreas Kling de66b176d1 LibWeb: Execute the correct script in XMLDocumentBuilder::element_end()
We were mistakenly executing the current node's script instead of the
document's pending parsing-blocking script.

This caused ~1000 WPT tests to time out, since we never ended up firing
a load event for XHTML pages that load multiple external scripts.

(cherry picked from commit 007c292af3202a85eb146b121720d988a66ed64b)
2024-07-28 07:30:38 -04:00

11 lines
174 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<script src="../include.js"></script>
<script>
test(() => {
println("PASS");
});
</script>
</body>
</html>