proxy settings default ports still not quite right
Categories
(WebExtensions :: Request Handling, defect, P2)
Tracking
(firefox67 verified)
Tracking | Status | |
---|---|---|
firefox67 | --- | verified |
People
(Reporter: mixedpuppy, Assigned: mixedpuppy)
References
Details
Attachments
(1 file)
Per bug 1507138 comment 7 one cannot properly set port 80 for some proxy settings.
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by scaraveo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0cc7b558b836 handle default port better for proxy.settings r=zombie
Comment 3•5 years ago
|
||
bugherder |
Comment 4•5 years ago
|
||
Verified in Win7x64, Ubuntu 14.0.4 x32, MacOS 10.14.1 FF67.0b5 (20190325125126)
I have created a test webextension using the script from https://bugzilla.mozilla.org/show_bug.cgi?id=1507138#c7 (1) and the ports are correctly set and displayed in the console(2).
(1)
let setProxySetting = {
proxyType: "manual",
ssl: "127.0.0.1:80",
ftp: "127.0.0.1:80",
socks: "127.0.0.1:80"
};
browser.proxy.settings.set({ value: setProxySetting }).then(() => {
browser.proxy.settings.get({}).then(ps => {
let getProxySetting = ps.value;
console.log("ssl ", getProxySetting.ssl);
console.log("ftp ", getProxySetting.ftp);
console.log("socks", getProxySetting.socks);
});
});
(2)
ssl 127.0.0.1:80
ftp 127.0.0.1:80
socks 127.0.0.1:80
Description
•