Closed Bug 1330458 Opened 3 years ago Closed 3 years ago

Queue events to Gecko before Gecko is ready

Categories

(GeckoView :: General, defect)

All
Android
defect
Not set

Tracking

(firefox53 fixed)

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: jchen, Assigned: jchen)

References

Details

Attachments

(1 file)

Instead of dropping the events because there is no listener for them, queue up the events until Gecko is ready.
To deal with the Java side trying to send events to Gecko before Gecko
is ready, make a special exception to queue any undispatched events when
Gecko is not ready, so that the events can be redispatched to Gecko
later.
Attachment #8825984 - Flags: review?(snorp)
Attachment #8825984 - Flags: review?(snorp) → review+
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/74f4405ca51b
Queue undipatched events before Gecko is ready; r=snorp
https://hg.mozilla.org/mozilla-central/rev/74f4405ca51b
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Product: Firefox for Android → GeckoView
Target Milestone: Firefox 53 → mozilla53
You need to log in before you can comment on or make changes to this bug.