Re: [referrer-policy-tests] [REFERRER] Tests for CSS integration (#5160)

FTR, per our converstation on irc, these tests are assuming that the external url is a critical subresource of the stylesheet, and so the load event on the link element implies that the image must have loaded. But testing in browsers suggests that's not actually happening because adding logging to the server clearly shows that we are trying to take from the stash before we put anything into the stash.

Depending on what you want to test, it might be possible to `step_timeout` a reasonable delay after the load event and then check the headers from the image. It's not elegant but ought to work well enough with an appropriate delay (e.g. at least 1s).

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

Received on Thursday, 16 March 2017 17:25:02 UTC