- From: Mike West <notifications@github.com>
- Date: Sun, 26 Mar 2017 22:49:15 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 27 March 2017 05:49:50 UTC
We have a number of tests in WPT for referrer policy that verify various policies by loading images with wide-open CORS headers that encode the referrer value in their pixels. We read the pixels via `<canvas>` and decode the value. But that relies on lax handling of mixed image content. That's going to be difficult to do from inside a service worker. That said, I'm not sure I understand what you're trying to test. Since we expect `fetch()` to a non-secure endpoint to be blocked, shouldn't the test make that assertion instead? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1094#issuecomment-289359582
Received on Monday, 27 March 2017 05:49:50 UTC