Sorry Baptiste – I probably need more coffee over here…..
So, is the browser process a singleton. Only one exists to service many apps
invoking W3C Interfaces?
And for every application that invokes Tizen HTML5 APIs it has 2 dedicated
process (extension & render).
Using an example, if I have 2 web applications:
App 1:
Invokes W3C File
API<http://www.w3.org/TR/2011/WD-FileAPI-20111020/>
http://www.w3.org/TR/2011/WD-FileAPI-20111020/
Invokes: Tizen Bluetooth API;
https://developer.tizen.org/dev-guide/2.2.0/org.tizen.web.device.apireference/tizen/bluetooth.html
App 2:
Invokes W3C Battery Status API
-http://www.w3.org/TR/2012/CR-battery-status-20120508
Invokes NFC -
https://developer.tizen.org/dev-guide/2.2.0/org.tizen.web.device.apireference/tizen/nfc.html
I will end up with a total count of 1 browser process and 4 other processes (2x
extension & renderer) = 5 processes?
Is this correct?
From: Dev [mailto:[email protected]] On Behalf Of Baptiste Durand
Sent: Tuesday, May 13, 2014 11:39 AM
To: José Bollo
Cc: [email protected]
Subject: Re: [Dev] enforcing priviliges of web apps (was: Re: New Tizen
Bluetooth Framwork (NTB) wiki page)
Sorry
I means
For each user we have only 1 Browser process
And per User applications there are 2 process
1 render process (RP)
1 Extension Process (EP)
So
The browser process is in charge of W3C API
The extension process is in charge of tizen API
All W3C API for All Application for 1 user are managed by the Browser Process .
[X]
BR
Baptiste
2014-05-13 11:51 GMT+02:00 José Bollo
<[email protected]<mailto:[email protected]>>:
On mar, 2014-05-13 at 11:47 +0200, Baptiste Durand wrote:
>
> Hi
>
>
> 2014-05-13 11:27 GMT+02:00 José Bollo
> <[email protected]<mailto:[email protected]>>:
> On mar, 2014-05-13 at 11:16 +0200, Patrick Ohly wrote:
> > On Tue, 2014-05-13 at 10:49 +0200, José Bollo wrote:
> > > On mar, 2014-05-13 at 10:30 +0200, Patrick Ohly wrote:
> > > > I understand and agree that the system needs to enforce
> privileges. But
> > > > if all Web apps run in the same Crosswalk process,
> doesn't that force
> > > > Crosswalk to become a trusted part of the system?
> > >
> > > Hi,
> > >
> > > The process model of Crosswalk is more complicated: IIRC,
> for one
> > > application, 2 processes are launched. The launcher (aul,
> aul-ng) will
> > > take care to set good ids and context to these processes.
> >
> > So Crosswalk will not be "having a single Web process for
> all App"?
>
>
> Yes. IIRC, it is following the google chrome model. Baptiste
> or Thiago
> would confirm.
>
>
>
> It is not really the case:
>
> Currently we have:
> - a Browser Process per User
>
> - a Renderer Process
> - a Tizen Extension Process (In charge of Tizen API )
Can you be more precise? What is per app?
Cordialement
José
>
>
>
> The Browser Process is in charge of W3C API for all App for 1 user.
>
>
>
>
> BR,
>
> Baptiste
>
> --
> Baptiste DURAND
> Eurogiciel Vannes/FR
--
Baptiste DURAND
Eurogiciel Vannes/FR
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare
This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev