Commit graph

2433 commits

Author SHA1 Message Date
Paolo Amadini
cf5bc9aab8 Bug 1446362 - Part 1 - Refactor tests to reduce some duplication. r=johannh
MozReview-Commit-ID: 2m0Oymlh51z

--HG--
extra : rebase_source : 6bdd2102000e9db1b213783c39d56a729a4a29c0
2018-06-22 14:13:41 +01:00
Cosmin Sabou
eb4431c0f5 Backed out changeset 638eb8a41245 (bug 1453751) for frequent linux debug e-10s failures on test_ext_webrequest_filter.html
--HG--
rename : browser/base/content/test/favicons/browser_bug408415.js => browser/base/content/test/general/browser_bug408415.js
rename : browser/base/content/test/favicons/browser_bug550565.js => browser/base/content/test/general/browser_bug550565.js
rename : browser/base/content/test/favicons/browser_favicon_change.js => browser/base/content/test/general/browser_favicon_change.js
rename : browser/base/content/test/favicons/browser_favicon_change_not_in_document.js => browser/base/content/test/general/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/favicons/browser_subframe_favicons_not_used.js => browser/base/content/test/general/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/favicons/file_generic_favicon.ico => browser/base/content/test/general/file_bug970276_favicon1.ico
rename : browser/base/content/test/favicons/file_bug970276_popup1.html => browser/base/content/test/general/file_bug970276_popup1.html
rename : browser/base/content/test/favicons/file_bug970276_popup2.html => browser/base/content/test/general/file_bug970276_popup2.html
rename : browser/base/content/test/favicons/file_favicon_change.html => browser/base/content/test/general/file_favicon_change.html
rename : browser/base/content/test/favicons/file_favicon_change_not_in_document.html => browser/base/content/test/general/file_favicon_change_not_in_document.html
rename : browser/base/content/test/favicons/file_with_favicon.html => browser/base/content/test/general/file_with_favicon.html
extra : rebase_source : 77bf32209022e0351c2a3b69affaac4cf33aa9a6
2018-06-26 07:29:35 +03:00
Dave Townsend
9cbfdc7c2d Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 53dc0c682bf61d5135fbca172ac5238b414a1771
2018-06-04 12:53:55 -07:00
Kanika Saini
df87c5f07c Bug 1467062 - Permissions Policy added to configure camera, microphone, location and notifications r=Felipe
MozReview-Commit-ID: IqpEboxHjjt

--HG--
extra : rebase_source : 114f6513c39f1d81d7ff203552e149e5ca7eeaa7
2018-06-06 15:43:26 +05:30
Johann Hofmann
d34f805778 Bug 1462471 - Link to permission preferences from the identity popup permissions section. r=prathiksha
MozReview-Commit-ID: 4XNBfztgWOG

--HG--
extra : rebase_source : 713003dcc2e35aba0283797e96fe13559990d744
2018-06-01 23:17:52 +02:00
kanika
e0c4b56af2 Bug 1428847 - Move is_hidden and is_visible helper functions into BrowserTestUtils.jsm. r=johannh
MozReview-Commit-ID: 2xshA0CAPgY

--HG--
extra : rebase_source : ac908827986cdee251a454c0cd366a59c5cfdac0
2018-03-22 21:14:23 +05:30
Joel Maher
50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Paolo Amadini
ae2cc7ca99 Bug 1467713 - Part 4 - Replace "var" with "let" and remove the parameter prefix. r=jaws
MozReview-Commit-ID: 61k7xS2MlKr

--HG--
extra : rebase_source : 32cddf29916beff5e03abf9dc599890fd08b3fe3
2018-06-05 17:30:43 +01:00
Paolo Amadini
367e78dac1 Bug 1467713 - Part 3 - Remove the unused setOrigin function. r=jaws
MozReview-Commit-ID: 3CpU7zY9JFJ

--HG--
extra : rebase_source : 68e6e3fd56a0f8c48ceeffa27f8ecf72f5256378
2018-06-05 15:27:24 +01:00
Paolo Amadini
f1f4ef76c6 Bug 1467713 - Part 2 - Reorder "permissions.js" to match "sitePermissions.js". r=jaws
Reordering the functions makes it easier to port the implementation across the files and merge them eventually.

MozReview-Commit-ID: EkVbTA0YEQ5

--HG--
extra : rebase_source : 160157df7aaebf502449a9daf1b7dbfc9195aa41
2018-06-05 15:26:14 +01:00
Paolo Amadini
e895567b26 Bug 1467713 - Part 1 - Rename functions in "permissions.js" to match "sitePermissions.js". r=jaws
MozReview-Commit-ID: KeF5mcVvVHl

--HG--
extra : rebase_source : 39ef7ada1138a3bc3c87e20fca958aa26c7fff95
2018-06-05 15:12:39 +01:00
Dale Harvey
cfbbb5eff9 Bug 1466129 - Add default value to pref. r=johannh
MozReview-Commit-ID: 988Co3PD41V

--HG--
extra : rebase_source : fe5eeccf370c23525c72f427dcc65bb973b84b32
2018-06-01 22:44:20 +01:00
Ed Lee
45c3139928 Bug 1447879 - Cannot customize about:preferences#home content when sync or preference searching is disabled. r=k88hudson
Have the home preferences page notify when it loads instead of relying on findInPage to trigger sync pane to init.

MozReview-Commit-ID: EJlJDfYBHFO

--HG--
extra : rebase_source : ae5104ec18aefca9241be1b61072b786fa9e6815
2018-05-30 17:32:44 -07:00
Dale Harvey
7cab5a8d5a Bug 1458249 - Add autoplay item to about:preferences. r=flod,johannh
MozReview-Commit-ID: AldNoElwH1O

--HG--
extra : rebase_source : b1c3d441ea69d09f287bdca0aac97872eb805231
2018-05-03 07:55:53 +01:00
Michael Kohler
378af42cb0 Bug 1456787 - Improve selectors for no-search-results in preferences.inc.css. r=jaws
Summary: Improve selectors for no-search-results in preferences.inc.css

Reviewers: jaws

Reviewed By: jaws

Bug #: 1456787

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

--HG--
extra : rebase_source : 2df8563841b7dd653301beea5f92661085d7a211
2018-05-30 18:09:14 +03:00
Michael Kohler
28a650b6af Bug 1447952 - Use relative time format in the site data manager. r=johannh 2018-05-30 17:46:54 +03:00
Johann Hofmann
35166c8f08 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau

--HG--
extra : rebase_source : 3f3aae722ca2e1b6a28a29a5116d66bf40aa8092
2018-05-22 16:26:55 +02:00
Dorel Luca
e5fe6c3a9f Backed out changeset bc39ccd992a4 (bug 1462468) for Browser-chomre failures on browser/base/content/test/trackingUI/browser_trackingUI_appMenu.js
--HG--
extra : rebase_source : a59dba114b09502056e229c7226b32741c8414f0
2018-05-28 19:11:14 +03:00
Trisha Gupta
7ae9b423fe Bug 1442303 - The arrow for sort is missing in Exceptions dialogues r=johannh
MozReview-Commit-ID: CntCTeVC91U

--HG--
extra : rebase_source : deb07b78e61ecfc4554ba7257dbfc18f9e4b1ec2
2018-05-25 22:53:43 +08:00
Johann Hofmann
6e280711b9 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau

--HG--
extra : rebase_source : 34f62aed6cdafe091d2105c55669b052aba45040
2018-05-22 16:26:55 +02:00
Kris Maglione
6ac523347a Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87

--HG--
extra : rebase_source : b774d70d11c47d138535685104c5d5bc197f7866
2018-05-12 18:51:32 -07:00
Kris Maglione
1e03e83e35 Bug 1461146: Replace Addon.userDisabled setter with async enable()/disable() methods. r=aswan
MozReview-Commit-ID: Gj2iCsBIdnq

--HG--
extra : rebase_source : 7766537d472ae8d6a25c4c824a50c0bb6bc49865
2018-05-12 16:49:35 -07:00
Jared Wein
346ed4db83 Bug 1464102 - Change the todos in browser_siteData.js to is() now that todo is working and the conditions are passing. r=johannh
MozReview-Commit-ID: Ln7d9iDe8lA

--HG--
extra : rebase_source : 2c5fc83419492bb9eb0314076dade4a9c1139e89
2018-05-25 13:28:52 -04:00
Mark Banner
b321b832fd Bug 824502 - Fix unit tests for the folder=<id> to parent=<guid> transition. r=mak
MozReview-Commit-ID: FCaiJrSAMAV

--HG--
extra : rebase_source : 1edf169c3a24b1c0b8c1be2e8eb0f06e8605df80
2018-05-01 08:14:53 +01:00
Trisha
0bb8ad97fc Bug 1451412 - Use a DocumentFragment to build the site data list r=johannh
MozReview-Commit-ID: 5TbwqwmW5Q1

--HG--
extra : rebase_source : 4c0beee0e90bb590ba5a91216fb39e951ff692a8
2018-05-24 03:49:33 +08:00
Mark Hammond
b30577d5b8 Bug 1409208 (part 2) - implement disconnect and sanitize functionality. r=eoger,kitcambridge
MozReview-Commit-ID: 3Fqc6MiaQ4O

--HG--
extra : rebase_source : b0397a66bdac2ab81b50a2ef47252af6307a8ccc
2018-04-27 09:18:47 +10:00
Mark Hammond
01238ca16a Bug 1409208 (part 1) - Create a functional disconnect dialog. r=eoger,gandalf
MozReview-Commit-ID: GyGzB6pI0vU

--HG--
extra : rebase_source : cdbafbf484ae1aa451132b2c3a31b7210d48c0c4
2018-04-24 11:17:00 +10:00
Zibi Braniecki
1c5fcde883 Bug 1453765 - Switch Fluent from warning to throwing errors when in debug/testing mode. r=Gijs
MozReview-Commit-ID: 1y7FTCPWRxb

--HG--
extra : rebase_source : fb4d20e383efd64bbdfce5ca1d78aca40716b57a
2018-05-22 20:49:29 -07:00
Paolo Amadini
5a8b4a90e8 Bug 1459556 - Part 2 - Remove the "handler" binding. r=bgrins
MozReview-Commit-ID: GOUOKuoR1rs

--HG--
extra : rebase_source : aefa4e36842278d00de678e357f5a03b7c5c901d
extra : amend_source : d8e60b7cd5b52d03765dd3f2a235bebce6b4515e
2018-05-22 18:39:28 +01:00
Paolo Amadini
638e666e32 Bug 1459556 - Part 1 - Remove the implementation from the "handler" binding. r=jaws
MozReview-Commit-ID: IN1C5NC9Rzb

--HG--
extra : rebase_source : 776e8d830ba2f5f37a039889705906e4d9a27096
extra : source : f7b1991ca700088428baf65f38ca8eff3135f8c5
2018-05-16 11:45:19 +01: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
Alex
06efbde436 Bug 1447978 - Update strings to remove first person, r=flod,jaws
MozReview-Commit-ID: 8M5AyCeqFgT

--HG--
extra : rebase_source : 4fda68edc4aa1fc33fac8e9406e58140082af93b
2018-05-13 13:16:51 -07:00
Zibi Braniecki
fe64f97f48 Bug 1460654 - Trigger eager l10n for listbox items in Preferences::Languages subdialog to avoid overflow. r=jaws
MozReview-Commit-ID: 6MR2YFbubYX

--HG--
extra : rebase_source : 3b5953bb260343175b8911f1e5a964dbf35efa92
2018-05-10 13:50:33 -07:00
Jonathan Kingston
c2489bc039 Bug 1457620 - Expose shield preference toggle to all locales and move code to not being injected. r=flod,Gijs,mythmon
MozReview-Commit-ID: 4uZSdqqAlG8

--HG--
extra : rebase_source : 21955bb47ab291a9fb88786783175cd4a31dc9a4
2018-05-05 11:07:08 +01:00
Zibi Braniecki
412cd3be9d Bug 1457021 - Fix a mangled message ID order in a Preferences::Permissions JS dialog. r=Gijs
MozReview-Commit-ID: JeAxaSTWllA

--HG--
extra : rebase_source : 8d35cc551911ca38d278b8a8779755e747637c41
2018-04-27 15:38:22 -07:00
Zibi Braniecki
069406b327 Bug 1457021 - Migrate the JS of Preferences::SitePermissions to Fluent. r=flod,jaws
MozReview-Commit-ID: Fe4Q6CnTcuj

--HG--
extra : rebase_source : e5ee3154c17dc8932c390075ac491a80d80e25e5
2018-04-25 16:24:39 -07:00
Zibi Braniecki
b1634a4609 Bug 1457021 - Migrate the JS of Preferences::Translation to Fluent. r=Gijs
MozReview-Commit-ID: 8UTYUyOvnBz

--HG--
extra : rebase_source : 7d6f425cc91367f115711b5a2762d2705f31ca97
2018-04-25 15:51:15 -07:00
Zibi Braniecki
7883ca707e Bug 1457021 - Migrate the JS of Preferences::Languages to Fluent. r=flod,Gijs
MozReview-Commit-ID: 6RTJGkrhoWY

--HG--
extra : rebase_source : 3413fff981fd0a46a4daa7ff41c792292335bf35
2018-04-25 15:46:50 -07:00
Zibi Braniecki
8b018a4aa5 Bug 1457021 - Migrate the JS of Preferences::SiteData to Fluent. r=flod,johannh
MozReview-Commit-ID: 5sYMU3dDTRy

--HG--
extra : rebase_source : 1c73e167c944757d3622e18a31a270084f705fb1
2018-04-23 10:12:21 -07:00
Zibi Braniecki
c4de9748da Bug 1457021 - Migrate the JS of Preferences::Fonts to Fluent. r=flod,jaws
MozReview-Commit-ID: A5yrLylYBjm

--HG--
extra : rebase_source : 762e0ae11f57bbf96a2f98d4e6cec2df8b3d8ad3
2018-04-19 17:12:18 -07:00
Zibi Braniecki
a0b03ccae1 Bug 1457021 - Migrate the JS of Preferences::Blocklists to Fluent. r=flod,Gijs
MozReview-Commit-ID: DlcJNPukzHW

--HG--
extra : rebase_source : cf5385f90381a66408b18ac046eebf2d678a8c18
2018-04-19 16:59:44 -07:00
Zibi Braniecki
fcea421df8 Bug 1457948 - Migrate in-content/privacy.js to Fluent. r=flod,jaws
MozReview-Commit-ID: 7K7Wgm5ahTL

--HG--
extra : rebase_source : c87b39226e1566a4c085cab06b1c559bd31a54c8
2018-04-30 10:29:18 -07:00
Dorel Luca
559b69d4ad Backed out changeset fba5e06d6365 (bug 1457948) for Browser-chrome failures on multipe files. CLOSED TREE 2018-05-08 10:54:13 +03:00
Zibi Braniecki
e0a4c31651 Bug 1457948 - Migrate in-content/privacy.js to Fluent. r=flod,jaws
MozReview-Commit-ID: 7K7Wgm5ahTL

--HG--
extra : rebase_source : 2824d6207614b4425c67507b0ae57f78feeaa837
2018-04-30 10:29:18 -07:00
Paolo Amadini
fda23bd6c7 Bug 1457027 - Part 8 - Add a HandlerListItem class. r=jaws
MozReview-Commit-ID: 2ohtRX1w0D3

--HG--
extra : rebase_source : 380cb9eb707998db595cbf6d9bc1a75f09d01749
2018-05-04 15:57:43 +01:00
Paolo Amadini
2be8193d10 Bug 1457027 - Part 7 - Move action icon getters to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 9wRCqdtIqiG

--HG--
extra : rebase_source : dd979e5308f6ec9f24c442559675eb9a46573d27
2018-05-04 15:07:41 +01:00
Paolo Amadini
b3603ca86e Bug 1457027 - Part 6 - Move _describePreferredAction to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 8b0H6g9qawF

--HG--
extra : rebase_source : 963603b730c4336d285989b60e76c78b0d1a122f
2018-05-04 14:39:18 +01:00
Paolo Amadini
0076ed20af Bug 1457027 - Part 5 - Move _describeType to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: NjmxPwLngc

--HG--
extra : rebase_source : 597e6eb0aa0c03626e5ca3b30735143ddcecb527
2018-05-04 14:17:50 +01:00
Paolo Amadini
b9c14b465a 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

--HG--
extra : rebase_source : 5a71c0fac5783716db5b41119b25213011895883
2018-05-07 09:33:36 +01:00
Paolo Amadini
94a843745e Bug 1457027 - Part 3 - Unify references to bundlePreferences. r=jaws
MozReview-Commit-ID: G2kfPdCyaXx

--HG--
extra : rebase_source : 09208c3d31567371b33acd437fded8fdc7a6c18a
2018-05-04 14:10:10 +01:00
Paolo Amadini
004746ef07 Bug 1457027 - Part 2 - Define services using defineLazyServiceGetters. r=jaws
MozReview-Commit-ID: J33LwkbMhS1

--HG--
extra : rebase_source : 66677a25052b87d9f86f7f47bba268a0fe33a53e
2018-05-03 14:39:42 +01:00
Paolo Amadini
ab31ef697a 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

--HG--
extra : rebase_source : c5cd38498badaed8a5b8042aa906f4fbb89e47d9
2018-04-30 11:11:48 +01:00
Cosmin Sabou
dc4e10c449 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
2018-05-04 20:37:47 +03:00
Dão Gottwald
b0f0c31ea8 Bug 1456611 - Remove insertItemAt and removeItemAt methods from XUL widgets. r=enn
MozReview-Commit-ID: BaChYp8bBbI
2018-04-24 21:42:26 +02:00
Dorel Luca
eb41b7b796 Merge mozilla-central to mozilla-inbound 2018-05-03 13:03:06 +03:00
Andrea Marchesini
4eeed45b93 Bug 1457180 - gPrivacyPane.readKeepCookiesUntil() must support only nsICookieService.ACCEPT_SESSION and nsICookieService.ACCEPT_NORMALLY values, r=gijs 2018-05-03 08:25:30 +02:00
Paolo Amadini
00fa642c1d Bug 1457720 - Force the left-to-right direction when displaying a custom download path. r=gandalf
MozReview-Commit-ID: B7hYMi96Zyg

--HG--
extra : rebase_source : f2f262b4a30c67652db1649835ddaba4d47561a7
2018-05-01 17:12:31 +01:00
Michael Kohler
f6e81b4de6 Bug 1454388 - Re-add hidden="true" in Site Data to fix about_preferences_basic talos regression r=johannh 2018-05-02 09:48:55 +02:00
Zibi Braniecki
1f009d7dff Bug 1457252 - Ensure l10n and initialization are done before sizing the subdialog. r=Gijs
MozReview-Commit-ID: 8YMpRuzz04A

--HG--
extra : rebase_source : 1fea4647d8aaa28e100acac18ef473679b134672
2018-04-30 16:58:22 -07:00
Gijs Kruitbosch
ddcab64ba4 Bug 1458794 - swap system/auto proxy config labels and access keys (oops), r=gandalf
MozReview-Commit-ID: E1DGF7jFpGn

--HG--
extra : rebase_source : ac8fa84d0038b0686d26c39aeb416f741dd3e151
2018-05-03 17:11:05 +02:00
Kris Maglione
bf4d9f1be5 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

--HG--
extra : rebase_source : 5fff3d9973a0ea976096339a63ce9ff628b68441
2018-04-23 12:58:34 -07:00
Kris Maglione
a259026c9d 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

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Zibi Braniecki
7ab0501b68 Bug 1438375 - Refactor "extensionControlled" Preferences code to use Fluent. r=flod,Gijs
MozReview-Commit-ID: 9XJxyuMUCHV

--HG--
extra : rebase_source : 8915fee83b8f84310d8e641c4ea9c87c81435606
2018-04-17 15:31:50 -07:00
Ryan VanderMeulen
dd9e28b9cc Merge m-c to autoland. a=merge on a CLOSED TREE
--HG--
extra : amend_source : 273d04bb1e8ee4b8c0bc59e3ce926e64bcc4aa9a
2018-04-26 08:48:42 -04:00
Ryan VanderMeulen
dd8d13d4b6 Fix the broken backout of bug 1438375 to reopen the CLOSED TREE.
--HG--
extra : amend_source : 1fa43b15c46f36d99ffc17e750d25d6c937486ee
2018-04-26 08:38:45 -04:00
Bogdan Tara
b802be6941 Backed out changeset fb836a045f20 (bug 1438375) for browser chrome failres at browser/components/preferences/in-content/tests/browser_extension_controlled.js : fixed line ending a=backout CLOSED TREE
--HG--
extra : amend_source : c7bba71ed697f8ffcc7b4a6c6f19d3e92577965c
2018-04-26 11:39:42 +03:00
Andreea Pavel
d539978c47 Backed out changeset fb836a045f20 (bug 1438375) for browser chrome failures at browser/components/preferences/in-content/tests/browser_extension_controlled.js a=backout
--HG--
extra : source : 8801ee790cc2ae7bbb39613515365ca24f30abaa
2018-04-26 10:45:11 +03:00
Andreea Pavel
a21531022b Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Shane Caraveo
1e0138caf3 Bug 1455755 Move browserSettings.proxyConfig to proxy.settings, r=aswan, mstrimer
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-25 18:50:22 -05:00
Ciure Andrei
55be309816 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-26 12:19:43 +03:00
Andreea Pavel
524f263777 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
Andreea Pavel
5df2666ad7 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-26 09:06:52 +03:00
Ed Lee
17be320585 Bug 1454344 - Setting New tabs to |Blank Page| does not become effective until the 2nd new tab. r=k88hudson
MozReview-Commit-ID: GNbMgaLpB9n

--HG--
extra : rebase_source : f5177816f7ae30c5d997b32ec8a93533ac943906
2018-04-24 16:29:02 -07:00
Zibi Braniecki
0c9f420314 Bug 1438375 - Refactor "extensionControlled" Preferences code to use Fluent. r=flod,Gijs
MozReview-Commit-ID: 9XJxyuMUCHV

--HG--
extra : rebase_source : 52cf0be82075f7bf12c3aec19df8fc46804ba12a
2018-04-17 15:31:50 -07:00
Gijs Kruitbosch
6dedae63fc Bug 1455686 - fix tracking protection SUMO link, r=gandalf
MozReview-Commit-ID: VKROlxlu37

--HG--
extra : rebase_source : 37759f9585d66bd105ab6e06077b19f0817d797b
2018-04-23 10:35:37 +01:00
k88hudson
f37daeac63 Bug 1448971 - Replace "when Firefox starts" section in about:preferences#general with checkbox r=flod,jaws
MozReview-Commit-ID: JHL20S5gZq2

--HG--
extra : rebase_source : 7b6462b85cf44f69ac978115656b724a59a935a6
2018-04-04 12:28:22 -04:00
Johann Hofmann
a81ea81cd0 Bug 1446368 - Remove the XUL tree from siteDataRemoveSelected. r=Paolo
MozReview-Commit-ID: 3mPP8fhxowE

--HG--
extra : rebase_source : 9143c676bbc7dd84dd9213fdc255f2f0f26aea4f
2018-04-06 12:59:03 +02:00
Zibi Braniecki
58fec78749 Bug 1455681 - searchResults.xul support link must be a proper HTML tag. r=Gijs
MozReview-Commit-ID: IcRU11kd27X

--HG--
extra : rebase_source : f11064662dd231e4c480ae15482838c1f7495ed7
2018-04-20 14:05:31 -07:00
Paolo Amadini
3ee3699485 Bug 1452624 - Part 1 - Replace the "filefield" binding with a regular textbox. r=jaws
MozReview-Commit-ID: jTKvyiRNdw

--HG--
extra : rebase_source : 6223e3b7d08bf85b12a2a8e0f87ee68dce7d1de8
2018-04-17 14:26:00 +01:00
Kris Maglione
877eae8863 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc

--HG--
extra : rebase_source : d4c2f80bdf02ec4a07e3713a9ae1823145d25942
2018-04-14 19:38:18 -07:00
Andreea Pavel
5743b5b700 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 12:31:28 +03:00
Jens Hausdorf
625ad24737 Bug 1442442 - Add target=_blank to the releasenotes link so clicking on it will open in a new tab. r=jaws
MozReview-Commit-ID: CG5ZzzY4b6B

--HG--
extra : amend_source : 41f28f751b37adfa797eed03ae0a5ebb13b31139
2018-04-12 14:04:04 +02:00
Johann Hofmann
a2ae3f4c19 Bug 1442542 - Make checkboxes in the clear site data dialog use a label attribute. r=dao,flod
MozReview-Commit-ID: 9yj90NirV9y

--HG--
extra : rebase_source : 56e63dd90852ff9ee95c828a51d04e2fa88820c0
2018-04-17 16:30:27 +02:00
Cosmin Sabou
4595d43d3a Merge inbound to mozilla-central. a=merge
--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
2018-04-20 01:29:10 +03:00
Jan Henning
404003707f Bug 1415342 - Part 1 - Move OfflineAppCacheHelper to Toolkit. r=standard8
The OfflineAppCacheHelper was apparently introduced after the Sanitizer had been
forked for Fennec and so far nobody bothered to use it there as well.

MozReview-Commit-ID: 42Uk5hfvf9y

--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
extra : rebase_source : 77e542dbbdfea62b918b89b4c0799be7e3f89ef9
2018-04-12 19:16:02 +02:00
Zibi Braniecki
5ecc1326e2 Bug 1454323 - Set the default key in <key> to avoid it capturing all command keys. r=jaws
MozReview-Commit-ID: 3oD7iaTEbZg

--HG--
extra : rebase_source : b14968313b319676ca68180164cf71a4b057a6b8
2018-04-17 12:50:48 -07:00
Zibi Braniecki
8db8e3157e Bug 1453898 - Change the l10n id used in browser_fluent mochitest. r=Pike
MozReview-Commit-ID: JmyH7XKSWvl

--HG--
extra : rebase_source : c892e2d4b13ca11345c4353113014415b5b619b4
2018-04-17 11:04:56 -07:00
Noemi Erli
6b88e0ee99 Backed out 4 changesets (bug 1415342) for bc failures in browser/components/preferences/in-content/tests/siteData/browser_clearSiteData.js on a CLOSED TREE
Backed out changeset 36ff321fc1b8 (bug 1415342)
Backed out changeset d7e30b8499cd (bug 1415342)
Backed out changeset 4913f1571ece (bug 1415342)
Backed out changeset 25d665693e38 (bug 1415342)

--HG--
rename : toolkit/modules/offlineAppCache.jsm => browser/modules/offlineAppCache.jsm
2018-04-19 10:37:30 +03:00
Jan Henning
14468b6342 Bug 1415342 - Part 1 - Move OfflineAppCacheHelper to Toolkit. r=standard8
The OfflineAppCacheHelper was apparently introduced after the Sanitizer had been
forked for Fennec and so far nobody bothered to use it there as well.

MozReview-Commit-ID: 42Uk5hfvf9y

--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
extra : rebase_source : b7010f732ca13583fd2b2c62102b4ea1c13a4cc6
2018-04-12 19:16:02 +02:00
Zibi Braniecki
d177238158 Bug 1453540 - Migrate the remaining DTD entries to FTL. r=flod,Gijs
MozReview-Commit-ID: Aw0a14zPRWk

--HG--
extra : rebase_source : 44548d957d0ee5b50887648188ff206514011f41
2018-04-17 13:17:22 -07:00
Matthew Noorenberghe
6037c8df23 Bug 1455151 - Support subdialog sizing of HTML documents from a stylesheet and use it for autofill edit dialogs. r=jaws
MozReview-Commit-ID: GeHPhFTnCIz

--HG--
extra : rebase_source : 04424be53d5ed1dbc222194c5a39c77a65f3b37b
2018-04-18 16:12:15 -07:00
Michael Kohler
6abf9e3859 Bug 1453589 - Select next item in list when removing items in Site Data Manager. r=johannh
Select next item in list when removing items in Site Data Manager. When there
are multiple selected sites, it will select the next item after the last
previously selected item.

Differential Revision: https://phabricator.services.mozilla.com/D965
2018-04-19 13:36:11 -04:00
Margareta Eliza Balazs
db7e939b59 Backed out changeset 525f1fb9501e (bug 1453589) for ES lint failure in /builds/worker/checkouts/gecko/browser/components/preferences/in-content/tests/siteData/head.js on a CLOSED TREE 2018-04-19 16:57:30 +03:00
Michael Kohler
0b7144da8b Bug 1453589 - Select next item in list when removing items in Site Data Manager. r=johannh
Select next item in list when removing items in Site Data Manager. When there
are multiple selected sites, it will select the next item after the last
previously selected item.

Differential Revision: https://phabricator.services.mozilla.com/D965
2018-04-19 09:35:31 -04:00
Zibi Braniecki
d0d244a954 Bug 1453800 - Move the container removal dialog strings to preferences.ftl. r=flod
MozReview-Commit-ID: JAAfviRvbJb

--HG--
extra : rebase_source : b47ca189151543abebec60b2550a2e18277deb9b
2018-04-12 14:17:28 -07:00
Johann Hofmann
30ddd62640 Bug 1442887 - Align the #clearDataSettings button in about:preferences to the very right. r=jaws
MozReview-Commit-ID: ketCjIIUl0

--HG--
extra : rebase_source : 4b9a9cae9a34421cab93ef4631e772e9e2ca4b8f
2018-04-13 11:34:38 +02:00
k88hudson
fa47b25807 Bug 1453761 - Adjust font sizes, spacing, and font weights on about:preferences#home r=Mardak
MozReview-Commit-ID: 1rDTo5X6986

--HG--
extra : rebase_source : e7fb5698e793d45e0a5d50ef2c42c85ce3a79afb
2018-04-12 15:17:46 -04:00
Zibi Braniecki
3cdc3d9fef Bug 1453480 - Update Preferences to use fluent-dom 0.2.0 API. r=stas
MozReview-Commit-ID: 4CFnjf9VFLz

--HG--
extra : source : a3c36fa7ac0c831c4412652ba1a6a8d57497c63d
2018-04-12 22:45:02 -07:00
Zibi Braniecki
2dc52ab911 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd

--HG--
extra : source : 46a634d6853c680bbee9d2be12bab971058ba281
2018-04-11 16:09:31 -07:00
Andreea Pavel
163a295ff8 Backed out changeset 70343258ed74 (bug 1442887) for failing browser chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE 2018-04-13 20:29:42 +03:00
Coroiu Cristina
7e1be34a07 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
Coroiu Cristina
9e4b9fb732 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-04-13 19:07:42 +03:00
arthur.iakab
fca4426325 Merge inbound to mozilla-central. a=merge 2018-04-13 19:01:59 +03:00
Zibi Braniecki
63843cac78 Bug 1453480 - Update Preferences to use fluent-dom 0.2.0 API. r=stas
MozReview-Commit-ID: 4CFnjf9VFLz

--HG--
extra : rebase_source : c230a43cb4b521e9f5584e1e72c025d9c2f90040
2018-04-12 22:45:02 -07:00
arthur.iakab
ac8dce248c Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-13 12:58:18 +03:00
Coroiu Cristina
5061cec60a 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
fbc7e77db2 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd

--HG--
extra : rebase_source : 1ceb33dde40fa15a2405b39addf835c70177cfc6
2018-04-11 16:09:31 -07:00
Johann Hofmann
75e051ce29 Bug 1442887 - Align the #clearDataSettings button in about:preferences to the very right. r=jaws
MozReview-Commit-ID: ketCjIIUl0

--HG--
extra : rebase_source : 03dfc53be65a31eb71b8df8d47f7c606f36ffa02
2018-04-13 11:34:38 +02:00
Zibi Braniecki
cc0beb7960 Bug 1453878 - Follow-up to fluent-dom to 0.2.0 landing. r=gandalf
MozReview-Commit-ID: D5jgJWzrDlX

--HG--
extra : rebase_source : 316dd7c060ddc0c023f601f8bb8ab91640c19c4e
2018-04-12 22:20:05 -07:00
Zibi Braniecki
fc0ea828d6 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd

--HG--
extra : rebase_source : 41600ee7277cbe0559cf8c96b18a0f286d06e7f8
2018-04-11 16:09:31 -07:00
Kirk Steuber
584905a52f Bug 1451024 - Cookie settings should be disabled when the related prefs are locked r=jaws
Also adds too the cookie tests to ensure this takes effect.

MozReview-Commit-ID: A85kv20BcnI

--HG--
extra : rebase_source : bd724ac1fb358d6ed1d4bfbe0d903f33619da647
2018-04-10 15:05:42 -07:00
Michael Kohler
4c381de5f6 Bug 1428306 - Remove browser.storageManager.enabled pref r=baku,johannh
MozReview-Commit-ID: GodyYuGxVD

--HG--
extra : rebase_source : 0ba78e764ea2c77ecaafcd35a502940ea1a37ac2
2018-04-09 20:46:45 +02:00
Michael Kohler
504fd0cf2e Bug 1451864 - Rename 'Remember logins and passwords for websites' to 'Ask to save logins and passwords for website' r=jaws,flod
Summary: Rename 'Remember logins and passwords for websites' to 'Ask to save logins and passwords for website'

Reviewers: jaws, flod

Reviewed By: jaws, flod

Subscribers: Pike, flod

Bug #: 1451864

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

--HG--
extra : rebase_source : 7318a9bcbc8f1b511cc2e86636d6316b215feee9
extra : amend_source : cca9ef041295261bfea303b2e77ec35c89d93382
2018-04-13 11:59:12 +03:00
Margareta Eliza Balazs
8ca418adb9 Merge inbound to mozilla-central. a=merge 2018-04-12 12:38:56 +03:00
Boris Zbarsky
b43b5abed4 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
Zibi Braniecki
d06d126e5d Bug 1451992 - Migrate Preferences::Subdialogs::Translation to Fluent. r=gijs,stas
MozReview-Commit-ID: JfBdle6i5wL

--HG--
extra : amend_source : 79e96b14339550e5dd6cbe72f98efa7be28326c0
2018-04-05 22:55:44 +02:00
Zibi Braniecki
6b595c6539 Bug 1451992 - Migrate Preferences::Subdialogs::SiteData to Fluent. r=jaws,flod
MozReview-Commit-ID: KzEP0iCfzGf

--HG--
extra : amend_source : 15bca3b8ca44950e1284427726e037a22fbfc7e5
2018-04-05 22:37:59 +02:00
Zibi Braniecki
2021285e2a Bug 1451992 - Migrate Preferences::Subdialogs::SelectBookmark to Fluent. r=gijs,flod
MozReview-Commit-ID: BR74Gq4ULUD

--HG--
extra : amend_source : 29b46dd465a0d4ecb1a2f8ae367df1b267fe9a4e
2018-04-05 22:16:34 +02:00
Zibi Braniecki
e6a8910e64 Bug 1451992 - Migrate Preferences::Subdialogs::Permissions to Fluent. r=gijs,gandalf
MozReview-Commit-ID: 12JINAX1Ttd
2018-04-05 22:09:13 +02:00
Zibi Braniecki
5f8d6040ce Bug 1451992 - Migrate Preferences::Subdialogs::Languages to Fluent. r=gijs,flod
MozReview-Commit-ID: 96C1P3ZbJeH

--HG--
extra : amend_source : fbc969a6a5862f461bb4612c02030a0d50d8dab9
2018-04-05 21:43:11 +02:00
Zibi Braniecki
1f13efaede Bug 1451992 - Migrate Preferences::Subdialogs::Fonts to Fluent. r=jaws,stas
MozReview-Commit-ID: LwNCJJIVobl

--HG--
extra : amend_source : 146982d0b918463c3bd6eea7f9a18a8f2e9be3e2
2018-04-05 21:28:32 +02:00
Zibi Braniecki
ec51e6c910 Bug 1451992 - Migrate Preferences::Subdialogs::Connection to Fluent. r=gijs,gandalf
MozReview-Commit-ID: 6N4dE8V37l
2018-04-05 14:14:51 +02:00
Zibi Braniecki
bf66c39e72 Bug 1451992 - Migrate Preferences::Subdialogs::Colors to Fluent. r=gijs,gandalf
MozReview-Commit-ID: KlA7gS9D2W5
2018-04-05 03:17:01 +02:00
Zibi Braniecki
276dbeb028 Bug 1451992 - Migrate Preferences::Subdialogs::ClearSiteData to Fluent. r=jaws,flod
MozReview-Commit-ID: 4geJkI3OACq

--HG--
extra : amend_source : 9b31ed04f736fc03517245af0ad60c7c2f845787
2018-04-05 02:39:59 +02:00
Zibi Braniecki
529d7466ef Bug 1451992 - Migrate Preferences::Subdialogs::Blocklists to Fluent. r=gijs,flod
MozReview-Commit-ID: IXacqfUnZ2q

--HG--
extra : amend_source : dfa7ab6d368a5b5564c48a2013ad40d7869fc607
2018-04-03 04:29:25 +02:00
Zibi Braniecki
b423327766 Bug 1451992 - Migrate Preferences::Subdialogs::ApplicationManager to Fluent. r=jaws,flod
MozReview-Commit-ID: JZmQtwimYsO

--HG--
extra : amend_source : 07b544b7009b7e0237a51872c42531a6a891e775
2018-03-27 01:52:09 +02:00
Zibi Braniecki
c59039715d Bug 1451992 - Spawn errors when encountering missing/empty search l10n ids. r=jaws
MozReview-Commit-ID: 7WbtaNqO1Dg

--HG--
extra : amend_source : c24f8fc6fd1d8fa76853c097e803a22784f7c621
2018-04-05 15:41:12 +02:00
Johann Hofmann
470c2e1592 Bug 1442183 - Allow multiple selection in the site data manager list. r=prathiksha
MozReview-Commit-ID: D1u3963xC6C

--HG--
extra : rebase_source : e6e04f7295c7fc354b1c4049d37f943354d6476c
2018-04-11 08:59:49 +02:00
Zibi Braniecki
7b147808f6 Bug 1453486 - Include containers.ftl in main preferences.xul to fix the containers removal dialog. r=Gijs
MozReview-Commit-ID: 6nUCRhBWJmF

--HG--
extra : rebase_source : dbf597f3ab7873da45f759858ac7763d332fbcc8
2018-04-11 15:43:17 -07:00
Zibi Braniecki
c7449672f7 Bug 1453486 - Fix Fluent API use when building a dialog to disable containers. r=Gijs
MozReview-Commit-ID: Kfs13ugmvNr

--HG--
extra : rebase_source : f0daa3e6c26b90bec2d9f46b0d5c1b09332d462c
2018-04-11 15:41:30 -07:00
Zibi Braniecki
49584c270e Bug 1453763 - Fix two searchkeys that slipped through when refactoring subdialogs to use Fluent. r=jaws
MozReview-Commit-ID: C9FUqzr9uWR

--HG--
extra : rebase_source : e3cdd3f25b7b29506dfedee96b7321e7168c70e8
2018-04-12 12:21:00 -07:00
Brian Grinstead
45298e6b37 Bug 1420990 - Build the DOM for container items directly in containers.js instead of with XBL;r=jaws
MozReview-Commit-ID: Cmu4PYW2Zro

--HG--
extra : rebase_source : d97d6abc594696b6738cab8b4b19e3bf2e6e3e15
2018-04-02 10:19:01 -07:00
Zibi Braniecki
1312e353df Bug 1449505 - Migrate Preferences languages.js to use mozIntl.getLocaleDisplayNames. r=jaws
MozReview-Commit-ID: BBFJXlxRAOy

--HG--
extra : rebase_source : a0215933200ca5ef3c3a05ecffec2f3445f41c57
2018-04-01 15:08:08 +02:00
Zibi Braniecki
b5a3eb8225 Bug 1449505 - Migrate Preferences translation.js to use mozIntl.getLocaleDisplayNames. r=jaws
MozReview-Commit-ID: 3qjW0iQ9poi

--HG--
extra : rebase_source : 126a967b3c7d6d999b18b6786d35acd00642c0cc
2018-04-01 14:51:31 +02:00
Andreea Pavel
fdfd625082 Backed out 9 changesets (bug 1449505) for failing xpcshell at browser/extensions/formautofill/test/unit/test_addressRecords.js on a CLOSED TREE
Backed out changeset e96c92f80c09 (bug 1449505)
Backed out changeset 760e4d29af7e (bug 1449505)
Backed out changeset e82c5152cc17 (bug 1449505)
Backed out changeset 07143ec143ae (bug 1449505)
Backed out changeset 75a7dee8e060 (bug 1449505)
Backed out changeset a58126ed4b3f (bug 1449505)
Backed out changeset f0b4429eedff (bug 1449505)
Backed out changeset 4bf3befa991d (bug 1449505)
Backed out changeset 398d8addfbd8 (bug 1449505)
2018-04-11 10:07:42 +03:00
Zibi Braniecki
bae2bcfec7 Bug 1449505 - Migrate Preferences languages.js to use mozIntl.getLocaleDisplayNames. r=jaws
MozReview-Commit-ID: BBFJXlxRAOy

--HG--
extra : rebase_source : ac9996bb6df67044fc4ba172887fbdc0874f0edc
2018-04-01 15:08:08 +02:00
Zibi Braniecki
9c1cb5c6f0 Bug 1449505 - Migrate Preferences translation.js to use mozIntl.getLocaleDisplayNames. r=jaws
MozReview-Commit-ID: 3qjW0iQ9poi

--HG--
extra : rebase_source : 524ee231e073e8c08a3eee6bb5ff21ed5d4ec6fa
2018-04-01 14:51:31 +02:00
Tim Nguyen
1d19015df5 Bug 1437302 - Fix width of textbox[type=number] consumers. r=Paolo, Neil Deakin
--HG--
rename : toolkit/themes/linux/global/numberbox.css => toolkit/themes/shared/numberbox.inc.css
extra : amend_source : d9161dc8d21b958488b7304849a5e8c164f660bb
2018-03-26 14:34:39 +02:00
Jonathan Kingston
ff73ac0338 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja

--HG--
extra : rebase_source : 29d337e111d82e9c5729b5a59e1a16d06e67774c
2018-02-21 14:28:48 +00: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
Johann Hofmann
cba474bd45 Bug 1348223 - Part 5 - Remove the old cookie manager. r=florian
cookies.xul is unused and mostly unmaintained and should be removed.

Equivalent functionality in a well-maintained interface can be found
in the storage manager or the devtools storage inspector.

MozReview-Commit-ID: ILSt83hwN34

--HG--
extra : rebase_source : 9aaec03b54128ef3ece1e96e46269457feb43546
2018-03-22 12:53:38 +01:00
Johann Hofmann
e8482a9496 Bug 1348223 - Part 2 - Move SiteDataManager.jsm to components and improve functionality for getting and removing by host. r=florian
This commit is in preparation of using SiteDataManager in the page info
window to display site data information for a individual hosts.

MozReview-Commit-ID: 3YmUZInvoAT

--HG--
rename : browser/components/preferences/SiteDataManager.jsm => browser/modules/SiteDataManager.jsm
extra : rebase_source : 2d48740a023f63a2ec7af06f4510ab9cbb91fc66
2018-03-22 17:48:13 +01:00
Johann Hofmann
f34fe08cbd Bug 1348223 - Part 1 - Add SiteDataTestUtils.jsm. r=mak
This commit adds a helper module for doing common tasks
related to site data, such as adding dummy data and getting usage.

There are many places that would potentially need to be cleaned
up to use this module instead, but I consider that work (and the
likely try failure fallout) out of scope for this bug.

MozReview-Commit-ID: 5eMDgHhClsO

--HG--
extra : rebase_source : e515a1a12f6a665f6a4b96deec73790540755189
2018-03-22 17:08:20 +01:00
Coroiu Cristina
f6f7945bf5 Backed out changeset 5c12cad13a37 (bug 1451006) on request of jaws 2018-04-05 21:49:08 +03:00
Jared Wein
13cee40668 Bug 1451368 - Align the caption text of the New Tabs and Windows section to match the Restore Defaults button. r=k88hudson
MozReview-Commit-ID: 84R68D21V1

--HG--
extra : rebase_source : d8fa0b4622d9f09221feba9635884c67f904aaec
2018-04-04 11:31:07 -04:00
k88hudson
4dbf4d4d51 Bug 1451006 - Send correct category for about:preferences#home telemetry r=jaws
MozReview-Commit-ID: 4B9RqNhyjUo

--HG--
extra : rebase_source : f45de806cf24b6a10fbfbae1cab0ad46a1799ac2
2018-04-03 16:42:02 -04:00
Dão Gottwald
bf9d434a13 Bug 1450559 - Remove nsISessionStore in favor of SessionStore.jsm. r=mikedeboer
MozReview-Commit-ID: 8spvIOus9ai

--HG--
rename : browser/components/sessionstore/nsSessionStore.manifest => browser/components/sessionstore/nsSessionStartup.manifest
extra : rebase_source : fc353af87bd620b7039d3e6241cc60c3788e3da6
2018-04-05 16:30:48 +02:00
Zibi Braniecki
6f8e301e0c Bug 1451685 - Pass element as the first argument to DOMLocalization.setAttributes in updateWeavePrefs. r=Gijs
MozReview-Commit-ID: 9okSh01qykH

--HG--
extra : rebase_source : 88e3632f6c3c1da33e26c60a82b8642ce6c90942
2018-04-05 12:56:00 +02:00
Ricky Rosario
607fa06f85 Bug 1447972 - Missing full stop period in home page preferences r=gandalf
MozReview-Commit-ID: GT4JLxPjXbo

--HG--
extra : rebase_source : 18d3114ca0035000099f4192cc8585cc59587cea
2018-04-03 15:27:48 -04:00
Zibi Braniecki
c87312a040 Bug 1445694 - Migrate the "Sync" section of Preferences to the new Localization API. r=flod,markh,stas
MozReview-Commit-ID: EeLV9dJ5cc5

--HG--
extra : rebase_source : 47aeef38b554d4bb42a678bf196d8873baae34c2
2018-03-14 12:21:14 -07: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
Jared Wein
14b0933f4c Bug 1449658 - Elements that are already showing don't need their bindings force-applied since they're already applied. This removes the flicker when backspacing in the preference searchbox. r=Gijs
MozReview-Commit-ID: 5MxhMLAHJlJ

--HG--
extra : rebase_source : de9cb78be7baef7460215c83dc539a4854f30933
2018-03-28 10:41:02 -07:00
Brian Grinstead
d11b2c9f16 Bug 1448215 - Remove unused offlineapp binding;r=jaws
MozReview-Commit-ID: C4SXWvV4WHJ

--HG--
extra : rebase_source : 01aa83b14b9b54f0ae8c2e89b496366ccfffd2f4
2018-04-02 09:12:28 -07:00
Zibi Braniecki
0b78e57817 Bug 1446180 - Migrate the "Privacy" section of Preferences to the new Localization API. r=flod,jaws
MozReview-Commit-ID: 2Hp6ZNry6dK

--HG--
extra : rebase_source : 6955908cc444fa47e9efad7c97cefb6fcff17b25
2018-03-15 14:57:55 -07:00
Zibi Braniecki
6985844d11 Bug 1448853 - Remove preferencesCloseButton and preferencesDefaultTitle from toolkits preferences.dtd. r=jaws
MozReview-Commit-ID: EwaRXBIbV60

--HG--
extra : rebase_source : 6786defa11c770cacde6de36df634170e209aec5
2018-03-26 15:16:42 +02:00
accakks
bc58be9238 Bug 1437880 -Disable "Remove Selected" button in the site data manager dialog if a website is deselected. r=prathiksha
MozReview-Commit-ID: 7YhXjg84QSx

--HG--
extra : rebase_source : 1d73d47dea437914cc9447a5d15916287308186c
2018-03-23 20:04:34 +05:30
Kirk Steuber
4f68045c04 Bug 1428948 - Add policies to modify the available search engines r=Felipe,florian
This adds a policy with the capability of adding search engines, choosing the default search engine, and blocking the installation of new search engines.

Additionally, fixes the messages for errors reported by MainProcessSingleton.addSearchEngine so that the offending URL is printed rather than "[xpconnect wrapped nsIURI]".

MozReview-Commit-ID: HuLT15Rnq0r

--HG--
rename : browser/components/search/test/testEngine.xml => browser/components/enterprisepolicies/tests/browser/opensearchEngine.xml
extra : rebase_source : 7815f5d03395decc39ee2657ba05c071dd332abb
2018-03-02 12:11:16 -08:00
Johann Hofmann
4479d43e53 Bug 1439332 - todo assertions for "no site data" in site data cookies tests for now. r=jaws
MozReview-Commit-ID: LOy30KvMBg2

--HG--
extra : rebase_source : 34b6fa670d2887b1d8dc05eb2d30a1dbf5862cfe
2018-03-22 18:45:04 +01:00
Zibi Braniecki
b9502eb21f Bug 1447667 - Use a different element in preferences search test. r=jaws
MozReview-Commit-ID: 94HVZ9zLhH5

--HG--
extra : rebase_source : 12bd42796483edd32ab6b45c27f709fcb3df21dd
2018-03-21 11:12:31 -07:00
Zibi Braniecki
735a746866 Bug 1419547 - Migrate the "Containers" section of Preferences to the new Localization API. r=flod,Gijs
MozReview-Commit-ID: IA3GFardEHs

--HG--
extra : rebase_source : e052f13c44e58d9b1cb90c7bcc5e9bd795bfd43d
extra : intermediate-source : 48060f354ac1b9be5a1b6a24668c35c33d8faa86
extra : source : 606cc17a4e1110223f4e81ee2a84e8e4b7cfc1fe
2018-03-12 18:08:24 -07:00
Thom Chiovoloni
1d144a4db8 Bug 1444162 - Replace 'Cancel Setup' string with 'Remove Account' r=eoger
MozReview-Commit-ID: A99nssZ1Dpz

--HG--
extra : rebase_source : 6f4619cd7a0a7f2854ea87f9d802f451e094a69a
2018-03-19 10:38:59 -07:00
Zibi Braniecki
e470fe67ab Bug 1420761 - Handle new localization API in Preferences Search. r=jaws
MozReview-Commit-ID: 8J1siQtFn1t

--HG--
extra : rebase_source : 98f647b6e677d8e0d83b23ad7354599f62fc745f
2018-03-19 21:17:45 -07:00
Jared Wein
4e468899d5 Bug 1446657 - Refactor preferences search code to remove flickering and scrollbar appearing/disappearing. r=sfoster
MozReview-Commit-ID: 2o4ySs88DQB

--HG--
extra : rebase_source : 3fc822c4260b805db08d9812461d1ff470c9b16d
2018-03-19 17:11:18 -04:00
Ed Lee
28bf7b2e86 Bug 1446053 - Add about:preferences section, sidebar removal and bug fixes to Activity Stream. r=ursula
Also adds new crh locale and in-content prefs test fix.

MozReview-Commit-ID: DFs0s710wZ4

--HG--
extra : rebase_source : 7edf0d5401cdb8da9559d98fe7837d6f23889c85
2018-03-15 10:38:18 -07:00
k88hudson
daa0fe797a Bug 1417155 - Add new Home/New Tab page section to about:prefs#home r=flod,gandalf,jaws
MozReview-Commit-ID: 4ip7irrfLbR

--HG--
extra : rebase_source : 3a4e672a1d5a3475e76ddd008b5b44a51a3ce746
2018-03-08 10:54:53 -05: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
Kirk Steuber
91cf8a96aa Bug 1447051 - about:preferences should not offer to Preview PDFs when the DisableBuiltinPDFViewer policy is active r=bdahl,Felipe
MozReview-Commit-ID: B2R6SUbAyXP

--HG--
extra : rebase_source : 765c4db811ccd8be1a3eee665e2beac74388d766
2018-03-19 11:35:39 -07:00
arthur.iakab
877c99c523 Merging mozilla-inbound to mozilla central a=merge 2018-03-19 12:43:31 +02:00
Felipe Gomes
1fb3ac97b7 Bug 1429177 - Policy: Set network proxy settings. r=mixedpuppy 2018-03-19 02:15:50 -03:00
Tooru Fujisawa
1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Tooru Fujisawa
d6dc027000 Bug 1442465 - Part 4.1: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (non-simple part). r=dao 2018-03-19 11:12:14 +09:00
accakks
60e256eabe Bug 1444853 - Setting permissionsText in the site permissions dialog can be simplified r=prathiksha
MozReview-Commit-ID: 1pZiOJfNMfV

--HG--
extra : rebase_source : 92688a25b6216652de8888481cfd15b26fcbc012
2018-03-14 20:27:15 +05:30
Bogdan Tara
4785e99532 Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +02:00
Dorel Luca
74121beaa0 Backed out changeset 6663b286d68c (bug 1429177) for Mochitest leaks on ProxyAutoConfig 2018-03-17 07:41:47 +02:00
Felipe Gomes
2cab788f6f Bug 1429177 - Policy: Set network proxy settings. r=mixedpuppy 2018-03-16 21:02:22 -03:00
Kris Maglione
313b707b2e Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc

--HG--
extra : rebase_source : 765ddd5c62c9449c07ed050e44d86a3bd5c0ae64
extra : amend_source : 627a7694ac07182200f876901ded7a34721cd228
2018-03-07 19:31:28 -08:00
Gurzau Raul
7ff67ddf24 Merge autoland to mozilla-central. a=merge 2018-03-16 19:49:44 +02:00
Sebastian Hengst
cc3e04044c Backed out changeset b0af4c10b8bb (bug 1446053) for frequently causing forbidden connections e.g. during browser-chrome's browser_privacypane_3.js. a=backout 2018-03-16 19:40:00 +02:00
Csoregi Natalia
e5572f6407 Backout commit 32f45689f033 (bug 1445084) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186) a=backout 2018-03-16 14:51:38 +02:00
Zibi Braniecki
4a7d971409 Bug 1415733 - Migrate the "Search" section of Preferences to the new Localization API. r=flod,Gijs a=reland
MozReview-Commit-ID: ltXNOkdnOV

--HG--
extra : source : 647154f3033288e3cc3552f86d92eb1ad5f8f742
2018-03-12 17:17:13 -07:00
Csoregi Natalia
4cc6d868c9 Backed out changeset 647154f30332 (bug 1415733) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186). a=backout 2018-03-16 14:09:23 +02:00
Zibi Braniecki
4629cdb598 Bug 1445084 - Migrate search results pane of Preferences to Fluent. r=flod,Gijs
MozReview-Commit-ID: BNeocrSY5Fa

--HG--
extra : rebase_source : 16ffb5e756567591471ce18a98eaee9315be6c89
2018-03-12 16:27:32 -07:00
Ed Lee
a7b9df596f Bug 1446053 - Add about:preferences section, sidebar removal and bug fixes to Activity Stream. r=ursula
Also adds new crh locale and in-content prefs test fix.

MozReview-Commit-ID: DFs0s710wZ4

--HG--
extra : rebase_source : fc74ec586b85c3b8a34d61027b98c0a2ff7a1291
2018-03-15 10:38:18 -07:00
Zibi Braniecki
07171ff48a Bug 1415733 - Migrate the "Search" section of Preferences to the new Localization API. r=flod,Gijs
MozReview-Commit-ID: ltXNOkdnOV

--HG--
extra : rebase_source : b75176b4e526ace545d1483606aa21dd8af76b58
2018-03-12 17:17:13 -07:00
Zibi Braniecki
45c410eacb Bug 1445084 - Migrate search results pane of Preferences to Fluent. r=flod,Gijs
MozReview-Commit-ID: BNeocrSY5Fa

--HG--
extra : rebase_source : 237685e47ea88376561b58434fac474fd963e475
2018-03-12 16:27:32 -07:00
Punam
f8b4d1509d Bug 1444521 - Preferences UI save to cloud downloads event listener r=jaws
MozReview-Commit-ID: LbKr1rpXn4q

--HG--
extra : rebase_source : 73238f537092a682b82b1711f14c53ad3b09df26
2018-03-13 17:54:18 -07:00
Brendan Dahl
8a6f97c45c Bug 1442302 - Remove placesOverlay.xul. r=Gijs,mak,standard8
The overlay was responsible for script loading and defining three elements
(bhTooltip, placesCommands, placesContext). In the majority of places where
the overlay was included only part of it was used. To remove the overlay, the
elements were each split into include files and moved into where they
were used. For the scripts, a JS file was added that defines all the lazy
modules and then this script, globalOverlay.js and utilityOverlay.js were
inlined to everywhere that would have included them from the overlay.

MozReview-Commit-ID: 8T5D46oYWLn

--HG--
rename : browser/components/places/content/placesOverlay.xul => browser/components/places/content/placesCommands.inc.xul
rename : browser/components/places/content/placesOverlay.xul => browser/components/places/content/placesContextMenu.inc.xul
extra : rebase_source : c1071af4ea264a95183cbc65caae98feb23d58e5
2018-03-12 10:43:35 -07:00
Johann Hofmann
7264beb9af Bug 1445188 - Move site data tests into their own subdirectory. r=jaws
This commit is mostly about moving files but also contains a few test cleanups.

MozReview-Commit-ID: AkDhFxlGdCT

--HG--
rename : browser/components/preferences/in-content/tests/browser_clearSiteData.js => browser/components/preferences/in-content/tests/siteData/browser_clearSiteData.js
rename : browser/components/preferences/in-content/tests/browser_siteData.js => browser/components/preferences/in-content/tests/siteData/browser_siteData.js
rename : browser/components/preferences/in-content/tests/browser_siteData2.js => browser/components/preferences/in-content/tests/siteData/browser_siteData2.js
rename : browser/components/preferences/in-content/tests/browser_siteData3.js => browser/components/preferences/in-content/tests/siteData/browser_siteData3.js
rename : browser/components/preferences/in-content/tests/head.js => browser/components/preferences/in-content/tests/siteData/head.js
rename : browser/components/preferences/in-content/tests/offline/manifest.appcache => browser/components/preferences/in-content/tests/siteData/offline/manifest.appcache
rename : browser/components/preferences/in-content/tests/offline/offline.html => browser/components/preferences/in-content/tests/siteData/offline/offline.html
rename : browser/components/preferences/in-content/tests/service_worker_test.html => browser/components/preferences/in-content/tests/siteData/service_worker_test.html
rename : browser/components/preferences/in-content/tests/service_worker_test.js => browser/components/preferences/in-content/tests/siteData/service_worker_test.js
rename : browser/components/preferences/in-content/tests/site_data_test.html => browser/components/preferences/in-content/tests/siteData/site_data_test.html
extra : rebase_source : 5e715469de30f7f1ae956c272c254cdc4426f605
2018-03-13 10:41:38 +01:00
Trisha
3e583258c2 Bug 1444868 - use .textContent to override the intro text directly in permissions.js. r=johannh 2018-03-14 00:59:35 +08:00
Edouard Oger
0ff305db3f Bug 1445028 - Hide sync-dev-edition-root properly if sync is disabled. r=jaws
MozReview-Commit-ID: 29ylwC3tJdM

--HG--
extra : rebase_source : f19beb4e9731ba9e087ff35950652f47de090259
2018-03-13 10:16:43 -04: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
manikishan
92de2db258 Bug 1431050 - Replace NS_ASSERT with conditional exceptions/console.assert and remove the debug.js module. r=mak
console.assert keeps the same semantics as NS_ASSERT in that it doesn't throw an exception,
but a lot of the places code was using it in a way that would be better served by throwing
an exception when the condition is false.

MozReview-Commit-ID: DEF5HSfYO36
2018-02-03 11:32:25 +05:30
Joel Maher
22009594a1 Bug 1439332 - disable browser/components/preferences/in-content/tests/browser_siteData.js for frequent failures on Linux. r=jmaher 2018-03-10 17:38:00 +02:00
Zibi Braniecki
6f768169f5 Bug 1444564 - Fix a typo in Preferences main.xul. r=gandalf
MozReview-Commit-ID: 5X8crQ5dXb1

--HG--
extra : rebase_source : 6083a1e4488bb654a05be0f2d94770cb52ca67d0
2018-03-09 17:12:44 -08:00
Gurzau Raul
23e21453bc Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-16 19:57:14 +02:00
Myk Melez
7af81fab58 Bug 1445991 - ensure prefs inited before autoconfig reload button updated; r=Gijs
Reorder the construction of Preference objects so network.proxy.autoconfig_url gets constructed before network.proxy.type, which will ensure that networkProxyAutoconfigURL is set to the value of network.proxy.autoconfig_url before network.proxy.type construction triggers the call to updateReloadButton.

MozReview-Commit-ID: BQL0RlvnCOo

--HG--
extra : rebase_source : c7d38192e87a5f69ef796d2c6d4dd3cc9f839bb3
2018-03-15 17:49:22 -07:00
shindli
568f98c908 Merge inbound to mozilla-central. a=merge 2018-03-08 02:20:08 +02:00
Michael Kaply
5436df272b Bug 1442738. Fix test reference removed engine. r=bustag CLOSED TREE
--HG--
extra : amend_source : 265e3152421095af3bfd34fc0ad3e38ff9edb124
2018-03-07 11:03:45 -06:00
Johann Hofmann
ea6f3d4226 Bug 1442850 - Update how history mode and cookie lifetime controls interact to fit our new preferences UI. r=Gijs
We recently updated the cookie settings in about:preferences to live outside
of the history mode settings, but did not change the way that changes to history
mode (toggling the privatebrowsing.autostart pref) reflected in the cookies section.

This patch takes care of that by moving the cookie related pieces out of the code
that sets history settings and makes sure that the respective functions get called
in all appropriate cases.

I also moved some site data settings code to be closer to the cookies code.

MozReview-Commit-ID: 6ly079uDz4C

--HG--
extra : rebase_source : 06bdb912d2d18f8121b8ff843610e5c5534b513c
2018-03-05 18:23:03 +01:00
Gijs Kruitbosch
6751283238 Bug 1443229 - follow-up: use correct checkbox state, r=jaws
It seems `doCommand` runs through a different codepath than just clicking the checkbox,
and as a result the outcome of the command handler is different that way.

This aligns the automated test closer to what happens when you 'manually'
click the checkbox, and fixes the bug in the command handler.

MozReview-Commit-ID: ACxRUxB35px

--HG--
extra : rebase_source : 7bc6d048d4ff6061aae6289e26f2b298820ed5ec
2018-03-06 15:00:12 +00:00
Zibi Braniecki
e0dc62fb37 Bug 1363862 - Use Node.localize for fragment translation in Fluent DOM. r=stas
MozReview-Commit-ID: 1zAbSMapi86

--HG--
extra : rebase_source : 5b0ca1113bf99f6308db4655ebaec0ab6f2eb416
2018-03-01 16:49:37 -08:00
Jared Wein
ef2d1dbaa6 Bug 1443229 - Add a 'command' event listener for the urlbar search suggestions checkbox. r=Gijs
This was inadvertently removed when the preference attribute was removed to clean up a race condition.

MozReview-Commit-ID: 8yNPMwkGS3u

--HG--
extra : rebase_source : f6381588a47bc0bbd9c2b087ded55a85d131ec03
2018-03-05 16:17:25 -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
Johann Hofmann
08baea01fa Bug 1438629 - Update site data settings label. r=nhnt11
MozReview-Commit-ID: EgBzUyv3eRh

--HG--
extra : rebase_source : fa2b234c67f3e4ace150990001a214ad61f3d8e4
2018-03-02 14:53:21 +01:00
Michael Kaply
b7a354c792 Bug 1432355 - Add a policy to disable private browsing. r=Gijs
MozReview-Commit-ID: AprbL6usEv5

--HG--
extra : rebase_source : d0a9255aae8b8d038c69978cbeabbfc394ad46cd
2018-03-01 10:20:38 -06:00
Tiberius Oros
61d400da1c Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
Johann Hofmann
afccad6dfb Bug 1441766 - Add a test for searching in the site data group. r=nhnt11
MozReview-Commit-ID: I0TrEXIaBzY

--HG--
extra : rebase_source : 07231812f8da779f7e8455baedbe2a183ebdf3ef
2018-02-28 15:48:15 +01:00
Johann Hofmann
923d06e4cf Bug 1441766 - Fix search keywords for site data and cookies in about:preferences. r=nhnt11
When moving cookies to the site data section we forgot about some
searchkeywords which were left on the cookies exceptions dialog.

We also forgot to remove the status column label when removing the
status column.

Further, the search tooltip is not displayed correctly on the three
vertically aligned dialog buttons (it's always on the last button),
because we did not put each of them in its own hbox (which is just way
too easy to get wrong and needs a better mid term solution).

MozReview-Commit-ID: L6ZaocWsjYU

--HG--
extra : rebase_source : 209751545d50337d2eb4d16cc43c96c0258bd47c
2018-02-28 10:04:21 +01:00
Johann Hofmann
a19b7899ab Bug 1441198 - Part 2 - Fix side spacing and line breaking of items adjacent to the site data description in about:preferences. r=nhnt11
When adding more characters to the description in the site data section,
the display of the adjacent items breaks in two ways:

- The "Learn More" link is pushed to the next line while it should stay
  on the same line as the description. I didn't really find a way to fix
  this while using a XUL label, so I switched to an html:span which has
  the correct layout. I don't see any drawbacks with using a span here.

- The description text could in certain edge cases get too close to the
  "Clear Data" button. To fix that I added a new class which adds some padding.
  This isn't a problem in other parts of preferences except the history
  section (bug 1441138), where I also added this class.

MozReview-Commit-ID: FO5tEx19ZUm

--HG--
extra : rebase_source : 276d2fd81623eacfb2e86e8dd34d68b3f891ffa4
2018-02-28 09:58:47 +01:00
Johann Hofmann
25f14b2ad4 Bug 1441198 - Part 1 - Use correct copy for cookies and site data in about:preferences. r=nhnt11
This mostly changes "cookies" to "cookies and site data" and amends a few
other details.

MozReview-Commit-ID: 97xTSQPw2DA

--HG--
extra : rebase_source : 63ceb2e11cad77441dbf11b298d6035081a29123
2018-02-28 09:37:48 +01:00
Florian Quèze
f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze
c714053d73 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
Sebastian Hengst
769222fadf merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
2018-02-28 12:54:12 +02:00
Zibi Braniecki
4a44620118 Bug 1435912 - Migrate Preferences::General XUL part to the new Localization API. r=flod,jaws
MozReview-Commit-ID: J5Rr8Gc0oCx

--HG--
extra : rebase_source : df83a089c572be0ed8301edb93777d2aacd0f1f6
2018-02-27 21:20:54 -08:00
Ciure Andrei
52f18c2eac 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
dc392b1068 Bug 1441733 - Bustage fix for Fluent in Preferences::General::XUL. r=me on a CLOSED TREE
MozReview-Commit-ID: CojiDJyXp90

--HG--
extra : source : 8fa679b1080f75cd6a5130b04b4be25cd308834e
2018-02-27 18:50:19 -08:00
Tooru Fujisawa
9a32a77bc1 Bug 1435910 - Part 0.2: Add BrowserTestUtils.{promiseAlertDialogOpen,promiseAlertDialog}. r=Gijs 2018-02-28 10:36:42 +09:00
Mark Banner
93a5b36959 Bug 1434261 - Disable user actions on the places trees not in the library window to avoid accidential/unintentional actions. r=mak
MozReview-Commit-ID: ILo09hwWRsZ

--HG--
extra : rebase_source : 3231ff9ab3b7f4a036b208daffe8f72418951566
2018-02-21 17:51:23 +00:00
Zibi Braniecki
15d8394912 Bug 1435912 - Migrate Preferences::General XUL part to the new Localization API. r=flod,jaws
MozReview-Commit-ID: J5Rr8Gc0oCx

--HG--
extra : rebase_source : fc16a0ead225d63330100ac83bdf94b6e22d6f3b
2018-01-22 15:38:06 -08:00
Michael Kelly
ca31eec267 Bug 1439930 Wrap long pref checkbox labels in Privacy prefs. r=jaws
Without any flex, the checkboxes in the Privacy section of about:preferences
refused to wrap their text and caused the page width to expand to accommodate
them, which made the search box and other elements move around while performing
searches as the page width changed.

Adding flex means the checkbox wraps text to the next line when the label is
longer than the width can accommodate.

MozReview-Commit-ID: HtJ3f3KrO3X

--HG--
extra : rebase_source : 37c25c9f829632a0304eb74734174d8565050eeb
2018-02-22 10:45:38 -08:00
Kirk Steuber
dbf911f4db Bug 1438925 - Select "Never check for updates" in Preferences UI when DisableAppUpdate policy is active r=jaws
MozReview-Commit-ID: 51ZaamngdIP

--HG--
extra : rebase_source : 874221b7047dace7b0f303cdcf58ad4c0800c9b0
2018-02-16 15:48:49 -08: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
Johann Hofmann
eeca134ba3 Bug 1432745 - Merge the "persistent" column in the site data manager into the "usage" column. r=nhnt11
MozReview-Commit-ID: 6a2ZOhC7p3a

--HG--
extra : rebase_source : 86feb44ae8cf9852eae260c4c41cba10fe07fbfa
2018-02-21 11:06:29 +01:00
Johann Hofmann
f943b48940 Bug 1431027 - Update disk space warning to reflect the latest preferences. r=nhnt11
This changes the disk space notification to show the correct preferences path
and to use the correct openPreferences arguments.

MozReview-Commit-ID: BuKAUvDjp9T

--HG--
extra : rebase_source : 678f52801d100a980f529fc565d1009c38320ae4
2018-02-22 00:31:16 +01:00
Sebastian Hengst
7be9fed7d0 merge mozilla-inbound to mozilla-central. a=merge 2018-02-24 02:58:35 +02:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01: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
Zibi Braniecki
0270c3b8f4 Bug 1439452 - Use width instead of min-width for Find in Preferences box. r=flod
MozReview-Commit-ID: qCLLsXA9bG

--HG--
extra : rebase_source : 85c8b9275c6f151a6420cb7a3a827021f4229914
2018-02-22 22:57:36 -08: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
Johann Hofmann
f2c5d2f4ff Bug 1436568 - Make "clear your recent history" a button instead of a link. r=nhnt11
MozReview-Commit-ID: 1KDXu9OtmHm

--HG--
extra : rebase_source : 7046240e28ac035f839d80d88e50d7522d2cef5b
2018-02-19 23:02:33 +01:00
Johann Hofmann
9beab572d0 Bug 1432743 - Move cookie settings to the Site Data section and remove the cookies dialog from preferences. r=Gijs
After including cookies in the site data manager in bug 1421737, we would
like to move the cookies settings to the site data section to give them
more visibility and to unify site data and cookies.

Our UR has shown that our differentiation between site data and cookies
is not helpful to users and that they struggle with discovering the
cookie settings that are hidden in the "custom history" menu.

Since the cookie settings are quite powerful/potentially breaking,
we changed the top level preference from a checkbox to a radiogroup,
to be able to highlight the potential breakage associated with "deny".

This grouping is also recommended by the webstorage spec:
https://www.w3.org/TR/webstorage/#privacy

The cookies dialog is not removed yet, because it is still accessible from
Page Info, but bug 1348223 will likely remove it entirely.

MozReview-Commit-ID: Adisn70Ks2Q

--HG--
extra : rebase_source : 333d6165c74d6ff664cd3d603c5d834bfbde4326
2018-02-12 19:28:00 +01: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
Matthew Noorenberghe
05f00ac1ee Bug 1438702 - Skip test_credit_card_autofill_section when CC autofill is disabled. r=jaws
MozReview-Commit-ID: B1qa9BhIa05

--HG--
extra : rebase_source : 90c896bb1ebe84b687cc1b1d1698542fd0c69aa0
2018-02-21 23:00:08 -08:00
Dorel Luca
6ad641c5c4 Merge mozilla-inboud to mozilla-central. a=merge 2018-02-22 11:59:54 +02:00
Michael Kelly
fe5940c237 Bug 1438693: Skip browser_privacypane.js if not a Nightly build. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D599

MozReview-Commit-ID: 8L69I1ojl9i

--HG--
extra : rebase_source : 221cc53e78aa9c71b0f72a057f50e65145451e63
extra : amend_source : 58725568d56d7bc69491a48f36625f1973664285
2018-02-21 15:26:39 -08:00
Csoregi Natalia
3011413f82 Merge inbound to mozilla-central. a=merge 2018-02-21 23:50:20 +02:00
Felipe Gomes
d261cc7c57 Bug 1429148 - Policy: Don't let a Master Password to be set. r=keeler
MozReview-Commit-ID: 8Adqg0KU7cZ

--HG--
extra : rebase_source : ec20e2f117d974edaa5df844091a086d12607771
2018-02-20 20:46:11 -03:00
Gijs Kruitbosch
582b8ef5c5 Bug 1438180 - don't update the url bar search suggestions pref directly, r=jaws,f=myk
In search.js, _updateSuggestionCheckboxes is already hooked up to update this checkbox
based on the preference value, including change handlers for when it changes. As a result,
having both the preference attribute and the 'manual' JS means that the actual checked and
disabled state races with which code sets the value first.

The search suggestion order preference already doesn't have a preference attribute and is
only ever updated via the JS. It seems sensible to do the same here.

MozReview-Commit-ID: Cm8evlembt7

--HG--
extra : rebase_source : 41a55211c08c911ac234ea3cbe004391d86e4a3b
2018-02-16 17:30:34 +00:00
Johann Hofmann
e78ad90a84 Bug 1414751 - Disable frequently failing task in browser_siteData.js. r=nhnt11
MozReview-Commit-ID: LWPxJr6mCAl

--HG--
extra : rebase_source : 760ff82cede6720b6b3e481e89e1fca8cdce04e9
2018-02-20 08:13:56 +01:00
Johann Hofmann
8fa5b0c9c0 Bug 1439184 - "Clear All Data" button should read "Clear Data..." instead. r=dao
MozReview-Commit-ID: 2BaNp9EVLRD

--HG--
extra : rebase_source : df43a4bc413b8c4a20067efe1c044596e5e346fd
2018-02-18 21:04:15 +01:00
Mike Conley
d0f8d4d9cc Bug 1440082 - Make string in about:preferences more precise. r=jaws
MozReview-Commit-ID: GD2o13WA0Mj

--HG--
extra : rebase_source : c2c61fcefbce94c50633e4ac164176299b7ba9a1
2018-02-21 16:24:15 -05:00
Johann Hofmann
24060848f3 Bug 1431029 - Show a "last accessed" column in the site data manager. r=Gijs
MozReview-Commit-ID: LidkPQ6kLfX

--HG--
extra : rebase_source : d26f75b949112ca19c689986fe3f142bb3007d16
2018-02-20 14:54:43 +01:00
Masayuki Nakano
cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Zibi Braniecki
6fd3c9a0b7 Bug 1441913 - Include sync-brand.ftl into Preferences.xul MessageContext. r=flod
MozReview-Commit-ID: 1JuVwUXYB7N

--HG--
extra : rebase_source : 575d08b9193791d6e8824ddda613976dcdc500fc
2018-02-28 09:11:10 -08:00
Bob Silverberg
cb58187ee1 Bug 1437335 - Manual proxy port configuration should disable when its option is not selected, r=jaws
This is a regression from bug 1429593. The code that was added to enable/disable controls on the page
depending on whether an extension is in control was being run when the page opened, which overrode
the code which disables specific controls based on the current proxy setting. All that is needed is
to call that code (which is in gConnectionsDialog.proxyTypeChanged()) if an extension is not in control
after the new code that was added. This patch fixes that issue, and includes a test verifying that
the manual controls are not enabled when the screen first opens.

MozReview-Commit-ID: 7jpp1wewZ2k

--HG--
extra : rebase_source : 3bd13747ba9ba95fe50bce83a583af387352f8ef
2018-02-27 15:17:28 -05:00
Timothy Guan-tin Chien
d0085c797f Bug 1443635 - Remove the custom XUL <update> tag r=Paolo
Restore it to be <richlistitem>s so that nsAccessibilityService can produce
correct accessibles.

MozReview-Commit-ID: 1QiGyKPNifZ

--HG--
extra : rebase_source : 4d13ea216a88bb4a0272ac756dba2d50216fca35
2018-03-06 14:05:03 -08:00