Re: IndexedDB, what were the issues? How do we stop it from happening again?

On Tue, Mar 19, 2013 at 2:25 PM, Robert Ginda <> wrote:
> One option that will probably never happen: Stop making jank-inducing API's
> available on the main thread.

I think we're already doing this. As far as I know all browser vendors
are on board with the idea of not having APIs which run on the main
thread and which are slow enough that they can introduce jank.
Including anything that does IO, but also things like encryption and
image decoding/encoding.

Unfortunately we already have a pretty large debt in form of janky APIs :(

> Do them all as synchronous APIs only, and
> available only to workers.

This part is more controversial I think. Forcing people to use workers
even in simple cases might not be popular.

There's also the issue that synchronous APIs generally have worse
performance. But it would need to be measured.

/ Jonas

/ Jonas

Received on Tuesday, 19 March 2013 22:53:03 UTC