Closed Bug 1013810 Opened 10 years ago Closed 10 years ago

Separate Dialer and Contacts as independent apps

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED DUPLICATE of bug 1046090
tracking-b2g backlog

People

(Reporter: jmcf, Unassigned)

References

Details

After FTU-Comms separation work I believe next step would be to separate contacts and dialer apps. 

I believe that could be possible provided bug 879475 lands as we will be able from dialer to instantiate a mozBrowser iframe with the Contacts App inside. 

Please let me know if I'm wrong with this assumption.
Depends on: 879475
Adding to backlog to be properly prioritized.
blocking-b2g: --- → backlog
Vivien, Etienne,

opinions on this?

thanks
Flags: needinfo?(etienne)
Flags: needinfo?(21)
(In reply to Jose Manuel Cantera from comment #0)
> After FTU-Comms separation work I believe next step would be to separate
> contacts and dialer apps. 
> 
> I believe that could be possible provided bug 879475 lands as we will be
> able from dialer to instantiate a mozBrowser iframe with the Contacts App
> inside. 

Yes AFAIK this is the plan!
There is also some security concerns about letting an app display another app (click jacking etc..) but since both are gaia apps here I'm sure we'll figure out the details.

Exciting project!
Flags: needinfo?(etienne)
(In reply to Jose Manuel Cantera from comment #2)
> Vivien, Etienne,
> 
> opinions on this?
> 
> thanks

Yep that's more or less it. We need a few other security patches on top of that, and I have not followed the final decision if we want to let apps other than the homescreen/lockscreen/notification tray embed other apps as widget. So I need to double check that.

Ehsan do you know if we have took a decision on that ? (that === letting any apps embed other apps via <iframe mozbrowser mozapp> ?
Flags: needinfo?(21) → needinfo?(ehsan)
(In reply to Vivien Nicolas (:vingtetun) (:21) (NOT reading bugmails, needinfo? please) from comment #4)
> (In reply to Jose Manuel Cantera from comment #2)
> > Vivien, Etienne,
> > 
> > opinions on this?
> > 
> > thanks
> 
> Yep that's more or less it. We need a few other security patches on top of
> that, and I have not followed the final decision if we want to let apps
> other than the homescreen/lockscreen/notification tray embed other apps as
> widget. So I need to double check that.
> 
> Ehsan do you know if we have took a decision on that ? (that === letting any
> apps embed other apps via <iframe mozbrowser mozapp> ?

I assume you're talking about this thread <https://groups.google.com/forum/#!topic/mozilla.dev.webapi/mSkywh1P7L8>.  In that case, we decided to use a different permission for embedding widgets (embed-widget) which will not automatically allow you to embed any apps; it will only allow you to embed the widgets that the developer of the widget app wants you to import (i.e., you won't pass in an arbitrary URL into the app to the iframe, you just specify mozwidget and we load the widget that the app declares based on the information in its manifest.)

Does this answer your question?
Flags: needinfo?(ehsan)
Depends on: nested-oop
I'll keep bug 1046090 as the live one since there already a prototype attached and more recent discussion has been going on there ;)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.