The only about: page we display is about:neterror. On b2g we redirect it
to a page served from the system app (apps/system/net_error.html). The
nice thing doing that is that we have control of its look & feel (even
if we started by mostly copying the one from Fennec), and we can
localize it like the rest of gaia. That means that we don't have to ship
a localized gecko, which is a win. We still have some unlocalized
strings in gecko that we should provide from the system app though, like
the label on <input type=file> buttons.
Fabrice
On 11/10/2015 07:50 PM, Tim Guan-tin Chien wrote:
> Understood, thanks for the response Francisco, Fernando and Ben!
>
> Maybe the bigger issue here is whether or not we should somehow allow
> about: URLs to be loaded into FxOS? I don't think it make sense for
> re-do every about: page UI in the FxOS org since Platform team already
> did it once?
>
>
> On Wed, Nov 11, 2015 at 1:46 AM, Francisco Jordano <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hi there,
>
> as Ben mentioned there is a new effort from the devtools team to
> provide tools for debugging the new features that platform is building.
>
> IIRC, Eddy is working on the new tools under about:debugging that
> will be the umbrella for debugging addons, workers, serviceworkers, etc.
>
> We still don't have it available for FxOS, so IMO, we should keep
> the current implementation in Settings that provide basic
> functionality for developers, and remove that implementation as soon
> about:debugging is available for Firefox OS.
>
> Cheers,
> F.
>
> On 10 November 2015 at 14:04, Ben Kelly <[email protected]
> <mailto:[email protected]>> wrote:
>
> On Tue, Nov 10, 2015 at 2:32 AM, Tim Guan-tin Chien
> <[email protected] <mailto:[email protected]>> wrote:
>
> Somehow it was decided about:serviceworker in Settings app
> should be engineered with a chrome/content event to System
> app and an IAC channel to Settings app:
>
>
> https://github.com/mozilla-b2g/gaia/blob/3180bbe2f2e94809c1fcef0e92a01da99cdfb530/apps/system/js/about_service_workers_proxy.js#L21-L29
>
> When, per previous threads, we should just implement a
> ServiceWorkerManager API accessible from Settings app.
>
>
> Is it really necessary to have this panel in settings app vs
> providing the information via devtools?
>
> The main issue with the previous settings app service worker
> panel is that it could run the service worker script in the
> wrong content process. For example, when you click the update
> button it would launch the service worker script for appId X in
> the settings content process with appId Y. This would then
> cause security checks to fail and kill the content process.
>
> If necessary we can surface a small interface to settings app,
> but I would strongly suggest that it be limited in scope. We
> should not expose the full nsIServiceWorkerManager interface.
> It would also need to include IPC to the parent process to work
> properly.
>
>
> Unless there are counter-arguments unknown to me, I would
> like to organize work and do this conversion.
>
>
> We are planning to revisit our service worker e10s design for
> b2g at the December work week. I would recommend waiting to do
> any major changes until after that session.
>
> Ben
>
>
>
>
>
> _______________________________________________
> dev-fxos mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-fxos
>
--
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos