Closed Bug 1948102 Opened 1 month ago Closed 23 days ago

Reduce code duplication and add tests for MozPromise in GetFilesHelper

Categories

(Core :: DOM: File, task)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: handyman, Assigned: handyman)

Details

Attachments

(1 file)

MozPromise was added in bug 1936020 part 3. The de-duplication idea is to abstract DOM promise and MozPromise operations.

Adds PromiseAdapter to abstract dom::Promise and MozPromise as one interface.
Also adds a test for the MozPromise behavior.

Pushed by daparks@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ba3e6e57a928 Refactor GetFilesHelper MozPromise behavior r=baku
Status: NEW → RESOLVED
Closed: 23 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: