Add extension API support for masque proxy
Categories
(WebExtensions :: Request Handling, enhancement, P3)
Tracking
(firefox145 fixed)
| 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
| Assignee | ||
Comment 1•11 months ago
|
||
Comment 2•10 months ago
|
||
(moving to WebExtensions component for better visibility; the meta bug already tracks the work at the Networking level)
Comment 5•10 months ago
|
||
Backed out for causing failures at test_ext_proxy_http3.js.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/8cc81c28ff3e5aecf7ad41912e1bf9ba6121516a
Push where failures started: https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=UhWPn8RUSl-6QWoST3eCGQ.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=88d6b94b45209be520e79ec7fca01dffd8e2cf82&searchStr=xpc
Failure log: https://treeherder.mozilla.org/logviewer?job_id=530448707&repo=autoland&task=UhWPn8RUSl-6QWoST3eCGQ.0&lineNumber=3790
Comment 7•10 months ago
|
||
| bugherder | ||
| Assignee | ||
Updated•10 months ago
|
Documentation updates available in:
- (MDN) Bug 1988988 proxy API support for masque #41563
- c(BCD) Bug 1988988 support for masque in proxy API #28213
Comment 9•9 months ago
|
||
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_hostandtarget_porttemplate 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".
Description
•