----- Original Message ----- > On Apr 27, 9:37 am, Mounir Lamouri <mou...@lamouri.fr> wrote: > > Why? Wouldn't be the idea of such component to make sure it is > > usable > > from C++? > > Perhaps some day, but IndexedDB was always designed with JS in mind. > To use it you pass special JS dictionaries for options, clone things > to/from JS objects, etc. Using it from C++ is not a pleasant > experience and requires lots of JSAPI.
A WebIDL callback interface thing could probably be set up to make calling from C++ into JS less awful, if somebody has a need. Andrew > > We could implement a C++ API that reuses all the transactions and > threading and such but so far no one has been breaking down our door > asking for it. > > -bent > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform