On Thu, Dec 11, 2014 at 11:17 AM, Alex Russell <slightly...@google.com> wrote:
> For the purposes of API composition, either this (or navigator.connect())
> will do.

One thing that we'll need to solve in a lot of the scenarios discussed
in this thread, including navigator.connect(), cross origin SW fetch()
and WebActivities/WebIntents are how to communicate with the SW from a
different origin when the SW from that origin might not be installed
yet.

One solution would be to at that point allow the SW from the other
origin to install itself, which means that you can then just talk to
it as a normal installed SW. However installing a SW could take
significant amount of time. On the order of tens of seconds if the
user is on a slow connection and the SW represent an app with heavy
resources.

So we might need to enable SWs to handle events without first being
installed. Or maybe while they are being installed.

/ Jonas
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to