Re: Intent to implement: AbortablePromise and AbortableProgressPromise

2014-07-21 Thread Ehsan Akhgari
On Sat, Jul 19, 2014 at 5:49 AM, Jonas Sicking wrote: > 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 wh

Re: Intent to implement: AbortablePromise and AbortableProgressPromise

2014-07-19 Thread Jonas Sicking
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 effectiv

Re: Intent to implement: AbortablePromise and AbortableProgressPromise

2014-07-18 Thread Ehsan Akhgari
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

Intent to implement: AbortablePromise and AbortableProgressPromise

2014-07-18 Thread Yuan Xulei(袁徐磊)
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 ... /Bug/: https://bugzilla.mozilla.org/show_bug.cgi?id=103506