Commit Graph

212 Commits

Author SHA1 Message Date
Paolo Amadini
57cb774050 Bug 1457027 - Part 8 - Add a HandlerListItem class. r=jaws
MozReview-Commit-ID: 2ohtRX1w0D3
2018-05-04 15:57:43 +01:00
Paolo Amadini
4db7cff22c Bug 1457027 - Part 7 - Move action icon getters to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 9wRCqdtIqiG
2018-05-04 15:07:41 +01:00
Paolo Amadini
19193c4dbc Bug 1457027 - Part 6 - Move _describePreferredAction to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 8b0H6g9qawF
2018-05-04 14:39:18 +01:00
Paolo Amadini
e5cc2fb617 Bug 1457027 - Part 5 - Move _describeType to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: NjmxPwLngc
2018-05-04 14:17:50 +01:00
Paolo Amadini
6b5debbfc8 Bug 1457027 - Part 4 - Use class syntax for the HandlerInfoWrapper hierarchy. r=jaws
This also does some minor clean up of declarations and code comments.

MozReview-Commit-ID: 31uRma7NDl8
2018-05-07 09:33:36 +01:00
Paolo Amadini
b4a42ace63 Bug 1457027 - Part 3 - Unify references to bundlePreferences. r=jaws
MozReview-Commit-ID: G2kfPdCyaXx
2018-05-04 14:10:10 +01:00
Paolo Amadini
70cd3b19ea Bug 1457027 - Part 2 - Define services using defineLazyServiceGetters. r=jaws
MozReview-Commit-ID: J33LwkbMhS1
2018-05-03 14:39:42 +01:00
Paolo Amadini
de602e322f Bug 1457027 - Part 1 - Don't persist the last selected handler. r=jaws
We plan to remove XUL persistence eventually, and this is a special case that uses the feature with an unusual attribute. This change also prevents pitfalls with getElementsByAttribute when the richlistitem descendants are made non-anonymous.

Some unneeded attributes in both the handlers and the containers richlistbox items are also cleaned up.

MozReview-Commit-ID: C05ArQGZb95
2018-04-30 11:11:48 +01:00
Paolo Amadini
1cd04ad0d5 Bug 1457720 - Force the left-to-right direction when displaying a custom download path. r=gandalf
MozReview-Commit-ID: B7hYMi96Zyg
2018-05-01 17:12:31 +01:00
Kris Maglione
582a21b473 Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.

MozReview-Commit-ID: 8OzglraowZt
2018-04-23 12:58:34 -07:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Zibi Braniecki
acfebf271f Bug 1438375 - Refactor "extensionControlled" Preferences code to use Fluent. r=flod,Gijs
MozReview-Commit-ID: 9XJxyuMUCHV
2018-04-17 15:31:50 -07:00
Andreea Pavel
e8a7599ff2 Backed out changeset fb836a045f20 (bug 1438375) for browser chrome failres at browser/components/preferences/in-content/tests/browser_extension_controlled.js 2018-04-26 10:45:11 +03:00
Zibi Braniecki
8d1fc73508 Bug 1438375 - Refactor "extensionControlled" Preferences code to use Fluent. r=flod,Gijs
MozReview-Commit-ID: 9XJxyuMUCHV
2018-04-17 15:31:50 -07:00
k88hudson
6bbdd2fd81 Bug 1448971 - Replace "when Firefox starts" section in about:preferences#general with checkbox r=flod,jaws
MozReview-Commit-ID: JHL20S5gZq2
2018-04-04 12:28:22 -04:00
Paolo Amadini
8967cda78b Bug 1452624 - Part 1 - Replace the "filefield" binding with a regular textbox. r=jaws
MozReview-Commit-ID: jTKvyiRNdw
2018-04-17 14:26:00 +01:00
Zibi Braniecki
14ca017d5f Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd
2018-04-11 16:09:31 -07:00
Coroiu Cristina
bc4362f863 Backed out 4 changesets (bug 1453480) for failing browser-chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE
Backed out changeset 623b37fe0fe8 (bug 1453480)
Backed out changeset a3c36fa7ac0c (bug 1453480)
Backed out changeset 46a634d6853c (bug 1453480)
Backed out changeset 658fedb903d0 (bug 1453480)
2018-04-13 19:49:14 +03:00
Zibi Braniecki
394eed73b6 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd
2018-04-11 16:09:31 -07:00
Coroiu Cristina
cc5f92142c Backed out 3 changesets (bug 1453480, bug 1453878) for c2 failures at intl/l10n/test/dom/test_domloc_overlay.htm and browser-chrome failures at browser/components/preferences/in-content/tests/browser_fluent.js on a CLOSED TREE
Backed out changeset 8dd86546cc66 (bug 1453878)
Backed out changeset 6b5e7c13eb8c (bug 1453480)
Backed out changeset 385de3e4dca0 (bug 1453480)
2018-04-13 08:51:13 +03:00
Zibi Braniecki
2c5b4eb301 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd
2018-04-11 16:09:31 -07:00
Zibi Braniecki
72ce182bd6 Bug 1453486 - Fix Fluent API use when building a dialog to disable containers. r=Gijs
MozReview-Commit-ID: Kfs13ugmvNr
2018-04-11 15:41:30 -07:00
Boris Zbarsky
0e6ee1bab5 Bug 1453345 part 5. Remove pointless JS implemenations of QI to nsIDOMEventListener. r=smaug
MozReview-Commit-ID: Db0v6GZ0deo
2018-04-12 00:03:45 -04:00
Jonathan Kingston
9b880fdc20 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja
2018-02-21 14:28:48 +00:00
k88hudson
53124292cf Bug 1417155 - Add new Home/New Tab page section to about:prefs#home r=flod,gandalf,jaws
MozReview-Commit-ID: 4ip7irrfLbR
2018-03-08 10:54:53 -05:00
Kirk Steuber
e4f2c86411 Bug 1447051 - about:preferences should not offer to Preview PDFs when the DisableBuiltinPDFViewer policy is active r=bdahl,Felipe
MozReview-Commit-ID: B2R6SUbAyXP
2018-03-19 11:35:39 -07:00
Punam
48ce497195 Bug 1444521 - Preferences UI save to cloud downloads event listener r=jaws
MozReview-Commit-ID: LbKr1rpXn4q
2018-03-13 17:54:18 -07:00
Edouard Oger
92dd5385e4 Bug 1445028 - Hide sync-dev-edition-root properly if sync is disabled. r=jaws
MozReview-Commit-ID: 29ylwC3tJdM
2018-03-13 10:16:43 -04:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Zibi Braniecki
3b33c316a1 Bug 1435912 - Migrate Preferences::General XUL part to the new Localization API. r=flod,jaws
MozReview-Commit-ID: J5Rr8Gc0oCx
2018-02-27 21:20:54 -08:00
Ciure Andrei
f02825885f 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
7343f0456c Bug 1435912 - Migrate Preferences::General XUL part to the new Localization API. r=flod,jaws
MozReview-Commit-ID: J5Rr8Gc0oCx
2018-01-22 15:38:06 -08:00
Kirk Steuber
31831b2f7d Bug 1438925 - Select "Never check for updates" in Preferences UI when DisableAppUpdate policy is active r=jaws
MozReview-Commit-ID: 51ZaamngdIP
2018-02-16 15:48:49 -08:00
Edouard Oger
1a12c1fce4 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s
2018-02-15 11:24:44 +08:00
Csoregi Natalia
5f4a31b802 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
cf78f22e8e Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s
2018-02-15 11:24:44 +08:00
Cosmin Sabou
bb25b037bd 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
23fa89126c Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s
2018-02-15 11:24:44 +08:00
shindli
4f93afdfba 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
b7ef270fb8 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s
2018-02-15 11:24:44 +08:00
Jared Wein
db0a992247 Bug 1436575 - Autofix errors from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 66sXxnOWDgw
2018-02-08 12:57:31 -05:00
Zibi Braniecki
85527f89ee Bug 1424682 - Migrate the chrome of Preferences to the new Localization API. r=flod,jaws
MozReview-Commit-ID: ALnFUmnJMDB
2017-12-18 23:19:13 -08:00
Bob Silverberg
2d9369ad83 Bug 1436165 - Change extensionControlled strings for home page and new tab page, r=jaws,mstriemer
MozReview-Commit-ID: KcWiCm5nbeB
2018-02-07 14:03:23 -05:00
Edouard Oger
1666fb5941 Bug 1427674 - Unify FxA content server URL preferences. r=markh,tcsc
MozReview-Commit-ID: 3zhHGAzQr0R
2018-01-30 13:21:35 -05:00
Bob Silverberg
2777c6ca53 Bug 1429593 - Part 2: Show that a WebExtension is managing the proxy config setting, r=jaws,mstriemer
Update the general page of about:preferences, as well as the Connection Settings panel, to show
when an extension is controlling proxy settings, and allow a user to disable the extension to
regain control.

MozReview-Commit-ID: HKYPkg78IOK
2018-01-22 11:49:42 -05:00
Bob Silverberg
313de813ef 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
2018-01-22 14:40:20 -05:00
Mark Banner
4fd95a27c9 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
2018-02-07 09:24:15 +00:00
Coroiu Cristina
1affbb39f9 Backed out 2 changesets (bug 1429593) for for mass failing browser-chrome, e.g. browser/components/preferences/in-content/tests/browser_extension_controlled.js on a CLOSED TREE
Backed out changeset 9ce1b89f8744 (bug 1429593)
Backed out changeset fa845d221e7a (bug 1429593)
2018-02-07 16:03:58 +02:00
Bob Silverberg
bef60f3f6e Bug 1429593 - Part 2: Show that a WebExtension is managing the proxy config setting, r=jaws,mstriemer
Update the general page of about:preferences, as well as the Connection Settings panel, to show
when an extension is controlling proxy settings, and allow a user to disable the extension to
regain control.

MozReview-Commit-ID: HKYPkg78IOK
2018-01-22 11:49:42 -05:00
Bob Silverberg
fa349f8a38 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
2018-01-22 14:40:20 -05:00