Re: Standardizing request contexts

2014-07-01 Thread Tanvi Vyas
On 7/1/14 7:28 AM, Doug Turner wrote: adding tanvi. On Jul 1, 2014, at 7:20, Boris Zbarsky wrote: On 7/1/14, 6:06 AM, Anne van Kesteren wrote: Hi Doug, Patrick, Boris, ccing Jonas, since he's been thinking about this a lot recently. https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XP

Re: Standardizing request contexts

2014-07-01 Thread Anne van Kesteren
On Tue, Jul 1, 2014 at 5:18 PM, Boris Zbarsky wrote: > So there are a few things to unpack here. > > If I do a window.open(), then I now have two top-level browsing contexts. > One of them is auxiliary, one is not, right? Its possible to then navigate > that browsing context via more window.open(

Re: Standardizing request contexts

2014-07-01 Thread Boris Zbarsky
On 7/1/14, 10:54 AM, Anne van Kesteren wrote: Good question. From what I remember the main motivation was having something distinct from navigating the top-level browsing context. A service worker might want to know whether it's "app" top-level browsing context is being navigated or whether it's

Re: Standardizing request contexts

2014-07-01 Thread Anne van Kesteren
On Tue, Jul 1, 2014 at 4:20 PM, Boris Zbarsky wrote: > What is the process of getting new contexts added as new features are added > to the platform? File a bug. > So, "popup". > > Is a "navigation" or a "popup"? What > about ? Does it depend on whether an > existing navigation context with t

Re: Standardizing request contexts

2014-07-01 Thread Doug Turner
adding tanvi. On Jul 1, 2014, at 7:20, Boris Zbarsky wrote: > On 7/1/14, 6:06 AM, Anne van Kesteren wrote: >> Hi Doug, Patrick, Boris, > > ccing Jonas, since he's been thinking about this a lot recently. > >> https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsICo

Re: Standardizing request contexts

2014-07-01 Thread Mike West
On Tue, Jul 1, 2014 at 4:20 PM, Boris Zbarsky wrote: > I assume it will be the responsibility of whoever invokes a fetch to > specify a context? > Yes. > What is the process of getting new contexts added as new features are > added to the platform? > So far, I've been pinging Anne while worki

Re: Standardizing request contexts

2014-07-01 Thread Boris Zbarsky
On 7/1/14, 6:06 AM, Anne van Kesteren wrote: Hi Doug, Patrick, Boris, ccing Jonas, since he's been thinking about this a lot recently. https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIContentPolicy suggests we have somewhat less granularity than Chromium / th