Closed Bug 1685614 Opened 3 years ago Closed 3 years ago

Use GeckoResult in EventDispatcher

Categories

(GeckoView :: General, task, P3)

Unspecified
All

Tracking

(firefox86 fixed)

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: agi, Assigned: agi)

Details

Attachments

(1 file)

Spinning off this from Bug 1625593, since it's useful in general.

EventDispatcher should have methods to query Gecko that use GeckoResult.

This patch adds queryString, queryBoolean, queryVoid and queryBundle to
EventDispatcher in place of dispatch(type, message, callback).

These query* methods returns a GeckoResult which can be manipulated using
GeckoResult.map.

Assignee: nobody → agi
Status: NEW → ASSIGNED
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1c7597ab79cc
Use GeckoResult in EventDispatcher. r=owlish,snorp
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: