On Fri, Jul 17, 2015 at 5:26 PM, Benjamin Kelly <bke...@mozilla.com> wrote: > Do you have specific ideas about how you think things should be refactored?
Not really. I believe one of the things that came up was that Necko's interface was not quite ideal and that most of this really ought to be in Necko instead, but I can't really speak to the code. I'd just like us to think about this since our architecture seems quite prone to serious security bugs. > 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. If you come across a specification that does that it's a bug in the specification. That's not acceptable. If you noticed cases like that in Fetch I would very much like to remove them. If you extend compatibility to add-ons though I can understand that refactoring here might get tricky, but hopefully our new add-ons efforts can help with that transition? -- https://annevankesteren.nl/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform