Commit Graph

78 Commits

Author SHA1 Message Date
Michael Kaply
3eab2011d8 Bug 1628487 - Locked Socks V5 shouldn't enable. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D70769
2020-04-14 15:44:36 +00:00
Gijs Kruitbosch
8bd1d441f8 Bug 1625773 - fix use of backup prefs for socks proxy information, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D69005
2020-04-01 15:25:14 +00:00
Gijs Kruitbosch
17cdccdfca Bug 1610423 - stop graying out socks settings when sharing http/ftp/tls proxy settings, r=mkaply,jaws
Differential Revision: https://phabricator.services.mozilla.com/D60855
2020-02-06 19:09:36 +00:00
Gijs Kruitbosch
f69e2d1c9e Bug 969282 - don't copy http proxy values to socks proxy now that we use it for websocket connections, r=mixedpuppy,mkaply,fluent-reviewers,flod
I also took the opportunity to fix the SSL proxy label - we shouldn't label
things "SSL" anymore in 2019, unless they really are. All the comments in
bug 969282, bug 1577862 and bug 1601871 use 'HTTPS'.

Differential Revision: https://phabricator.services.mozilla.com/D58120
2020-01-02 12:51:40 +00:00
Narcis Beleuzu
b782c01875 Backed out changeset 97679241a744 (bug 969282) for xpcshell failures on test_ext_proxy_config.js 2019-12-31 03:30:02 +02:00
Gijs Kruitbosch
3903a9cae5 Bug 969282 - don't copy http proxy values to socks proxy now that we use it for websocket connections, r=mixedpuppy,mkaply,fluent-reviewers,flod
I also took the opportunity to fix the SSL proxy label - we shouldn't label
things "SSL" anymore in 2019, unless they really are. All the comments in
bug 969282, bug 1577862 and bug 1601871 use 'HTTPS'.

Differential Revision: https://phabricator.services.mozilla.com/D58120
2019-12-30 22:20:02 +00:00
Kirk Steuber
fae45264bb Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.

Differential Revision: https://phabricator.services.mozilla.com/D52411
2019-12-10 18:25:59 +00:00
Tim Nguyen
d723f714bc Bug 1596193 - Replace outdated references to XUL textbox. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D53177
2019-11-15 13:35:14 +00:00
Tim Nguyen
aa04d0c21f Bug 1587384 - Fix extension controlled UI for connection settings. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D48692
2019-10-09 19:44:13 +00:00
Narcis Beleuzu
7545b42d3d Bug 1581670 - ESlint-fix. r=me CLOSED TREE 2019-10-09 13:26:52 +03:00
Tim Nguyen
b1aa4de1f2 Bug 1581670 - Remove XUL grid from browser/components/preferences/connection.xul. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46089
2019-10-09 09:41:49 +00:00
Tim Nguyen
da27ed5d34 Bug 1513325 - Remove textbox binding. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D38955
2019-10-09 09:27:28 +00:00
Jonas Allmann
e94cba8ecb Bug 1547718, Remove preferenceBindings.js from eval()-whitelist, r=Gijs
Work in progress.
Add callback infrastructure to preferenceBindings to replace XUL-attributes.

Differential Revision: https://phabricator.services.mozilla.com/D32326
2019-07-11 09:37:59 +00:00
Victor Porof
8eb72fd3fc Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Junior Hsu
15319b2ec4 Bug 1562084 - Description for non proxy-ing localhost r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D36277
2019-07-02 21:55:15 +00:00
Michael Kaply
e66ad99358 Bug 1557717 - Locked preferences shouldn't be reenabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D34163
2019-06-10 15:06:19 +00:00
Daniel Varga
d5f5cc3d58 Backed out changeset e7c35e215255 (bug 1557717) for browser-chrome failure in browser_connection_bug1557717.js. On a CLOSED TREE 2019-06-07 19:44:03 +03:00
Michael Kaply
283e16d40d Bug 1557717 - Locked preferences shouldn't be reenabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D34163
2019-06-07 15:13:56 +00:00
Michael Kaply
702410ec64 Bug 1505330 - Only disable explicitly locked preferences. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33505
2019-06-04 15:02:13 +00:00
Jared Wein
257c4b59a1 Bug 1549146 - Resize the subdialog after showing/hiding the Custom DoH textbox to make sure scrollbars appear if necessary. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D30068
2019-05-08 15:49:25 +00:00
Dorel Luca
68a8c638a9 Backed out changeset 036a4b9e8426 (bug 1549146) for Browser-Chrome failures in browser/components/preferences/in-content/tests/browser_connection_dnsoverhttps.js 2019-05-06 21:02:00 +03:00
Jared Wein
f30152f229 Bug 1549146 - Resize the subdialog after showing/hiding the Custom textbox to make sure scrollbars appear if necessary. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D30068
2019-05-06 15:42:33 +00:00
Sam Foster
7a6db29a18 Bug 1545242 - Add DNS-over-HTTPS resolver picker to the connections prefs UI. r=flod,johannh
* Create new network.trr.resolvers pref which is a JSON array of objects with a name and url representing each resolver
* Add menulist to represent the resolver choices, and a "custom" option to use the network.trr.custom_uri as the trr.uri value

Differential Revision: https://phabricator.services.mozilla.com/D29393
2019-05-03 16:15:45 +00:00
Sam Foster
60ccce0752 Bug 1533263 - wait for initial pref values before init-ing the DNS-Over-HTTPs UI. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23009
2019-04-01 22:10:30 +00:00
Gijs Kruitbosch
eea02b153a Bug 1532685 - avoid opening help pages more than once by adding listeners to the actual dialogs instead of using utilityOverlay.js, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22300
2019-03-06 16:10:37 +00:00
Jonathan Kingston
78251653c6 Bug 1499795 - Disabling DoH about:preferences controls when the network.trr.mode pref is locked. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22172
2019-03-06 10:23:10 +00:00
Gijs Kruitbosch
c9d1b54d90 Bug 1503393 - Make 'no proxy' field editable r=jaws 2018-12-03 16:27:50 +02:00
Sebastian Hengst
6635575d06 Backed out 4 changesets (bug 1503393) for failing various browser-chrome tests, e.g. browser_extension_controlled.js. CLOSED TREE
Backed out changeset 52e8ef71af9b (bug 1503393)
Backed out changeset 7878029aaba6 (bug 1503393)
Backed out changeset 02e383b73c97 (bug 1503393)
Backed out changeset 49428012434e (bug 1503393)
2018-12-03 17:28:06 +02:00
Gijs Kruitbosch
aa3c1499f9 Bug 1503393 - Make 'no proxy' field editable r=jaws 2018-12-03 16:27:50 +02:00
Sebastian Hengst
746e4f8100 Backed out 3 changesets (bug 1503393) for failing xpcshell's test_proxy-failover_canceled.js and mochitest browser-chrome's browser_firstPartyIsolation.js
Backed out changeset 02892fb6feab (bug 1503393)
Backed out changeset 7b1514667292 (bug 1503393)
Backed out changeset 606cfe2ddd36 (bug 1503393)
2018-11-19 23:14:13 +02:00
Gijs Kruitbosch
f3fe2c9945 Bug 1503393, r=jaws 2018-11-14 11:37:06 +00:00
Erica Wright
951d158412 Bug 1495583 - Add a button to restore the default value for network.trr.uri preference. r=flod,jaws
This adds a button to the preferences UI to restore the default value for network.trr.uri preference.

Differential Revision: https://phabricator.services.mozilla.com/D11356
2018-11-09 03:44:03 +00:00
Erica Wright
50466fb019 bug 1498758 - Update placeholder value of DNS over HTTPS input, add default pref value r=jduell
Update placeholder value of DNS over HTTPS input to the cloudflare provider add a default pref value for network.trr.uri

Differential Revision: https://phabricator.services.mozilla.com/D8639
2018-10-13 02:16:31 +00:00
Cosmin Sabou
c65f44004e Backed out changeset 74a98c04cd54 (bug 1495583) for browser chrome failures on browser_connection_dnsoverhttps. 2018-10-13 02:03:42 +03:00
Erica Wright
95a7972d50 Bug 1495583 - Add a button to restore the default value for network.trr.uri preference. r=flod,jaws
This adds a button to the preferences UI to restore the default value for network.trr.uri preference.

Differential Revision: https://phabricator.services.mozilla.com/D7359
2018-10-12 21:34:50 +00:00
Mark Banner
462116b7f9 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439
2018-08-31 05:59:17 +00:00
Sam Foster
aba019311c Bug 1482271 - Add preferences UI for the DNS over HTTPS mode and uri prefs r=johannh,flod
MozReview-Commit-ID: G10vRxluGCa

Differential Revision: https://phabricator.services.mozilla.com/D4049
2018-08-24 17:54:32 +00:00
Zibi Braniecki
acfebf271f Bug 1438375 - Refactor "extensionControlled" Preferences code to use Fluent. r=flod,Gijs
MozReview-Commit-ID: 9XJxyuMUCHV
2018-04-17 15:31:50 -07:00
Shane Caraveo
fa5b498b4d Bug 1455755 Move browserSettings.proxyConfig to proxy.settings, r=aswan, mstrimer 2018-04-25 18:50:22 -05:00
Felipe Gomes
9480e1f2d7 Bug 1429177 - Policy: Set network proxy settings. r=mixedpuppy 2018-03-19 02:15:50 -03:00
Myk Melez
cc00f7b5d5 Bug 1445991 - ensure prefs inited before autoconfig reload button updated; r=Gijs
Reorder the construction of Preference objects so network.proxy.autoconfig_url gets constructed before network.proxy.type, which will ensure that networkProxyAutoconfigURL is set to the value of network.proxy.autoconfig_url before network.proxy.type construction triggers the call to updateReloadButton.

MozReview-Commit-ID: BQL0RlvnCOo
2018-03-15 17:49:22 -07:00
Bob Silverberg
df10432520 Bug 1437335 - Manual proxy port configuration should disable when its option is not selected, r=jaws
This is a regression from bug 1429593. The code that was added to enable/disable controls on the page
depending on whether an extension is in control was being run when the page opened, which overrode
the code which disables specific controls based on the current proxy setting. All that is needed is
to call that code (which is in gConnectionsDialog.proxyTypeChanged()) if an extension is not in control
after the new code that was added. This patch fixes that issue, and includes a test verifying that
the manual controls are not enabled when the screen first opens.

MozReview-Commit-ID: 7jpp1wewZ2k
2018-02-27 15:17:28 -05:00
Florian Quèze
5715aadbec Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Bob Silverberg
2777c6ca53 Bug 1429593 - Part 2: Show that a WebExtension is managing the proxy config setting, r=jaws,mstriemer
Update the general page of about:preferences, as well as the Connection Settings panel, to show
when an extension is controlling proxy settings, and allow a user to disable the extension to
regain control.

MozReview-Commit-ID: HKYPkg78IOK
2018-01-22 11:49:42 -05:00
Coroiu Cristina
1affbb39f9 Backed out 2 changesets (bug 1429593) for for mass failing browser-chrome, e.g. browser/components/preferences/in-content/tests/browser_extension_controlled.js on a CLOSED TREE
Backed out changeset 9ce1b89f8744 (bug 1429593)
Backed out changeset fa845d221e7a (bug 1429593)
2018-02-07 16:03:58 +02:00
Bob Silverberg
bef60f3f6e Bug 1429593 - Part 2: Show that a WebExtension is managing the proxy config setting, r=jaws,mstriemer
Update the general page of about:preferences, as well as the Connection Settings panel, to show
when an extension is controlling proxy settings, and allow a user to disable the extension to
regain control.

MozReview-Commit-ID: HKYPkg78IOK
2018-01-22 11:49:42 -05:00
Gurzau Raul
82749346c0 Backed out 2 changesets (bug 1429593) for l10n issues
Backed out changeset 9dfaa0724a42 (bug 1429593)
Backed out changeset 20829d727fdf (bug 1429593)
2018-02-06 22:03:23 +02:00
Bob Silverberg
66f573d494 Bug 1429593 - Part 2: Show that a WebExtension is managing the proxy config setting, r=jaws,mstriemer
Update the general page of about:preferences, as well as the Connection Settings panel, to show
when an extension is controlling proxy settings, and allow a user to disable the extension to
regain control.

This also updates some of the strings to use the phrase "is controlling" rather than "controls".

MozReview-Commit-ID: HKYPkg78IOK
2018-01-22 11:49:42 -05:00
Myk Melez
30f98a841a Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00