Open Bug 1038557 Opened 10 years ago Updated 2 years ago

Implement AbortableProgressPromise

Categories

(Core :: DOM: Core & HTML, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: xyuan, Unassigned)

References

Details

(Keywords: dev-doc-needed)

We need this for bug 935883 and see Bug 935883 Comment about details.

AbortableProgressPromise extends AbortablePromise and adds support for progress notification. It's interface would be like this:

callback ProgressPromiseInit = void (object resolve, object reject, object progress);

[Constructor(ProgressPromiseInit init, VoidCallback abortCallback)]
interface AbortableProgressPromise : AbortablePromise {
  AbortableProgressPromise progress(VoidAnyCallback);
};

We need to expose this as part of the DeviceStorage API and make this interface availability conditional on having any devicestorage permission.
Keywords: feature
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.