On Fri, Jul 17, 2015 at 11:20 AM, Anne van Kesteren <ann...@annevk.nl> wrote:
> In Whistler we discussed security concerns around service workers and > a lot of them stem from the fact that we don't have a good interface > in Gecko for Fetch[1]. Something that handles requests for all web > platform features we have and deals with CSP, HSTS, Referrer Policy, > redirects, service workers, CORS, Mixed Content, etc. for them. > > While we decided not do this refactoring before shipping service > workers, we should probably start planning, unless I'm missing > something. > > [1] https://fetch.spec.whatwg.org/ Do you have specific ideas about how you think things should be refactored? I think the only realistic thing we can do is make nsIChannel work more like the fetch spec over time. Of course, the main problem will be that we have to support backward compat in places the spec might be able to say its making a breaking change compared to the wild web. Ben _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform