web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
4.8k stars 3k forks source link

Add a variant test for script scheduling #47018

Open Ms2ger opened 3 days ago

Ms2ger commented 3 days ago

It took me a while to figure out why 128 worked at all (the script I thought was parser-inserted wasn't anymore at the point of test), and by that time I'd already added 151.

Note that the order of execution of scripts 2 and 3 is in flux (ref https://github.com/whatwg/dom/pull/1261), but it should at least be consistent between the 128 and 151.