mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 01:47:00 +02:00
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)
11 lines
174 B
HTML
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>
|