Re: [html-tests] [html] Add test for shared event loops (#5738)

> User agents must ignore tasks queued by documents that are not fully active. It's right there in step 1 of the event loop's processing model.

In this case the task is queued by a document that is fully active:

> if the task was queued in the context of a browsing context, then [its Document] is the browsing context's active document at the time the task was queued

This particular test is still valid. If it were testing something like `child.then(...); window.close()`, the task should not execute. But it's not testing that; it's effectively testing `window.close(); child.then(...);`.

None of this detracts from @bzbarsky's point about overall UA inconsistency here, but I think the first step in addressing that inconsistency is to get tests like this one merged.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/5738#issuecomment-298375472

Received on Monday, 1 May 2017 17:06:06 UTC