On 11/21/2012 4:06 PM, Boris Zbarsky wrote:
On 11/21/12 9:50 AM, Honza Bambas wrote:
The question is: where is a good place where nsGlobalWindow already
knows its associated principal to trigger the preload?

Outer window, or inner window?

The same window localStorage getter is called on, so the *inner* one.


Also, do you need to know the exact principal, or just "not system"?

I need complete principal, since it is needed to map localStorage data (actually, the origin string and if present, appid+browser flag)

Thanks
-hb-


-Boris

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to