Closed Bug 1599897 Opened 5 years ago Closed 5 years ago

When attaching a ActionDelegate, the delegate should receive the default action

Categories

(GeckoView :: Extensions, enhancement, P2)

Unspecified
All
enhancement

Tracking

(firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: agi, Assigned: agi)

References

Details

(Whiteboard: [geckoview:m1911])

Attachments

(1 file)

Right now we send the default extension action information only when reading the manifest. This is not always an appropriate time for the app to register a delegate, and especially with installed extensions, it will be rather hard for an app to register a delegate at the right time.

Instead, since we already keep this information around, we should just generate an update immediately after the delegate has been registered, so that the app can register the delegate at any time.

Installed extensions are available after the manifest is read, so the initial
default action information could be missed by the delegate. We now just trigger
an update after a delegate has been registered to work around this.

Rank: 2
Priority: -- → P2
Whiteboard: [geckoview:m1912]
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b6bb3608f781
Send action information after attaching delegate. r=esawin
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Whiteboard: [geckoview:m1912] → [geckoview:m1911]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: