Closed Bug 1532990 Opened 5 years ago Closed 5 years ago

proxy settings default ports still not quite right

Categories

(WebExtensions :: Request Handling, defect, P2)

defect

Tracking

(firefox67 verified)

VERIFIED FIXED
mozilla67
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.

Pushed by scaraveo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0cc7b558b836
handle default port better for proxy.settings r=zombie
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

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

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: