The script in this test is executed immediately while parsing is ongoing, and
cleaning
up after running script involves queueing a task on the DOM manipulation
task source to fire the unhandledrejection
event. Parsing then
completes, immediately transitioning the document's readiness state to
"interactive," and queuing another task on the DOM manipulation task source to
transition the state to "complete."