Closed Bug 1209897 Opened 9 years ago Closed 9 years ago

DataAdapter#handleConflict should return a Promise

Categories

(Firefox OS Graveyard :: Sync, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mbdejong, Assigned: mbdejong)

References

Details

(Whiteboard: [partner-cherry-picked<2015/11/10>])

Attachments

(1 file)

Some DataAdapters might want to do some asynchronous things before deciding on how to resolve a conflict. Ones that don't can still easily just return Promise.resolve(resolution).
Assignee: nobody → mbdejong
Blocks: 1195647
Attachment #8667792 - Flags: review?(ferjmoreno)
Attachment #8667792 - Flags: review?(ferjmoreno) → review+
https://github.com/mozilla-b2g/gaia/commit/2433ba5a10ede2f3f221376a4ed7fc3c33ad266d
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: partner-cherry-pick
Whiteboard: partner-cherry-pick
Whiteboard: [partner-cherry-pick]
Whiteboard: [partner-cherry-pick] → [partner-cherry-picked<2015/11/10>]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: