On 8 March 2016 at 06:06, Jonas Sicking <[email protected]> wrote:

> On Mon, Mar 7, 2016 at 9:51 PM, Tim Guan-tin Chien <[email protected]>
> wrote:
> > This implies the Gaia System app, which is framed by shell.html (a
> > chrome document), will switch cookie jar when the default is changed,
> > no?
>
> No, the Gaia System app doesn't run as chrome (i.e. doesn't have a
> system principal). So it would not be affected by this proposal.
>

Just a heads up that this may not be the case for much longer. As part of
the B2G OS transition project we are currently looking at making all the
Gaia system UI (at least all the certified apps with role=system) into
chrome.

I have a simple working prototype
<https://github.com/benfrancis/gecko-dev/tree/b2g-tablet/b2g/chrome> and
Fabrice is currently looking at getting this to work for the existing Gaia
system app. After some experimentation the approach Fabrice is taking is to
load the existing system UI using a chrome:// URL, but still inside the
<iframe mozbrowser> inside shell.html in order to try to maintain some
level of abstraction away from XPCOM.

The idea of this is to bring us much closer to how Firefox works (just
chrome and web content), but the upshot is that the Gaia system UI will in
fact have the system principal. This may not be a problem though, we have
no plans for data migration and we can probably share whatever Firefox does.

Ben
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to