Commit graph

284 commits

Author SHA1 Message Date
Florian Quèze
c714053d73 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
Zibi Braniecki
4a44620118 Bug 1435912 - Migrate Preferences::General XUL part to the new Localization API. r=flod,jaws
MozReview-Commit-ID: J5Rr8Gc0oCx

--HG--
extra : rebase_source : df83a089c572be0ed8301edb93777d2aacd0f1f6
2018-02-27 21:20:54 -08:00
Ciure Andrei
52f18c2eac Backed out 2 changesets (bug 1435912, bug 1441733) for for Fluent in Preferences::General::XUL bc failures. a=backout on a CLOSED TREE
Backed out changeset 95eb6ee7690b (bug 1441733)
Backed out changeset 6ba30e000664 (bug 1435912)
2018-02-28 06:17:21 +02:00
Zibi Braniecki
15d8394912 Bug 1435912 - Migrate Preferences::General XUL part to the new Localization API. r=flod,jaws
MozReview-Commit-ID: J5Rr8Gc0oCx

--HG--
extra : rebase_source : fc16a0ead225d63330100ac83bdf94b6e22d6f3b
2018-01-22 15:38:06 -08:00
Kirk Steuber
dbf911f4db Bug 1438925 - Select "Never check for updates" in Preferences UI when DisableAppUpdate policy is active r=jaws
MozReview-Commit-ID: 51ZaamngdIP

--HG--
extra : rebase_source : 874221b7047dace7b0f303cdcf58ad4c0800c9b0
2018-02-16 15:48:49 -08:00
Edouard Oger
25db2f7ed6 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 706d6a9a1187e9b666074d0dd68d03eda3fb448b
2018-02-15 11:24:44 +08:00
Csoregi Natalia
c8a2d994c8 Backed out changeset 22901b9f9199 (bug 1434706) for browser-chrome failures browser_contextmenu_sendtab.js. CLOSED TREE 2018-02-26 21:16:01 +02:00
Edouard Oger
7c03ced862 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 7a19b04f9df52ff58f9837d9d45be54fd3190ec9
2018-02-15 11:24:44 +08:00
Cosmin Sabou
bfd2fc78a3 Backed out changeset a2147499c437 (bug 1434706) for frequent mochitest browser chrome failures on browser_contextmenu_sendpage.js 2018-02-23 22:15:08 +02:00
Edouard Oger
6e2641372c Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : d5f7b31627424b652147674a520ae75571203994
2018-02-15 11:24:44 +08:00
shindli
f2126298f5 Backed out changeset 6e3058771f18 (bug 1434706) for bc6 and X failures in browser/base/content/test/general/browser_contextmenu_input.js and services/fxaccounts/tests/xpcshell/test_accounts.js respectively on a CLOSED TREE 2018-02-23 10:25:56 +02:00
Edouard Oger
1baec66b3d Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 328093c9985c29effb1380e012c35f6da6ee667a
2018-02-15 11:24:44 +08:00
Jared Wein
c8d331f4c9 Bug 1436575 - Autofix errors from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 66sXxnOWDgw

--HG--
extra : rebase_source : a0bf26e37a03a1e77476bdeedfc1af3ebec32f2a
2018-02-08 12:57:31 -05:00
Zibi Braniecki
415c5ab35f Bug 1424682 - Migrate the chrome of Preferences to the new Localization API. r=flod,jaws
MozReview-Commit-ID: ALnFUmnJMDB

--HG--
extra : rebase_source : 24c452a69b4db76db9f623122ce63a73df579fed
2017-12-18 23:19:13 -08:00
Bob Silverberg
58a81b5749 Bug 1436165 - Change extensionControlled strings for home page and new tab page, r=jaws,mstriemer
MozReview-Commit-ID: KcWiCm5nbeB

--HG--
extra : rebase_source : 8941e3c5f33912dfe615905bc2560102adca2ba2
2018-02-07 14:03:23 -05:00
Edouard Oger
626be20bbb Bug 1427674 - Unify FxA content server URL preferences. r=markh,tcsc
MozReview-Commit-ID: 3zhHGAzQr0R

--HG--
extra : rebase_source : 013457dfb434c92134d2f244b389d21620c83595
2018-01-30 13:21:35 -05:00
Bob Silverberg
fdb3acbc2e 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

--HG--
extra : rebase_source : bf5a52b39c40012058a22ed204ec947b5b8679da
extra : source : a1b90c54c94ca4fc81da9565bf0ef7fce661ce25
2018-01-22 11:49:42 -05:00
Bob Silverberg
c0a2af26f7 Bug 1429593 - Part 1: Extract functions for dealing with extensions into a separate file, r=jaws,mstriemer
This moves all the functions that manage/change the UI because of extensions being in
control of certain preferences to a separate file, so it can be included in SubDialogs.

MozReview-Commit-ID: 7OkEn478Pus

--HG--
extra : rebase_source : 420518efb14d0610d796875cb73232feccbe89da
2018-01-22 14:40:20 -05:00
Mark Banner
606beee3f2 Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian
MozReview-Commit-ID: 9SmoR9RlvZE

--HG--
extra : rebase_source : 054e14150921615ed67415ddb91b45169cc868d4
2018-02-07 09:24:15 +00:00
Coroiu Cristina
af7232ab61 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
43293db917 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

--HG--
extra : rebase_source : 07b660b7cf094b41ef4d3ca260a57341c349e488
extra : source : a1b90c54c94ca4fc81da9565bf0ef7fce661ce25
2018-01-22 11:49:42 -05:00
Bob Silverberg
4a0cbd6589 Bug 1429593 - Part 1: Extract functions for dealing with extensions into a separate file, r=jaws,mstriemer
This moves all the functions that manage/change the UI because of extensions being in
control of certain preferences to a separate file, so it can be included in SubDialogs.

MozReview-Commit-ID: 7OkEn478Pus

--HG--
extra : rebase_source : 420518efb14d0610d796875cb73232feccbe89da
2018-01-22 14:40:20 -05:00
Gurzau Raul
3c4b1eb7ab 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
71a61746f4 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

--HG--
extra : rebase_source : 4ec0ce408eae2b654265a864d25a4d2078e86c05
extra : source : a1b90c54c94ca4fc81da9565bf0ef7fce661ce25
2018-01-22 11:49:42 -05:00
Bob Silverberg
6c1ecf5c6f Bug 1429593 - Part 1: Extract functions for dealing with extensions into a separate file, r=jaws,mstriemer
This moves all the functions that manage/change the UI because of extensions being in
control of certain preferences to a separate file, so it can be included in SubDialogs.

MozReview-Commit-ID: 7OkEn478Pus

--HG--
extra : rebase_source : b3a299e965f726204204d104e07517c4520d766d
2018-01-22 14:40:20 -05:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
hemant
64d45d0cb9 Bug 1417937 - Remove unnecessary LoadContextInfo.jsm r=standard8
MozReview-Commit-ID: EnY0uKD4UD1

--HG--
extra : rebase_source : c968b273a8a05fb211e0fb1e1601ac1b968ca045
2018-01-31 23:16:46 +05:30
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Bob Silverberg
31cb7a05fa Bug 1390161 - Show that a WebExtension is managing the tracking protection setting, r=jaws,mstriemer
This adjusts both the new Tracking Protection UI and the old Tracking Protection UI on
about:preferences to indicate when an extension is controlling Tracking Protection. It
will disable the controls on about:preferences if an extension is in control, and provide
a button to disable the extension.

MozReview-Commit-ID: G04jWrS6Pr9

--HG--
extra : rebase_source : 4cdee73b00b74e25c074e62a872d7b50a984cf8f
2017-11-06 12:41:48 -05:00
Myk Melez
c3da3e7642 Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00
Sebastian Hengst
bc8e5f198e 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
f5bb45814e Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: 7NRHlSsdOtf
2018-01-04 07:34:15 -08:00
Jan Horak
8d50dc0b07 Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers
for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js)
and also in Applications section in preferences. In case the default system handler
or user added handler has same name as one of the GIO handlers, the GIO handler
is not appended. The check for not adding handler is by using handler name.

The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded
GetName methods (nsCString and nsString) we now use nsString variant everywhere.
This require change of nsGNOMERegistry::GetFromType which if fact leads to code
simplification.

The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed
because implementation of CreateAppFromCommand has changed.
The CreateAppFromCommand no longer tries to find the application,
for that FindAppFromCommand has been introduced.

MozReview-Commit-ID: KmfFWRPqV3

--HG--
extra : source : 9660ff09c2212cb7456e50cb166752f42e0a0669
extra : amend_source : 3c5fc61fe09b9b68bdfbb9683335cedd4d706744
2017-12-29 07:27:42 +00:00
Cosmin Sabou
43e1d34ab4 Backed out changeset 9660ff09c221 (bug 1297686) for xpcshell failures at uriloader/exthandler/tests/unit/test_handlerService_json.js r=backout on a CLOSED TREE 2017-12-28 19:41:50 +02:00
Jan Horak
5b4fd25730 Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers
for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js)
and also in Applications section in preferences. In case the default system handler
or user added handler has same name as one of the GIO handlers, the GIO handler
is not appended. The check for not adding handler is by using handler name.

The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded
GetName methods (nsCString and nsString) we now use nsString variant everywhere.
This require change of nsGNOMERegistry::GetFromType which if fact leads to code
simplification.

The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed
because implementation of CreateAppFromCommand has changed.
The CreateAppFromCommand no longer tries to find the application,
for that FindAppFromCommand has been introduced.

MozReview-Commit-ID: KmfFWRPqV3

--HG--
extra : rebase_source : 36d254cbc45cbe6929cc469cd531211f7ddd6a64
2017-12-28 15:25:32 +00:00
Jared Wein
6096e28d6c Bug 1419042 - Only use the distroVersion if the pref contains a value, otherwise leave it out of the version string. r=evanxd
MozReview-Commit-ID: Pign2W4RfE

--HG--
extra : rebase_source : 93f786f999639e3422c48526fefc7f3e75cdbe51
2017-11-20 10:50:23 -05:00
Gurzau Raul
08c8de8806 Backed out 1 changesets (bug 1419042) on request from jaws r=backout on a CLOSED TREE
Backed out changeset 64ee916b6bb9 (bug 1419042)
2017-11-21 17:56:01 +02:00
Jared Wein
adc1b10fec Bug 1419042 - Only use the distroVersion if the pref contains a value, otherwise leave it out of the version string. r=evanxd
MozReview-Commit-ID: Pign2W4RfE

--HG--
extra : rebase_source : bda454647d95d1347f8343d8b60f4af156c21ab6
2017-11-20 10:50:23 -05:00
Zibi Braniecki
0bfc18f653 Bug 1402069 - Add a test string for the new localization API. r=mossop,Pike
MozReview-Commit-ID: KhCW1n9LDka

--HG--
extra : rebase_source : b191ba773efaefea3a5d2047cebb40f44f076010
2017-09-21 19:55:17 +02:00
Mark Striemer
73701c8f36 Bug 1386018 - Tell users that the default search engine was set by an extension r=aswan,bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF

--HG--
extra : rebase_source : ef7f20b2efd4034116dafa7fe91ee454155bee1b
2017-10-18 14:54:54 -05:00
Phil Ringnalda
7bf1119c24 Backed out changeset 607922c730a1 (bug 1386018) for eslint bustage
MozReview-Commit-ID: JKQnKm7Nf4K
2017-10-31 19:12:01 -07:00
Mark Striemer
405f85917d Bug 1386018 - Tell users that the default search engine was set by an extension r=aswan,bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF

--HG--
extra : rebase_source : ea916c020037a303b3d16c6e778049a86a9b44c3
2017-10-18 14:54:54 -05:00
Myk Melez
645d6562bd Bug 1412445 - replace custom QI impl with XPCOMUtils.generateQI call; r=rickychien 2017-10-30 14:37:09 -07:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Edouard Oger
76547f53cc Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
MozReview-Commit-ID: APdGc9avJDw

--HG--
extra : rebase_source : aaa788be5251607ebedcb5b690da0e2a1a64e2cb
2017-10-24 14:05:52 -04:00
Sebastian Hengst
93903f0306 Backed out 2 changesets (bug 1395460) for eslint failure at browser/components/uitour/UITour.jsm:556 (no return value from arrow function). r=backout on a CLOSED TREE
Backed out changeset 0bc6d186d609 (bug 1395460)
Backed out changeset 6c028123001d (bug 1395460)
2017-10-26 23:33:04 +02:00
Edouard Oger
58876ecbe9 Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
MozReview-Commit-ID: APdGc9avJDw

--HG--
extra : rebase_source : 9da1cea9fb6494c057bc6587a7bcbdb4ac127448
2017-10-24 14:05:52 -04:00
Mark Striemer
7c4aad9cdb Bug 1411060 - Don't show extension controlled message if add-on isn't installed r=bsilverberg
MozReview-Commit-ID: IRrWA3simqf

--HG--
extra : rebase_source : 4cb684bff861c21b8c28cabb1b0bae0619444115
extra : source : d67d67a8f985c027c434880cc388556a580d255b
2017-10-23 22:45:38 -05:00
Sebastian Hengst
319217d574 Backed out changeset ba4a39241953 (bug 1386018) for xpcshell failures, e.g. toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js on Linux debug. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 0b31c5a3d73783a3c60f4126a5c11fdda862d9e3
2017-10-25 00:32:35 +02:00
Mark Striemer
04b924cbdf Bug 1386018 - Tell users that the default search engine was set by an extension r=bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF

--HG--
extra : rebase_source : 98875d0bcabbae86f9c25dea9b4fe30d6a3d0109
2017-10-18 14:54:54 -05:00
Mark Banner
42cb2dc6a3 Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
MozReview-Commit-ID: 9m9iss3jUJJ

--HG--
extra : rebase_source : e6a6f9dec168ab1d0e0343236db65f3dd1b44aeb
2017-10-11 15:43:51 +01:00
Blake Kaplan
04ac34653b Bug 1406212 - Remove old uses of the now-defunct .web pref. r=timdream
I'm pretty sure these changes are correct, but please double-check my work
(especially on the test, which becomes much simpler now that there's only one
pref controlling the behavior).

MozReview-Commit-ID: JhjZeVAMxAV

--HG--
extra : rebase_source : 917a4e28cc983e4fbd37adc3b2a57c600b3e1f2a
2017-09-28 16:11:03 -07:00
Felipe Gomes
95d260398f Bug 1407351 - Simplify check for e10s in about:preferences. r=jaws
This code that checks the status code is not necessary, the boolean answer is already stored in Services.appinfo.browserTabsRemoteAutostart.

MozReview-Commit-ID: HhanM9nnXBs

--HG--
extra : rebase_source : 422fdf1924626ab1b8c3d102eae7458bde8c419d
2017-10-17 13:39:57 -02:00
Felipe Gomes
9d9c0bc81b Bug 1407351 - Remove Nightly-only e10s checkbox in about:preferences. r=jaws
MozReview-Commit-ID: 39kpPYgmYZd

--HG--
extra : rebase_source : e4464a21df292aa223fe01e2497871eee360cf2c
2017-10-17 13:39:54 -02:00
Ryan VanderMeulen
e8cd5f653b Backed out 5 changesets (bug 1407351) for causing bug 1409395 and breaking nightlies.
Backed out changeset e6ee25ad6a9f (bug 1407351)
Backed out changeset 8e04412824b5 (bug 1407351)
Backed out changeset effeee94316e (bug 1407351)
Backed out changeset a53f34a45f9b (bug 1407351)
Backed out changeset 86a360e12b8a (bug 1407351)
2017-10-17 10:07:55 -04:00
Mark Striemer
1a03f9f88c Bug 1407999 - Support locked prefs for homepage r=jaws
MozReview-Commit-ID: Fxo0jh6KbOt

--HG--
extra : rebase_source : 8eb18e4ca98cfe6caba8304b2a0b30b41a0e6937
2017-10-12 12:47:36 -05:00
Felipe Gomes
f575fe851d Bug 1407351 - Simplify check for e10s in about:preferences. r=jaws
This code that checks the status code is not necessary, the boolean answer is already stored in Services.appinfo.browserTabsRemoteAutostart.

MozReview-Commit-ID: HlU3ypyWt1p

--HG--
extra : rebase_source : 84a371826b7e9429d17c143f62d83edd11d8903e
2017-10-16 14:00:46 -02:00
Felipe Gomes
cd738b34a0 Bug 1407351 - Remove Nightly-only e10s checkbox in about:preferences. r=jaws
MozReview-Commit-ID: F2rJBRaWINm

--HG--
extra : rebase_source : b335294051b0d0064b07abd8efea0e46b7cf05cb
2017-10-16 14:00:43 -02:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Evan Tseng
03ab88c492 Bug 1392951 - Implement telemetry probe for home page setup. r=liuche,mconley
- Send a ping when user type in "Home page" box.
  - String is longer than 4 letters and with at least one ".".
  - String is not deleted after 3 seconds.
- Send a ping when "Use Current Page" is clicked.
- Send a ping when "Use Bookmark" is clicked.
- Send the number of "|" is detected in "Home page" box.

MozReview-Commit-ID: 6bYK0eCkYym

--HG--
extra : rebase_source : 8ead54eff6e34fb8cc33d8a0a9d463902ed534e7
2017-10-06 16:13:05 +08:00
Ricky Chien
c40da56a2b Bug 1402918 - Initialize Applications pane in preferences.js r=jaws
MozReview-Commit-ID: LUvyzBt6ahg

--HG--
extra : rebase_source : 03fcb2b2a560d1a433b3fe996533b19331e14eab
2017-09-27 17:51:59 +08:00
Myk Melez
8819f1bf9d Bug 1399202 - encapsulate language group selection; r=nhnt11 2017-09-27 09:13:56 -07:00
Mark Striemer
9bb7808669 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ

--HG--
extra : rebase_source : 649806237c140f77302c447244b9815d2fe30b14
2017-09-15 21:07:24 -05:00
Sebastian Hengst
3e4bc7a1e3 Backed out changeset 6c69f8021a5e (bug 1373853) for accidentially landing. r=backout 2017-09-22 16:54:27 +02:00
Mark Striemer
9dd4ca6513 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ
2017-09-22 16:49:28 +02:00
Wes Kocher
4efc440d90 Backed out changeset f1e37c409e4f (bug 1373853) for leaked preference windows in browser_urlbarAboutHomeLoading.js a=backout
MozReview-Commit-ID: 37Zd7ogYu4S
2017-09-21 17:15:39 -07:00
Mark Striemer
71ecf34866 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ

--HG--
extra : rebase_source : d57eaf96014b864f56649679d9bffdb4a05e9e5a
2017-09-15 21:07:24 -05:00
Sebastian Hengst
08c8cf46c2 Backed out changeset 6aa63fcf5c4e (bug 1373853) for leaking preferences windows, e.g. after browser-chrome's browser/base/content/test/general/browser_bug735471.js ran. r=backout 2017-09-20 21:14:28 +02:00
Mark Striemer
bdbd53ce06 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ

--HG--
extra : rebase_source : db0affd093926bf9631ff2bfd5dac88f74aa5083
2017-09-15 21:07:24 -05:00
Myk Melez
6ddfbd4f2a Bug 1400453 - yield thread between each call to gExternalProtocolService.getProtocolHandlerInfo; r=florian 2017-09-19 15:55:07 -07:00
Ricky Chien
a9db519264 Bug 1400117 - Initialize Application handlers after pageshow to avoid delaying painting of Preferences page r=florian,jaws
MozReview-Commit-ID: Cla3vz3YF38

--HG--
extra : rebase_source : 191f015ad85714f01cf7d384a6eb13ee858674cf
2017-09-15 12:06:08 +08:00
Jonathan Kingston
b194a2f906 Bug 1397100 - Disable container about:preference checkbox if a container addon is enabled. r=bsilverberg,Felipe
MozReview-Commit-ID: DtJX3FiE0e0

--HG--
extra : rebase_source : 2374318065a63ea2c279d85591a7442e132422c0
2017-09-18 08:11:31 +01:00
Mark Striemer
4d92dcaec3 Bug 1354344 - Show extension controlling home page in preferences r=bsilverberg,jaws
MozReview-Commit-ID: 9mU3SvdK91c

--HG--
extra : rebase_source : 703e7248b8200efef8eb0342510c6d7da29016c7
2017-09-07 11:35:06 -05:00
Myk Melez
917428e84b Bug 1375978 - enumerate fonts asynchronously; r=jfkthame,nhnt11 2017-09-12 11:05:37 -07:00
Ricky Chien
daac97d466 Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ

--HG--
rename : browser/components/preferences/in-content-new/findInPage.js => browser/components/preferences/in-content/findInPage.js
rename : browser/components/preferences/in-content-new/searchResults.xul => browser/components/preferences/in-content/searchResults.xul
rename : browser/components/preferences/in-content-new/tests/browser_checkspelling.js => browser/components/preferences/in-content/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content-new/tests/browser_engines.js => browser/components/preferences/in-content/tests/browser_engines.js
rename : browser/components/preferences/in-content-new/tests/browser_layersacceleration.js => browser/components/preferences/in-content/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content-new/tests/browser_masterpassword.js => browser/components/preferences/in-content/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js => browser/components/preferences/in-content/tests/browser_permissions_dialog.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_5.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_5.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_6.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_6.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_7.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_7.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_8.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_8.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_command.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_command.js
rename : browser/components/preferences/in-content-new/tests/browser_security-1.js => browser/components/preferences/in-content/tests/browser_security-1.js
rename : browser/components/preferences/in-content-new/tests/browser_security-2.js => browser/components/preferences/in-content/tests/browser_security-2.js
extra : rebase_source : 9adc8231c896f93f7f262a09482b44a2875bd5fd
2017-08-21 17:48:18 +08:00
Sebastian Hengst
51133fbff6 Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout
--HG--
rename : browser/components/preferences/in-content/findInPage.js => browser/components/preferences/in-content-new/findInPage.js
rename : browser/components/preferences/in-content/searchResults.xul => browser/components/preferences/in-content-new/searchResults.xul
rename : browser/components/preferences/in-content/tests/browser_checkspelling.js => browser/components/preferences/in-content-new/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content/tests/browser_engines.js => browser/components/preferences/in-content-new/tests/browser_engines.js
rename : browser/components/preferences/in-content/tests/browser_layersacceleration.js => browser/components/preferences/in-content-new/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content/tests/browser_masterpassword.js => browser/components/preferences/in-content-new/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content/tests/browser_permissions_dialog.js => browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_5.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_5.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_6.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_6.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_7.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_7.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_8.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_8.js
rename : browser/components/preferences/in-content/tests/browser_search_within_preferences_2.js => browser/components/preferences/in-content-new/tests/browser_search_within_preferences_2.js
rename : browser/components/preferences/in-content/tests/browser_search_within_preferences_command.js => browser/components/preferences/in-content-new/tests/browser_search_within_preferences_command.js
rename : browser/components/preferences/in-content/tests/browser_security-1.js => browser/components/preferences/in-content-new/tests/browser_security-1.js
rename : browser/components/preferences/in-content/tests/browser_security-2.js => browser/components/preferences/in-content-new/tests/browser_security-2.js
2017-08-31 16:58:32 +02:00
Ricky Chien
3ff2ff68ed Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ

--HG--
rename : browser/components/preferences/in-content-new/findInPage.js => browser/components/preferences/in-content/findInPage.js
rename : browser/components/preferences/in-content-new/searchResults.xul => browser/components/preferences/in-content/searchResults.xul
rename : browser/components/preferences/in-content-new/tests/browser_checkspelling.js => browser/components/preferences/in-content/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content-new/tests/browser_engines.js => browser/components/preferences/in-content/tests/browser_engines.js
rename : browser/components/preferences/in-content-new/tests/browser_layersacceleration.js => browser/components/preferences/in-content/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content-new/tests/browser_masterpassword.js => browser/components/preferences/in-content/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js => browser/components/preferences/in-content/tests/browser_permissions_dialog.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_5.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_5.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_6.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_6.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_7.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_7.js
rename : browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_8.js => browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_8.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_2.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_2.js
rename : browser/components/preferences/in-content-new/tests/browser_search_within_preferences_command.js => browser/components/preferences/in-content/tests/browser_search_within_preferences_command.js
rename : browser/components/preferences/in-content-new/tests/browser_security-1.js => browser/components/preferences/in-content/tests/browser_security-1.js
rename : browser/components/preferences/in-content-new/tests/browser_security-2.js => browser/components/preferences/in-content/tests/browser_security-2.js
extra : rebase_source : 6f59261adcb6cd3098b3596c01c9165ad6bfc03c
2017-08-21 17:48:18 +08:00
Punam
2ed34a9ace Bug 1391486 - Cloud Storage - Handle browser.download.dir unspecified in new profile r=Gijs
MozReview-Commit-ID: 3WfS5CQLtYY

--HG--
extra : rebase_source : 460a4b7afec2e8f40de210817d05ecdc242a1241
2017-08-17 23:05:26 -07:00
Punam
fbe49bdac5 Bug 1387153 - Preferences UI to support cloud storage download r=Gijs
* Add third radio button to support cloud storage download preference
* Handle download preferences and UI states, while switching between three options
* Add method to check if provider is in use in Cloud Storage API
* Preferences cloud storage strings saved as resource url
* Updated old in-content with cloud storage pref UI changes
* Turn cloud storage API on/off using generic pref

MozReview-Commit-ID: AE3MlhgKp2C

--HG--
extra : rebase_source : 8fae2dd5f437e477a7158d753cfac0781fedc45e
2017-08-15 16:57:23 -07:00
Masatoshi Kimura
8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Timothy Guan-tin Chien
90605d32d8 Bug 1384962 - Don't set process count for user on Preferences page load, r=jaws
This is a follow-up to incomplete fix in bug 1382649. In that bug, I attempted to
set the process count value to the e10s rollout value, when the user unchecks
"Use default performance settings". The same function updatePerformanceSettingsBox()
is actually run during page load, resulting the user set value being changed to
e10s rollout value if the user decided to use the default process count.

Tests are written for both patches.

MozReview-Commit-ID: 4CLLcEKbS58

--HG--
extra : rebase_source : cdd3f82dbf93f1632a06b52071f717eac3f044b0
extra : source : 5f81b547cd433d1a9056e5fe144ba56b13f15cc1
2017-07-27 23:41:31 +08:00
Sebastian Hengst
ce0a3e41e1 Backed out changeset 9bba40accbf6 (bug 1384962) for frequently exceeding maximum run time for browser/components/preferences/in-content/tests/browser_performance.js. r=backout 2017-07-28 11:01:21 +02:00
Timothy Guan-tin Chien
c3f031892f Bug 1384962 - Don't set process count for user on Preferences page load, r=jaws
This is a follow-up to incomplete fix in bug 1382649. In that bug, I attempted to
set the process count value to the e10s rollout value, when the user unchecks
"Use default performance settings". The same function updatePerformanceSettingsBox()
is actually run during page load, resulting the user set value being changed to
e10s rollout value if the user decided to use the default process count.

Tests are written for both patches.

MozReview-Commit-ID: 4CLLcEKbS58

--HG--
extra : rebase_source : 15d2082612415363e0f69a1880efb702adcece24
extra : source : 5f81b547cd433d1a9056e5fe144ba56b13f15cc1
2017-07-27 23:41:31 +08:00
Timothy Guan-tin Chien
c2ddda3deb Bug 1382649 - Take the process count value set by e10s rollout as the default in the about:preferences UI, r=evanxd,jaws,mrbkap
When the user sets browser.preferences.defaultPerformanceSettings.enabled to false and want to set custom process count,
we want to offer the process count value given by e10s rollout add-on as the default, instead of the default value
of dom.ipc.processCount.

MozReview-Commit-ID: 1hXWHA9j4xw

--HG--
extra : rebase_source : 5d6001a5f0585b2cd98fbeb85493bb20482bc3df
2017-07-21 12:42:19 +08:00
Mark Banner
35f3666937 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr

--HG--
extra : rebase_source : 74ba4c10e369067629af95bf705a9acd0df1089b
2017-07-11 22:49:55 +01:00
Timothy Guan-tin Chien
c3b29efa81 Bug 1368943 - Disable content process count UI and switch description for non-e10s users, r=jaws
MozReview-Commit-ID: 7UNKrz8VMzI

--HG--
rename : browser/components/preferences/in-content-new/tests/browser_performance.js => browser/components/preferences/in-content-new/tests/browser_performance_non_e10s.js
rename : browser/components/preferences/in-content/tests/browser_performance.js => browser/components/preferences/in-content/tests/browser_performance_non_e10s.js
extra : rebase_source : ba90d7a1dba4b1adc28e7449e99510dbb80a813c
2017-06-09 11:44:16 +08:00
Sebastian Hengst
c519baf623 Backed out changeset a8c970380c92 (bug 1368943) for mass test failures, e.g. in browser/extensions/formautofill/test/browser/browser_privacyPreferences.js. r=backout 2017-06-10 10:43:28 +02:00
Timothy Guan-tin Chien
6026e6f958 Bug 1368943 - Disable content process count UI and switch description for non-e10s users, r=jaws
MozReview-Commit-ID: 7UNKrz8VMzI

--HG--
rename : browser/components/preferences/in-content-new/tests/browser_performance.js => browser/components/preferences/in-content-new/tests/browser_performance_non_e10s.js
rename : browser/components/preferences/in-content/tests/browser_performance.js => browser/components/preferences/in-content/tests/browser_performance_non_e10s.js
extra : rebase_source : 45d666c3d0faf48b0af11062f16fbc3bdfe5651c
2017-06-09 11:44:16 +08:00
Timothy Guan-tin Chien
de00d490e0 Bug 1363850 - Part II, Move old about:preferences from in-content-old/ to in-content/, r=jaws,mconley
MozReview-Commit-ID: DPLJT1adO1c

--HG--
rename : browser/components/preferences/in-content-old/content.js => browser/components/preferences/in-content/content.js
rename : browser/components/preferences/in-content-old/content.xul => browser/components/preferences/in-content/content.xul
rename : browser/components/preferences/in-content-old/search.js => browser/components/preferences/in-content/search.js
rename : browser/components/preferences/in-content-old/search.xul => browser/components/preferences/in-content/search.xul
rename : browser/components/preferences/in-content-old/security.js => browser/components/preferences/in-content/security.js
rename : browser/components/preferences/in-content-old/security.xul => browser/components/preferences/in-content/security.xul
rename : browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js => browser/components/preferences/in-content/tests/browser_advanced_siteData.js
extra : rebase_source : 57611e32dba47a2238a5e0573c25478a96cfb8fd
2017-05-31 08:20:26 +08:00
Timothy Guan-tin Chien
f9eb2ed08a Bug 1363850 - Part I, Move new about:preferences from in-content/ to in-content-new/, r=jaws,mconley
MozReview-Commit-ID: ButUfsGP7lS

--HG--
rename : browser/components/preferences/in-content/advanced.js => browser/components/preferences/in-content-new/advanced.js
rename : browser/components/preferences/in-content/advanced.xul => browser/components/preferences/in-content-new/advanced.xul
rename : browser/components/preferences/in-content/applications.js => browser/components/preferences/in-content-new/applications.js
rename : browser/components/preferences/in-content/applications.xul => browser/components/preferences/in-content-new/applications.xul
rename : browser/components/preferences/in-content/containers.js => browser/components/preferences/in-content-new/containers.js
rename : browser/components/preferences/in-content/containers.xul => browser/components/preferences/in-content-new/containers.xul
rename : browser/components/preferences/in-content/findInPage.js => browser/components/preferences/in-content-new/findInPage.js
rename : browser/components/preferences/in-content/jar.mn => browser/components/preferences/in-content-new/jar.mn
rename : browser/components/preferences/in-content/main.js => browser/components/preferences/in-content-new/main.js
rename : browser/components/preferences/in-content/main.xul => browser/components/preferences/in-content-new/main.xul
rename : browser/components/preferences/in-content/moz.build => browser/components/preferences/in-content-new/moz.build
rename : browser/components/preferences/in-content/preferences.js => browser/components/preferences/in-content-new/preferences.js
rename : browser/components/preferences/in-content/preferences.xul => browser/components/preferences/in-content-new/preferences.xul
rename : browser/components/preferences/in-content/privacy.js => browser/components/preferences/in-content-new/privacy.js
rename : browser/components/preferences/in-content/privacy.xul => browser/components/preferences/in-content-new/privacy.xul
rename : browser/components/preferences/in-content/searchResults.xul => browser/components/preferences/in-content-new/searchResults.xul
rename : browser/components/preferences/in-content/subdialogs.js => browser/components/preferences/in-content-new/subdialogs.js
rename : browser/components/preferences/in-content/sync.js => browser/components/preferences/in-content-new/sync.js
rename : browser/components/preferences/in-content/sync.xul => browser/components/preferences/in-content-new/sync.xul
rename : browser/components/preferences/in-content/tests/.eslintrc.js => browser/components/preferences/in-content-new/tests/.eslintrc.js
rename : browser/components/preferences/in-content/tests/browser.ini => browser/components/preferences/in-content-new/tests/browser.ini
rename : browser/components/preferences/in-content/tests/browser_advanced_update.js => browser/components/preferences/in-content-new/tests/browser_advanced_update.js
rename : browser/components/preferences/in-content/tests/browser_applications_selection.js => browser/components/preferences/in-content-new/tests/browser_applications_selection.js
rename : browser/components/preferences/in-content/tests/browser_basic_rebuild_fonts_test.js => browser/components/preferences/in-content-new/tests/browser_basic_rebuild_fonts_test.js
rename : browser/components/preferences/in-content/tests/browser_bug1018066_resetScrollPosition.js => browser/components/preferences/in-content-new/tests/browser_bug1018066_resetScrollPosition.js
rename : browser/components/preferences/in-content/tests/browser_bug1020245_openPreferences_to_paneContent.js => browser/components/preferences/in-content-new/tests/browser_bug1020245_openPreferences_to_paneContent.js
rename : browser/components/preferences/in-content/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.js => browser/components/preferences/in-content-new/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.js
rename : browser/components/preferences/in-content/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.xul => browser/components/preferences/in-content-new/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.xul
rename : browser/components/preferences/in-content/tests/browser_bug410900.js => browser/components/preferences/in-content-new/tests/browser_bug410900.js
rename : browser/components/preferences/in-content/tests/browser_bug705422.js => browser/components/preferences/in-content-new/tests/browser_bug705422.js
rename : browser/components/preferences/in-content/tests/browser_bug731866.js => browser/components/preferences/in-content-new/tests/browser_bug731866.js
rename : browser/components/preferences/in-content/tests/browser_bug795764_cachedisabled.js => browser/components/preferences/in-content-new/tests/browser_bug795764_cachedisabled.js
rename : browser/components/preferences/in-content/tests/browser_change_app_handler.js => browser/components/preferences/in-content-new/tests/browser_change_app_handler.js
rename : browser/components/preferences/in-content/tests/browser_checkspelling.js => browser/components/preferences/in-content-new/tests/browser_checkspelling.js
rename : browser/components/preferences/in-content/tests/browser_connection.js => browser/components/preferences/in-content-new/tests/browser_connection.js
rename : browser/components/preferences/in-content/tests/browser_connection_bug388287.js => browser/components/preferences/in-content-new/tests/browser_connection_bug388287.js
rename : browser/components/preferences/in-content/tests/browser_cookies_exceptions.js => browser/components/preferences/in-content-new/tests/browser_cookies_exceptions.js
rename : browser/components/preferences/in-content/tests/browser_defaultbrowser_alwayscheck.js => browser/components/preferences/in-content-new/tests/browser_defaultbrowser_alwayscheck.js
rename : browser/components/preferences/in-content/tests/browser_engines.js => browser/components/preferences/in-content-new/tests/browser_engines.js
rename : browser/components/preferences/in-content/tests/browser_healthreport.js => browser/components/preferences/in-content-new/tests/browser_healthreport.js
rename : browser/components/preferences/in-content/tests/browser_homepages_filter_aboutpreferences.js => browser/components/preferences/in-content-new/tests/browser_homepages_filter_aboutpreferences.js
rename : browser/components/preferences/in-content/tests/browser_layersacceleration.js => browser/components/preferences/in-content-new/tests/browser_layersacceleration.js
rename : browser/components/preferences/in-content/tests/browser_masterpassword.js => browser/components/preferences/in-content-new/tests/browser_masterpassword.js
rename : browser/components/preferences/in-content/tests/browser_notifications_do_not_disturb.js => browser/components/preferences/in-content-new/tests/browser_notifications_do_not_disturb.js
rename : browser/components/preferences/in-content/tests/browser_performance.js => browser/components/preferences/in-content-new/tests/browser_performance.js
rename : browser/components/preferences/in-content/tests/browser_permissions_urlFieldHidden.js => browser/components/preferences/in-content-new/tests/browser_permissions_urlFieldHidden.js
rename : browser/components/preferences/in-content/tests/browser_privacypane_1.js => browser/components/preferences/in-content-new/tests/browser_privacypane_1.js
rename : browser/components/preferences/in-content/tests/browser_privacypane_3.js => browser/components/preferences/in-content-new/tests/browser_privacypane_3.js
rename : browser/components/preferences/in-content/tests/browser_privacypane_4.js => browser/components/preferences/in-content-new/tests/browser_privacypane_4.js
rename : browser/components/preferences/in-content/tests/browser_privacypane_5.js => browser/components/preferences/in-content-new/tests/browser_privacypane_5.js
rename : browser/components/preferences/in-content/tests/browser_privacypane_8.js => browser/components/preferences/in-content-new/tests/browser_privacypane_8.js
rename : browser/components/preferences/in-content/tests/browser_proxy_backup.js => browser/components/preferences/in-content-new/tests/browser_proxy_backup.js
rename : browser/components/preferences/in-content/tests/browser_sanitizeOnShutdown_prefLocked.js => browser/components/preferences/in-content-new/tests/browser_sanitizeOnShutdown_prefLocked.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_1.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_1.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_2.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_3.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_3.js
rename : browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_4.js => browser/components/preferences/in-content-new/tests/browser_search_subdialogs_within_preferences_4.js
rename : browser/components/preferences/in-content/tests/browser_search_within_preferences.js => browser/components/preferences/in-content-new/tests/browser_search_within_preferences.js
rename : browser/components/preferences/in-content/tests/browser_searchsuggestions.js => browser/components/preferences/in-content-new/tests/browser_searchsuggestions.js
rename : browser/components/preferences/in-content/tests/browser_security.js => browser/components/preferences/in-content-new/tests/browser_security.js
rename : browser/components/preferences/in-content/tests/browser_siteData.js => browser/components/preferences/in-content-new/tests/browser_siteData.js
rename : browser/components/preferences/in-content/tests/browser_siteData2.js => browser/components/preferences/in-content-new/tests/browser_siteData2.js
rename : browser/components/preferences/in-content/tests/browser_subdialogs.js => browser/components/preferences/in-content-new/tests/browser_subdialogs.js
rename : browser/components/preferences/in-content/tests/browser_telemetry.js => browser/components/preferences/in-content-new/tests/browser_telemetry.js
rename : browser/components/preferences/in-content/tests/head.js => browser/components/preferences/in-content-new/tests/head.js
rename : browser/components/preferences/in-content/tests/offline/manifest.appcache => browser/components/preferences/in-content-new/tests/offline/manifest.appcache
rename : browser/components/preferences/in-content/tests/offline/offline.html => browser/components/preferences/in-content-new/tests/offline/offline.html
rename : browser/components/preferences/in-content/tests/privacypane_tests_perwindow.js => browser/components/preferences/in-content-new/tests/privacypane_tests_perwindow.js
rename : browser/components/preferences/in-content/tests/site_data_test.html => browser/components/preferences/in-content-new/tests/site_data_test.html
rename : browser/components/preferences/in-content/tests/subdialog.xul => browser/components/preferences/in-content-new/tests/subdialog.xul
rename : browser/components/preferences/in-content/tests/subdialog2.xul => browser/components/preferences/in-content-new/tests/subdialog2.xul
rename : browser/themes/linux/preferences/in-content/dialog.css => browser/themes/linux/preferences/in-content-new/dialog.css
rename : browser/themes/linux/preferences/in-content/preferences.css => browser/themes/linux/preferences/in-content-new/preferences.css
rename : browser/themes/osx/preferences/in-content/dialog.css => browser/themes/osx/preferences/in-content-new/dialog.css
rename : browser/themes/osx/preferences/in-content/preferences.css => browser/themes/osx/preferences/in-content-new/preferences.css
rename : browser/themes/windows/preferences/in-content/dialog.css => browser/themes/windows/preferences/in-content-new/dialog.css
rename : browser/themes/windows/preferences/in-content/preferences.css => browser/themes/windows/preferences/in-content-new/preferences.css
extra : rebase_source : a7accd26847f9b3d5ee0acc9442ef65edeadb5bf
2017-05-25 18:31:41 +08:00
Milan Sreckovic
b1510ddf53 Bug 1368109: No need to sync layers.acceleration.disabled and gfx.direct2d.disabled on Windows. r=mchang
MozReview-Commit-ID: FtyaRl0ar9X

--HG--
extra : rebase_source : 7297ff55207e58d5567224ba48ddff86321a7076
2017-05-26 13:09:56 -04:00
Evan Tseng
1a72503e33 Bug 1364094 - Make defaultPerformancePref become true after changing processCountPref and accelerationPref at one time. r=jaws
MozReview-Commit-ID: 7vBUqwzWOLv

--HG--
extra : rebase_source : 107d437f5307e3617be1225bc75925a690ba050d
2017-05-11 11:14:08 -04:00
tfe
9ab5ad0312 Bug 1336395 - Disallow same alias in search engines r=jaws
MozReview-Commit-ID: 1GidMz0dimv

--HG--
extra : rebase_source : ac9bcf278012c498b6eeb5098f7d3887623ec0bf
2017-05-24 12:51:58 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Evan Tseng
f0edc88c2a Bug 1360140 - Add Learn More link for the Use recommended performance settings checkbox r=mconley
MozReview-Commit-ID: 3IQAbU3ovhg

--HG--
extra : rebase_source : 0ea3c904448bd61390f352aeea3efdb4eafbc26c
2017-05-04 21:31:05 +08:00
Evan Tseng
00cfc78b04 Bug 1357348 - Add the performance section to set the hardware acceleration and content process count prefs, r=jaws
MozReview-Commit-ID: IendRIuWP85

--HG--
extra : rebase_source : 8cb38edc572825debfb88a4e9b425462a3ebc099
2017-04-19 12:02:34 +08:00
Sebastian Hengst
8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Jared Wein
15d7f903a8 Bug 1355522 - Move scripts for spell-checking, hardware acceleration, and on-screen keyboards to main.js since the prefs moved to the main category. r=florian
MozReview-Commit-ID: ExZDYWx92XD

--HG--
extra : rebase_source : bbcae715a16778f8414aaae94da3646fa96840d1
2017-04-12 11:08:46 -04:00
Masayuki Nakano
14608ddcac Bug 1353699 <menulist> for default font should use onsyncfrompreference r=jaws
When font.name.*.* is set to false, "value" attribute of <preference> is removed.  Then, <preference>.setElementValue() with an element which doesn't have onsyncfrompreference tries to set null.  Then, <menulist> selects nothing.

In such case, <menulist> should select the item whose value is "". If there is onsyncfrompreference attribute and it returns empty string, <preference>.setElementValue()  works as expected.

MozReview-Commit-ID: 54KIe3JxwyA

--HG--
extra : rebase_source : 8b94ff9a790cb5f771901cbfea72240d6d8df554
2017-04-06 10:04:04 +09:00
Edouard Oger
95ab537f4e Bug 1096343 - Use a different sync link in dev edition main preferences. r=jaws,markh
MozReview-Commit-ID: BPGSVN2EQza

--HG--
extra : rebase_source : 6a1309d94609dc5559b73283b106540cfaa6678e
2017-03-30 15:59:09 +01:00
Wes Kocher
23ba88918a Merge m-c to autoland, a=merge 2017-03-31 17:52:17 -07:00
Wes Kocher
847d258941 Backed out changeset 94c77723eead (bug 1096343) at developer's request a=backout 2017-03-31 11:07:31 -07:00
Jared Wein
6b4b94b6f2 Bug 1352505 - Fix enabling the 'Restore Default Search Engines' button when removing a default engine. r=Gijs
Re-apply the patch from bug 1327953 since it got lost in the re-arrangement of preference code in bug 1335907.

MozReview-Commit-ID: 1L4A2QC3Bns

--HG--
extra : rebase_source : 90b19dcd953cf15aaf478125df28dcce3381debc
2017-03-31 14:15:07 -04:00
Edouard Oger
9269f73da5 Bug 1096343 - Use a different sync link in dev edition main preferences. r=markh
MozReview-Commit-ID: BPGSVN2EQza

--HG--
extra : rebase_source : 87675ab38049ceb0fb1c37627a3a2021e3b8d656
2017-03-30 15:59:09 +01:00
Zack Herrick
84361e7e85 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 0266027fb3023d4cb155533193d6809d799de1e4
2017-03-29 11:52:08 -04:00
Sebastian Hengst
e86c4a75af Backed out changeset 9ef667136bbe (bug 1335907) for failing browser_datachoices_notification.js. r=backout 2017-03-28 23:43:11 +02:00
Zack Herrick
18ed059dcd Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 29359bb726a0ac8164d7304a2453ffeb8009e990
2017-03-28 14:32:54 -04:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Mark Banner
800c6a4602 Bug 1344027 - Change the import-global-from option for eslint to allow circular references and resolve most of the no-undef issues in browser/components/preferences. r=mossop
MozReview-Commit-ID: BERAbtYkxsF

--HG--
extra : rebase_source : e319699651a8d33db026d7697ccaddd2d1e4e2d3
2017-02-22 10:19:11 +00:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Jared Wein
b33bfba51a Bug 1329017 - Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: 2MhpvzUDgtK

--HG--
extra : rebase_source : 1df2b81badfe556928f6424c8990e4b3fde7056f
2017-01-06 12:09:28 -05:00
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein
69215fad47 Bug 1325464 - Use ES6 method syntax for preferences. r=MattN
MozReview-Commit-ID: k3Bkm39TtT

--HG--
extra : rebase_source : a3e78734613429ec157e56cf9ef5a087f3f4da61
2016-12-22 15:57:40 -05:00
Wes Kocher
0dfb7c2b5c 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
ac17ce81ae Bug 1325464 - Use ES6 method syntax for preferences. r=MattN
MozReview-Commit-ID: k3Bkm39TtT

--HG--
extra : rebase_source : a3e78734613429ec157e56cf9ef5a087f3f4da61
2016-12-22 15:57:40 -05:00
Gijs Kruitbosch
eca53451e1 Bug 1322719 - treat about:newtab like about:home in our UI when it's the default, r=dao
MozReview-Commit-ID: DFn7ZZF2dXw

--HG--
extra : rebase_source : 21fa3d920d7e92c9c7ab9862c74d0f47c1228db9
2016-12-16 17:44:52 +00:00
Dave Townsend
8de07a19a0 Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz

--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Mark Banner
a41b5adcb0 Bug 1314918 - Fix most of the remaining no-unused-vars issues for local scope in browser/. r=mossop
MozReview-Commit-ID: LdoXLniNeT7

--HG--
extra : rebase_source : d2418b8cfab0a399d0dfb5a96ea50c62fac63e70
2016-11-03 11:51:48 +00:00
Milan Sreckovic
df434f7afc Bug 1299931: Move the follow up cancel into the function that preceeds it. r=jaws
MozReview-Commit-ID: 71HTqbiNV0a

--HG--
extra : rebase_source : d729ba615736a6af60e518f4143cedd0f587a37f
2016-09-01 16:52:24 -04:00
Jared Wein
8d45b8762e Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx

--HG--
extra : rebase_source : 330d512f91d840a47e48f39c21d70d13b2953d2d
2016-08-13 21:58:42 -04:00
Milan Sreckovic
6931480ab1 Bug 1285328: Part 2. Add an ability to change the revert/cancel label and/or show the restart later button to the confirmRestartPrompt dialog. r=jaws
MozReview-Commit-ID: D7SDsHqghAS

--HG--
extra : rebase_source : fedeab9570c20aadb4910acd34ea26ed1474c95c
2016-07-14 14:14:28 -04:00
Milan Sreckovic
6b06d7aedd Bug 1285328: Part 1. Make sure the first button/escape is a no-op in these dialogs, and in the potential data loss case, make the default also a no-op. Refactor some common code into preferences.js. r=jaws
MozReview-Commit-ID: 576kGMX08vz

--HG--
extra : rebase_source : d7459ddff9655005eee46ced6cd8ca3d01158038
2016-07-14 13:55:07 -04:00
Jared Wein
c72dd2013f Bug 1278844 - Disable the Download Folder and Choose Folder elements if the browser.download.useDownloadDir pref is locked. r=MattN
MozReview-Commit-ID: 7biIaukj7Fp

--HG--
extra : rebase_source : 2cd19e9c060b5b7f6fc36e3afa9763383491e877
2016-07-07 14:31:05 -04:00
Milan Sreckovic
61f06dcc3f Bug 1282537: Better wording for the E10S restart required confirm box. r=jimm
MozReview-Commit-ID: sHQUi8Ec2L

--HG--
extra : rebase_source : 05d29a147f72174a9c8562d4d5dd7876a86b0fa9
2016-06-27 14:38:50 -04:00
Felipe Gomes
918237b0ca Bug 1227230 - Remove all of the e10s prompting code. r=jimm
This removes all of the e10s-related prompting code, including:
- doorhanger offering to opt-in into e10s
- pref and telemetry probe used to measure the number of users who remained opted-in
- dialog that shows up when unchecking the e10s checkbox saying that a tab will open, requesting feedback
- tab opening requesting feedback
- all related strings

The checkbox in the preferences window remains (nightly/aurora only), as well as the message saying that e10s requires a restart.

The e10s accessibility doorhanger remains. and chrome://browser/skin/e10s-64@2x.png remains too because it's also used in the a11y doorhanger.

MozReview-Commit-ID: aOdvnbeHOa

--HG--
extra : rebase_source : e89cc42dddcb376bece435138611b364d3477fa8
2016-05-12 20:31:52 -03:00
Thom Chiovoloni
2fe899e657 Bug 1261172 - update link to sync sign-in page shown in dev edition r=markh
MozReview-Commit-ID: K7vTJfaixBM

--HG--
extra : transplant_source : %A1%EEq%C5%C7%D0%D8%DF%21%FC%8D%93%8D%A3%99%80%BE%89b%C4
2016-04-04 19:21:32 -07:00
Felipe Gomes
517fc5dff9 Bug 1253605 - Do not display e10s checkbox as checked if e10s was blocked. r=jimm
MozReview-Commit-ID: 50u5Vx8B5kj

--HG--
extra : rebase_source : 7e0350b9769245f460e1b71e532d46502e500c43
2016-03-04 11:51:13 -03:00
Maurya Talisetti
80f028f5b4 Bug 1156176 - Add Restart Later button for the setting that allows Dev Edition and Firefox to run at the same time. r=jaws 2016-02-18 08:57:00 +01:00
Jared Wein
7438cce502 Bug 1189038 - Auto-check the 'Always Check if Firefox is Default' pref when setting Firefox as default. r=gijs
MozReview-Commit-ID: LRXUUy7gbCB
2016-02-10 15:01:44 -05:00
Felipe Gomes
8e514bfba2 Bug 1241959 - Add a description of e10s blocked status to about:support. r=jimm
--HG--
extra : commitid : 5r0m9Ql2GBC
2016-01-22 14:42:30 -08:00
Wes Kocher
72f3b982cf Backed out changeset e7cfbfa5847c (bug 1241959) for browser_Troubleshoot.js failures
--HG--
extra : commitid : LCOKRflYyYB
2016-01-22 14:42:04 -08:00
Felipe Gomes
b5abf5a2ab Bug 1241959 - Add a description of e10s blocked status to about:support. r=jimm 2016-01-22 17:34:29 -02:00
Jared Wein
b82fbe3699 Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs
--HG--
extra : commitid : 5Dm73Qky4vC
extra : rebase_source : 081f9eb19df15bcde305e87dbacea64cfe488249
2016-01-15 12:35:15 -05:00
Jared Wein
6e577cf41f Bug 1043586 - Tweak how about:preferences gets filtered out of current set of tabs for homepages. r=Gijs 2016-01-04 11:12:30 -05:00
Jim Mathies
0945a45267 Bug 1198459 - Modify existing a11y prompting to support disabling a11y in content until a restart. r=felipe
--HG--
extra : transplant_source : %8B%A0%40%25l%88%FA%1E%B9%9De%18%12%19%5C%60%87%A0%3A%E1
2015-12-10 14:28:34 -05:00
Carsten "Tomcat" Book
edd9dd84ec Backed out changeset b78e27e51c93 (bug 1198459) 2015-12-10 11:14:13 +01:00
Jim Mathies
4fa819b862 Bug 1198459 - Modify existing a11y prompting to support disabling a11y in content until a restart. r=felipe
--HG--
extra : transplant_source : i%20%C9i%B0%0AH%0B%F0%CF%EF%EF%C1%A4%ABs%1C%F3%BF%3F
2015-12-09 08:41:55 -05:00
Tooru Fujisawa
235d99efee Bug 1207491 - Part 13: Remove use of expression closure from browser/components/preferences/. r=Gijs
--HG--
extra : commitid : DeDjWQxJsZb
extra : rebase_source : 22e70d4e08155fd5d7dbc0acff2c2f66fcc9e808
2015-09-23 18:36:22 +09:00
Dave Townsend
a22c2d1f9e Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : KsbH21csjH4
extra : rebase_source : bc7c08de1ec6e802261b8cd294d88ee2c4e75c2d
2015-09-14 11:04:19 -07:00
Wes Kocher
468b697f04 Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi
2015-09-22 11:02:55 -07:00
Dave Townsend
fb7653707b Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : FuPUB9X4oYJ
extra : rebase_source : cfcd31d7da5f5b636a2ec11546dbada973d681de
extra : histedit_source : 3df840dc502c6ee4177f1858920d1260e4dc27af
2015-09-14 11:04:19 -07:00