On 29 July 2014 19:24, Ian Hickson <ian@hixie.ch> wrote:
> On Tue, 29 Jul 2014, Jake Archibald wrote:
> >
> > Over in ServiceWorker we want to get all of the APIs available to
> > workers (FormData, indexeddb, URL etc), but not the synchronous
> > interfaces such as
> > http://dev.w3.org/2006/webapi/FileAPI/#readingOnThreads
>
> Why not the synchronous APIs?
>
ServiceWorker needs to be able to handle all of the fetches of a page load,
for instance. Sync APIs result in loading them in series. There's never a
good reason to be using a sync API in ServiceWorker.