Closed Bug 1598792 Opened 3 months ago Closed 1 month ago

Expose |options_ui| to embedders

Categories

(GeckoView :: Extensions, enhancement, P1)

Unspecified
All
enhancement

Tracking

(firefox74 fixed)

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: Agi, Assigned: twisniewski)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [geckoview:m74][geckoview:m75])

Attachments

(1 file)

We need to expose options_ui to embedders. A field on the WebExtension object might be sufficient.

mdn https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/options_ui

Depends on: 1582185
Rank: 5
Priority: -- → P2
Whiteboard: [geckoview:m1912]
Whiteboard: [geckoview:m1912]
Whiteboard: [geckoview:m74]
Assignee: nobody → twisniewski
Priority: P2 → P1

These values are not available right away after onInstallEnded, but are available after Management.on("ready") for the addon. We prefer not complicating the
situation for GV embedders, and instead only resolving the installExtension once the addon is ready.

Whiteboard: [geckoview:m74] → [geckoview:m74][geckoview:m75]
Attachment #9123636 - Attachment description: Bug 1598792 - ensure that GeckoView WebExtension.optionsPageUrl and WebExtension.openOptionsPageInTab are available after the installExtension promise is resolved; r?agi, r?robwu → Bug 1598792 - ensure that GeckoView WebExtension.metaData.optionsPageUrl and WebExtension.metaData.openOptionsPageInTab are available after the installExtension promise is resolved; r?agi, r?robwu
Pushed by twisniewski@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c0cffef8da51
ensure that GeckoView WebExtension.metaData.optionsPageUrl and WebExtension.metaData.openOptionsPageInTab are available after the installExtension promise is resolved; r=robwu,agi
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.