Commit graph

129 commits

Author SHA1 Message Date
Timothy Guan-tin Chien
d524c53377 Bug 1520350 - Lazily load about:preferences markups from hidden panes r=jaws
Because custom elements will be constructed when DOM is constructed,
construct the DOM in the hidden panels will be expensive as we move
more and more widgets to custom elements from XBL.

This patch attempts to counter that by moving all the pane markups
into comment nodes, and use MozXULElement.parseXULToFragment() to
insert it when it is being asked.

They will be loaded lazily from an requestIdleCallback() in findInPage.js.

Differential Revision: https://phabricator.services.mozilla.com/D16787

--HG--
extra : moz-landing-system : lando
2019-01-28 18:21:59 +00:00
Paolo Amadini
5d354ce421 Bug 1429940 - Part 2 - Use HTML headings inside the "label" element for labeling "groupbox" elements in Preferences, instead of the "caption" element. r=MarcoZ,dao,jaws,flod
This makes it possible to navigate by headings when using accessibility technology.

Information labels displayed when removing the master password are also restored.

Differential Revision: https://phabricator.services.mozilla.com/D11792

--HG--
extra : rebase_source : 42f156dbccf074445cf7e08d8de246058437c91b
2018-11-20 15:14:18 +00:00
Mike Conley
23b9e41ffe Bug 1502019 - Remove expired FX_PREFERENCES_CATEGORY_OPENED and FX_PREFERENCES_CATEGORY_OPENED_V2 probes. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D9791

--HG--
extra : moz-landing-system : lando
2018-10-26 16:57:03 +00:00
Jared Wein
755c61d96f Bug 1497039 - Put a placeholder in privacy.xul that will be used to inject the form-autofill section. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D8892

--HG--
extra : moz-landing-system : lando
2018-10-18 03:42:59 +00:00
Dorel Luca
73ddd257df Backed out changeset eb2a83cba95a (bug 1497039) for XPCshell failures in browser/extensions/formautofill/test/unit/test_reconcile.js. CLOSED TREE 2018-10-18 01:33:07 +03:00
Jared Wein
79aba2b74f Bug 1497039 - Put a placeholder in privacy.xul that will be used to inject the form-autofill section. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D8892

--HG--
extra : moz-landing-system : lando
2018-10-17 19:36:46 +00:00
Mark Striemer
426e2e47f1 Bug 1483335 - Link between preferences and add-on manager r=flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D8099

--HG--
extra : moz-landing-system : lando
2018-10-13 04:59:59 +00:00
Jared Wein
acbe499b25 Bug 1470184 - Update the Preferences text and layout for Web Payments. r=flod,MattN
Differential Revision: https://phabricator.services.mozilla.com/D6937

--HG--
extra : moz-landing-system : lando
2018-09-28 08:29:01 +00:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Zibi Braniecki
93ac8e7357 Bug 1461048 - Convert Fluent API calls to FluentDOM 0.3.0. r=mossop
MozReview-Commit-ID: K3eA8blcP2x

--HG--
extra : rebase_source : 8aca3e850d9c8f87e13aa5d1dcad588b9a272a94
2018-05-14 12:37:41 -07:00
k88hudson
6fcbb90e97 Bug 1451006 - Send correct category for about:preferences#home telemetry r=jaws
MozReview-Commit-ID: 4B9RqNhyjUo

--HG--
extra : rebase_source : f9be2b84f7ff92766999990e545db6165c4d912f
2018-04-03 16:42:02 -04:00
Jared Wein
f9f0b80f55 Bug 1449658 - Don't set hidden=true on items that are already visually-hidden when they don't match the search query since it is causing unnecessary layout changes. r=Gijs
MozReview-Commit-ID: 2HqpinGyuKw

--HG--
extra : rebase_source : e9f7ea848e18c2d6c4e9040c5aadf15940327226
2018-03-29 15:05:57 -07:00
k88hudson
a4c85dc481 Bug 1417155 - Add Home section to about:preferences for Activity Stream preferences r=flod,gandalf,jaws
MozReview-Commit-ID: FobtLGbqf6m

--HG--
extra : rebase_source : 02ea1b98c3f34f43f9da16faa0a3392ef2edc311
2018-03-05 19:52:07 -05:00
Edouard Oger
eab36e5c7e Bug 1443593 - Remove FxA preferences from search results when FxA is disabled. r=markh
MozReview-Commit-ID: 3x5wuJLDVWN

--HG--
extra : rebase_source : ad164b45d57a0a477a74192e04ca994443b8588c
2018-03-09 14:36:59 -05:00
Felipe Gomes
1d93ef23e3 Bug 1432906 - Display notice in about:preferences when Policies are in use. r=gandalf,jaws
MozReview-Commit-ID: 83UUY9DmK2K

--HG--
extra : rebase_source : 3d74d1ac3aafe02c8d4bbbdde8282ed13ca36784
2018-03-05 14:18:44 -03: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
Gregory Wlodarek
f2c2d6213b Bug 1434427 - Replace string for preferences confirmRestartPrompt to use "cancel" instead of "revert". r=flod
* Removed the revertNoRestartButton entry from the migration script as this no longer exists after this change

MozReview-Commit-ID: AGJ2OfYVPok

--HG--
extra : rebase_source : df7f383f51e4d72c493e4cc43696eff2ee0034fa
2018-02-16 13:34:18 -05: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
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
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
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08: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
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
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
Francesco Lodolo (:flod)
6a6eaef3d0 Bug 1432555 - Restore and use existing string extensionControlled.enable for instruction on how to enable extensions r=Gijs
MozReview-Commit-ID: 4nGtBhWzakN

--HG--
extra : rebase_source : aabca46e1d06c84cc55f33335dd13cb1ab7dc0a4
2018-01-23 19:25:59 +01:00
Gijs Kruitbosch
9d478f14ea Bug 1431428 - use DOM instead of innerHTML for extension messaging in prefs, r=jaws
MozReview-Commit-ID: JkG6zT8ADDU

--HG--
extra : rebase_source : 53e320ab0146e000530b90f502a3eae13743e78f
2018-01-18 18:19:10 +00: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
Evan Tseng
8663ce0fcb Bug 1407568 - Add a spotlight indicator to a specific section and UI component. r=jaws,lchang
MozReview-Commit-ID: 4AgAFq2r418

--HG--
extra : rebase_source : 055fb2881c1a91aff108fb4a32a7fff842443bc7
2017-11-30 17:42:40 +08:00
Mark Striemer
18c5af7937 Bug 1403751 - Tell users how to enable extensions in about:preferences r=jaws
MozReview-Commit-ID: FLzekXwTK52

--HG--
extra : rebase_source : 24b90c20283b7c553153817a46ce0f577bad0296
2017-10-05 15:39:51 -05: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
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
Ricky Chien
e413f2f6ce Bug 1389550 - Move help button into category and remove init_dynamic_padding in preferences.js r=jaws
MozReview-Commit-ID: 3IU7jTqYr5g

--HG--
extra : rebase_source : aa594d7e839776ca0f20f085203c6c38428f45b2
2017-09-28 15:43:12 +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
Ricky Chien
7e3c80cf4d Bug 1397731 - Clear Preferences search query after category switchover r=mconley
MozReview-Commit-ID: DoV5xHW0xKP

--HG--
extra : rebase_source : 568c8d9b8f1d2c4372cc919cf1e105deb1a545b9
2017-09-11 23:33:10 +08:00