Le 16/08/2013 09:54, Paul Theriault a écrit :
> At campjs last weekend a bunch of people were making Firefox OS apps with 
> Angular. They were testing in the simulator which runs apps as packaged apps. 
> Because of this, they were getting errors related to the app: protocol, since 
> angular relies on changing the URL hash. E.g. links to #/tasklist/ get 
> rewritten to 
> unsafe:app://ec1543da-f13a-41e3-875d-2e2bb6683ac9/index.html#/tasklist/
>
> Any ideas why gecko doesn't like this ? App is built on jar - does # have a 
> special meaning in jar URLs or something like that? Either way, any 
> suggestions to avoid this ? 
>
>

We change the hash in some other packaged apps too (most notably the
Messages app) since the start. But AFAIK we don't use links  to do this,
and maybe that's the reason here.

This is maybe something we could fix (ie: links to the same app should
probably not be unsafe) but we need to take care ;) Or maybe it's
supposed to behave like this and we have a bug.

-- 
Julien

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to