Commit Graph

41 Commits

Author SHA1 Message Date
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
Sebastian Hengst
14608b5894 Backed out 2 changesets (bug 1379338) for failing Marionette headless' test_anonymous_content.py TestAnonymousNodes.test_find_anonymous_children. r=backout on a CLOSED TREE
Backed out changeset 232c97d7c2ea (bug 1379338)
Backed out changeset a76ff10b9bff (bug 1379338)
2018-01-04 20:15:18 +02:00
Myk Melez
5b9b2b305f Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: 7NRHlSsdOtf
2018-01-04 07:34:15 -08:00
Mark Banner
4de85b3d5b Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
MozReview-Commit-ID: 9m9iss3jUJJ
2017-10-11 15:43:51 +01:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Jared Wein
8860cdf2c1 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Jared Wein
7b4c22ac1c Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx
2016-08-13 21:58:42 -04:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Manish Goregaokar
92c8fe9da5 Bug 388287 - Focus the proxy port field if its value is 0 and the server name is specified. r=MattN 2014-03-13 01:07:28 -07:00
Mahdi Dibaiee
bac6a77b1a Bug 767047 - Don't overwrite existing proxy backup preferences; r=MattN 2014-02-26 11:06:00 -05:00
Manish Goregaokar
42a18c999c Bug 910670 - Preference for proxy autologin. r=adw 2014-02-18 09:20:24 -05:00
Manish Goregaokar
119dfc04f0 Bug 665319 - Add a checkbox to activate network.proxy.socks_remote_dns. r=ttaubert, ui-r=philipp 2014-02-08 21:01:27 -05:00
Andres Hernandez
e80b022632 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin 2012-08-10 14:20:25 -06:00
Andrew Hurle
2198f5b577 Bug 566444 - Make proxy exceptions multiline. r=jaws 2012-05-24 18:45:09 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Joe Drew
2530aac060 Bug 388195 - Remove gopher support. r=jduell,gavin sr=bz 2010-04-16 17:05:47 -04:00
85cccdfb85 Bug 416274 - "Add UI for System Proxy Settings and use the system proxy by default" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=gavin ui-r=mconnor a1.9=beltzner] 2008-02-21 02:52:53 -08:00
darin@meer.net
f36d7e0a3d fixes bug 287646 "Eliminate nsPIProtocolProxyService and introduce reloadPAC method" r=biesi,neil,beng,mscott sr=bzbarsky 2006-03-30 17:31:15 +00:00
gavin@gavinsharp.com
b889c59c1d Bug 311779: Connections fail when hosts/domains in 'No proxy for' are separated by semicolon, patch by Henrik Skupin <hskupin@gmail.com>, r=mconnor 2006-01-05 11:03:47 +00:00
gerv@gerv.net
5ce3368933 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
mconnor@steelgryphon.com
6243ddacf2 bug 302486 - PAC edit box plays games with URI fixup as you type, r=vlad, a=caillon 2005-08-26 20:39:12 +00:00
db48x@yahoo.com
f77f41f5a3 bug 296662: Javascript strict warnings in preferences dialog
patch by Henrik Skupin <hskupin@gmail.com>, r=bsmedberg, a=asa
2005-06-14 10:19:34 +00:00
darin@meer.net
58915f1941 landing patch for bug 282442 "Provide interface for configuring proxies" r=biesi sr=bzbarsky 2005-03-25 03:41:33 +00:00
ben@bengoodger.com
210147bf5a 274712 - new options dialog 2005-02-25 09:07:58 +00:00