Re: [resource-timing-tests] One resource entry per resource (#2919)

Discussed this at TPAC yesterday with Todd & Yoav...

> It's still not clear to me if this is correct. If you follow the RT processing model verbatim, then there should be multiple records, since the second image should (at least in theory) initiate a fetch, which should then hit the appropriate caches and pull out the right data.

Ignore the above. [Step 6](https://w3c.github.io/resource-timing/#processing-model) of the RT processing model covers this case:

> If the user agent is to reuse the data from another existing or completed fetch initiated from the current document, abort the remaining steps.

So, the behavior that is being tested here *is correct* -- lgtm for that. For the test structure: it's not clear to me that this is the best way to test the actual behavior, as there is no guarantee that UA must dispatch a single PO event. Ideally, we should check that only one event was delivered some time after the onload event of the second test fired.

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

Received on Wednesday, 21 September 2016 19:29:15 UTC