Commit Graph

84 Commits

Author SHA1 Message Date
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
Milan Sreckovic
53e8ea1f82 Bug 1282537: Better wording for the E10S restart required confirm box. r=jimm
MozReview-Commit-ID: sHQUi8Ec2L
2016-06-27 14:38:50 -04:00
Felipe Gomes
74aa60a982 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
2016-05-12 20:31:52 -03:00
Thom Chiovoloni
9548c2c14d Bug 1261172 - update link to sync sign-in page shown in dev edition r=markh
MozReview-Commit-ID: K7vTJfaixBM
2016-04-04 19:21:32 -07:00
Felipe Gomes
42472ddaff Bug 1253605 - Do not display e10s checkbox as checked if e10s was blocked. r=jimm
MozReview-Commit-ID: 50u5Vx8B5kj
2016-03-04 11:51:13 -03:00
Maurya Talisetti
7204f19a74 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
cc80df8dfe 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
b97108406a Bug 1241959 - Add a description of e10s blocked status to about:support. r=jimm 2016-01-22 14:42:30 -08:00
Wes Kocher
37a85dc6cb Backed out changeset e7cfbfa5847c (bug 1241959) for browser_Troubleshoot.js failures 2016-01-22 14:42:04 -08:00
Felipe Gomes
08a69320d1 Bug 1241959 - Add a description of e10s blocked status to about:support. r=jimm 2016-01-22 17:34:29 -02:00
Jared Wein
c3f27c3b0d Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs 2016-01-15 12:35:15 -05:00
Jared Wein
71c64926e7 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
988a5414ed Bug 1198459 - Modify existing a11y prompting to support disabling a11y in content until a restart. r=felipe 2015-12-10 14:28:34 -05:00
Carsten "Tomcat" Book
21f455f33f Backed out changeset b78e27e51c93 (bug 1198459) 2015-12-10 11:14:13 +01:00
Jim Mathies
ccd0993ca1 Bug 1198459 - Modify existing a11y prompting to support disabling a11y in content until a restart. r=felipe 2015-12-09 08:41:55 -05:00
Tooru Fujisawa
bce311a185 Bug 1207491 - Part 13: Remove use of expression closure from browser/components/preferences/. r=Gijs 2015-09-23 18:36:22 +09:00
Dave Townsend
f657500ff0 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.
2015-09-14 11:04:19 -07:00
Wes Kocher
69b522405d 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)
2015-09-22 11:02:55 -07:00
Dave Townsend
eef8701d19 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.
2015-09-14 11:04:19 -07:00