On 08/04/2014 10:02 PM, Alive wrote:
> 開啟 2014年8月5日 at 下午12:40:15, Fabrice Desré ([email protected]
> <mailto:[email protected]>) 寫:
>> Privileged packaged apps can specify their origin in the manifest (so
>> you can get app://my-app as origin).
>
> A dump question,
>
> Is it marketplace’s responsibility to make sure the ‘my-app’ is unique
> and has certain mapping to real web site origin?
> For example, could I use |mozilla.com| as origin in my private app?
Yes, since this is only available to privileged apps, the marketplace
controls who can do what. So it's unlikely they will let you claim
app://mozilla.com as your origin!
Fabrice
--
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g