Re: [ServiceWorker] HTTP authentication and proxy authentication hook (#119)

> [I]t breaks the pass-through SW case where you're talking to a third-party origin.

This is observable through redirects (unclear how to fix), referrer (can fix, except for "no-cors" CSS subresources), CSP (there's a proposal of sorts, but disallowed requests will be made, context will get lost), and presumably more since I doubt I hit the bottom. Pass-through works, but `fetch()` is not pass-through. It does a number of things to a request.

I agree that request and clients are bound. The split `FetchEvent` made never sat well with me (and you'll find Fetch doesn't have it). I do think network-spawn dialogs need to be an opt-in choice though.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/119#issuecomment-118359877

Received on Friday, 3 July 2015 14:06:15 UTC