Commit Graph

102 Commits

Author SHA1 Message Date
Punam
61f830b1ba 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
2017-08-15 16:57:23 -07:00
Masatoshi Kimura
0af76969af 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
2017-08-04 17:49:22 +09:00
Timothy Guan-tin Chien
278552e9d3 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
2017-07-27 23:41:31 +08:00
Sebastian Hengst
fea9e56287 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
73a920433a 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
2017-07-27 23:41:31 +08:00
Timothy Guan-tin Chien
f06b25a572 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
2017-07-21 12:42:19 +08:00
Mark Banner
b1b7a75372 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr
2017-07-11 22:49:55 +01:00
Timothy Guan-tin Chien
ae8acb10d0 Bug 1368943 - Disable content process count UI and switch description for non-e10s users, r=jaws
MozReview-Commit-ID: 7UNKrz8VMzI
2017-06-09 11:44:16 +08:00
Sebastian Hengst
7a9b2b8804 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
e6def5e6a9 Bug 1368943 - Disable content process count UI and switch description for non-e10s users, r=jaws
MozReview-Commit-ID: 7UNKrz8VMzI
2017-06-09 11:44:16 +08:00
Timothy Guan-tin Chien
07e1c956ed Bug 1363850 - Part II, Move old about:preferences from in-content-old/ to in-content/, r=jaws,mconley
MozReview-Commit-ID: DPLJT1adO1c
2017-05-31 08:20:26 +08:00
Timothy Guan-tin Chien
3a021a04eb Bug 1363850 - Part I, Move new about:preferences from in-content/ to in-content-new/, r=jaws,mconley
MozReview-Commit-ID: ButUfsGP7lS
2017-05-25 18:31:41 +08:00
Milan Sreckovic
8bf70de4f7 Bug 1368109: No need to sync layers.acceleration.disabled and gfx.direct2d.disabled on Windows. r=mchang
MozReview-Commit-ID: FtyaRl0ar9X
2017-05-26 13:09:56 -04:00
Evan Tseng
2a8860ea93 Bug 1364094 - Make defaultPerformancePref become true after changing processCountPref and accelerationPref at one time. r=jaws
MozReview-Commit-ID: 7vBUqwzWOLv
2017-05-11 11:14:08 -04:00
tfe
4986448c2a Bug 1336395 - Disallow same alias in search engines r=jaws
MozReview-Commit-ID: 1GidMz0dimv
2017-05-24 12:51:58 +02:00
Florian Quèze
ff53eb9a63 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
0b03869506 Bug 1360140 - Add Learn More link for the Use recommended performance settings checkbox r=mconley
MozReview-Commit-ID: 3IQAbU3ovhg
2017-05-04 21:31:05 +08:00
Evan Tseng
5d6797e231 Bug 1357348 - Add the performance section to set the hardware acceleration and content process count prefs, r=jaws
MozReview-Commit-ID: IendRIuWP85
2017-04-19 12:02:34 +08:00
Sebastian Hengst
a1e759a614 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Jared Wein
a94d8d94c2 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
2017-04-12 11:08:46 -04:00
Masayuki Nakano
fee70af553 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
2017-04-06 10:04:04 +09:00
Edouard Oger
fc3baf3523 Bug 1096343 - Use a different sync link in dev edition main preferences. r=jaws,markh
MozReview-Commit-ID: BPGSVN2EQza
2017-03-30 15:59:09 +01:00
Wes Kocher
178c981b55 Merge m-c to autoland, a=merge 2017-03-31 17:52:17 -07:00
Wes Kocher
1277c6e7fa Backed out changeset 94c77723eead (bug 1096343) at developer's request a=backout 2017-03-31 11:07:31 -07:00
Jared Wein
99dee3753d 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
2017-03-31 14:15:07 -04:00
Edouard Oger
88fdb6a2dd Bug 1096343 - Use a different sync link in dev edition main preferences. r=markh
MozReview-Commit-ID: BPGSVN2EQza
2017-03-30 15:59:09 +01:00
Zack Herrick
50c0d3d538 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
2017-03-29 11:52:08 -04:00
Sebastian Hengst
73c0729e22 Backed out changeset 9ef667136bbe (bug 1335907) for failing browser_datachoices_notification.js. r=backout 2017-03-28 23:43:11 +02:00
Zack Herrick
11d8b74c55 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
2017-03-28 14:32:54 -04:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 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
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Mark Banner
e21fc78563 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
2017-02-22 10:19:11 +00:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Jared Wein
0c2dd4fa35 Bug 1329017 - Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: 2MhpvzUDgtK
2017-01-06 12:09:28 -05:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
2de0319338 Bug 1325464 - Use ES6 method syntax for preferences. r=MattN
MozReview-Commit-ID: k3Bkm39TtT
2016-12-22 15:57:40 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
f64a7da705 Bug 1325464 - Use ES6 method syntax for preferences. r=MattN
MozReview-Commit-ID: k3Bkm39TtT
2016-12-22 15:57:40 -05:00
Gijs Kruitbosch
dded540da4 Bug 1322719 - treat about:newtab like about:home in our UI when it's the default, r=dao
MozReview-Commit-ID: DFn7ZZF2dXw
2016-12-16 17:44:52 +00:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Mark Banner
0dc78b7964 Bug 1314918 - Fix most of the remaining no-unused-vars issues for local scope in browser/. r=mossop
MozReview-Commit-ID: LdoXLniNeT7
2016-11-03 11:51:48 +00:00
Milan Sreckovic
b470852169 Bug 1299931: Move the follow up cancel into the function that preceeds it. r=jaws
MozReview-Commit-ID: 71HTqbiNV0a
2016-09-01 16:52:24 -04:00
Jared Wein
7b4c22ac1c Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx
2016-08-13 21:58:42 -04:00
Milan Sreckovic
9f27edc455 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
2016-07-14 14:14:28 -04:00
Milan Sreckovic
bbc485dc42 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
2016-07-14 13:55:07 -04:00
Jared Wein
e70b98406b Bug 1278844 - Disable the Download Folder and Choose Folder elements if the browser.download.useDownloadDir pref is locked. r=MattN
MozReview-Commit-ID: 7biIaukj7Fp
2016-07-07 14:31:05 -04:00