Closed Bug 1824976 Opened 2 years ago Closed 2 years ago

Add (ext|web)\+[a-z]+: url pattern as command line parameter for registered protocol handlers of WebExtensions

Categories

(Thunderbird :: Add-Ons: Extensions API, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
113 Branch

People

(Reporter: TbSync, Assigned: TbSync)

References

Details

Attachments

(1 file)

Finalize Bug 1757142 and allow to provide WebExtension protocol handler urls as command line parameter. Consider this manifest:

{
        "manifest_version": 2,
        "name": "cuprohaex",
        "version": "0.1",
        "protocol_handlers": [{
                "protocol": "ext+phex",
                "name": "Protocol Handler Example",
                "uriTemplate": "/example.html#%s"
        }]
}

This patch aims to support passing the defined WebExtension protocol to Thunderbird via the command line:

thunderbird ext-pheb://<something>

Thunderbird should be opened and a tab with /example.html#ext-pheb://<something> should be loaded.

Assignee: nobody → john
Status: NEW → ASSIGNED
Target Milestone: --- → 113 Branch

Pushed by micah@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/a566bf4a2f64
Add (ext|web)+[a-z]+: url pattern as command line parameter for registered command handlers of WebExtensions. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Summary: Add (ext|web)\+[a-z]+: url pattern as command line parameter for registered command handlers of WebExtensions → Add (ext|web)\+[a-z]+: url pattern as command line parameter for registered protocol handlers of WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: