Something like this is likely to get standardized eventually. But I think it will take longer than we are willing to wait.
In the meantime we should only expose this API to pages that have permission to use DeviceStorage, which is where we are planning to use this. This way these classes effectively become part of DeviceStorage and can evolve with that API. / Jonas On Jul 18, 2014 11:02 PM, "Ehsan Akhgari" <ehsan.akhg...@gmail.com> wrote: > Hi Yuan, > > Do we have feedback from other browser vendors on these APIs? Is there > agreement on them? > > Cheers, > Ehsan > > On 2014-07-18, 5:29 AM, "Yuan Xulei(袁徐磊)" wrote: > >> Hi all,/ >> >> Summary/: >> These are subclasses of Promise. Allow promise to be canceled or send >> progress notification. They are planned to be used by some APIs, such as >> XMLHttpRequest, FileAPI, Filesystem API, the openDirectoryPicker of >> <input>... >> >> /Bug/: https://bugzilla.mozilla.org/show_bug.cgi?id=1035060 and >> https://bugzilla.mozilla.org/show_bug.cgi?id=1038557 >> /Link to standard/: >> https://groups.google.com/forum/#!topic/mozilla.dev.webapi/N1FjiEqCflI >> /Platform coverage/: Firefox OS >> /Estimated or target release/: ? >> /Preference behind which this will be implemented/: >> dom.abortablepromise.enabled for AbortablePromise, while >> AbortableProgressPromise will not be exposed to web and is available on >> having any devicestorage permission. >> >> --Yuan >> _______________________________________________ >> 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 > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform