Commit graph

145 commits

Author SHA1 Message Date
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