Closed Bug 1988988 Opened 11 months ago Closed 10 months ago

Add extension API support for masque proxy

Categories

(WebExtensions :: Request Handling, enhancement, P3)

enhancement

Tracking

(firefox145 fixed)

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-complete, Whiteboard: [necko-triaged])

Attachments

(1 file)

The webextension proxy api currently supports HTTP/S or SOCKS proxies.
The new MASQUE connect-udp proxies are similar to HTTPS proxies, but the proxyInfo needs to contain the pathTemplate.
This bug covers the webextension API + tests

(moving to WebExtensions component for better visibility; the meta bug already tracks the work at the Networking level)

Severity: S3 → N/A
Type: task → enhancement
Component: Networking: HTTP → Request Handling
Keywords: dev-doc-needed
Product: Core → WebExtensions
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/50f1ff7a942c https://hg.mozilla.org/integration/autoland/rev/8cc81c28ff3e Revert "Bug 1988988 - Add extension API support for masque proxy r=necko-reviewers,kershaw,robwu" for causing failures at test_ext_proxy_http3.js.
Regressions: 1992996
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
Flags: needinfo?(valentin.gosu)

Documentation updates available in:

Blocks: 1998773
Depends on: 1998894

The pathTemplate is renamed to masqueTemplate in bug 1998894, which lands in 146. To keep the documentation simple, I recommend listing this feature in the release notes in 146 (not 145). In the "notes" part of BCD, we could add a note "masqueTemplate was named pathTemplate in Firefox 145" or something like that.

Description of masqueTemplate for documentation purposes:

The URI template for the MASQUE proxy, starting from the path component of the URI. This must contain the target_host and target_port template variables as defined in RFC 9298. For example, /.well-known/masque/udp/{target_host}/{target_port}/. Must be set when the proxy type is "masque".

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: