Commit Graph

2139 Commits

Author SHA1 Message Date
Gurzau Raul
80dd3a2c40 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-16 19:57:14 +02:00
Myk Melez
cc00f7b5d5 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
2018-03-15 17:49:22 -07:00
shindli
4e6bac8c6c Merge inbound to mozilla-central. a=merge 2018-03-08 02:20:08 +02:00
Michael Kaply
49a69b5c69 Bug 1442738. Fix test reference removed engine. r=bustag CLOSED TREE 2018-03-07 11:03:45 -06:00
Johann Hofmann
090f854e01 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
2018-03-05 18:23:03 +01:00
Gijs Kruitbosch
4e71107eb3 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
2018-03-06 15:00:12 +00:00
Zibi Braniecki
d1b856982f Bug 1363862 - Use Node.localize for fragment translation in Fluent DOM. r=stas
MozReview-Commit-ID: 1zAbSMapi86
2018-03-01 16:49:37 -08:00
Jared Wein
03cd2673e1 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
2018-03-05 16:17:25 -05:00
Felipe Gomes
db353634cb Bug 1432906 - Display notice in about:preferences when Policies are in use. r=gandalf,jaws
MozReview-Commit-ID: 83UUY9DmK2K
2018-03-05 14:18:44 -03:00
Johann Hofmann
19d89d0956 Bug 1438629 - Update site data settings label. r=nhnt11
MozReview-Commit-ID: EgBzUyv3eRh
2018-03-02 14:53:21 +01:00
Michael Kaply
97e2f5fdd4 Bug 1432355 - Add a policy to disable private browsing. r=Gijs
MozReview-Commit-ID: AprbL6usEv5
2018-03-01 10:20:38 -06:00
Tiberius Oros
0e49912cc8 Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
Johann Hofmann
a5dedfad80 Bug 1441766 - Add a test for searching in the site data group. r=nhnt11
MozReview-Commit-ID: I0TrEXIaBzY
2018-02-28 15:48:15 +01:00
Johann Hofmann
7e9c99f303 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
2018-02-28 10:04:21 +01:00
Johann Hofmann
9c60df2f9e 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
2018-02-28 09:58:47 +01:00
Johann Hofmann
e09cdaaebb 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
2018-02-28 09:37:48 +01:00
Florian Quèze
5715aadbec 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
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
Sebastian Hengst
b120b7fb67 merge mozilla-inbound to mozilla-central. a=merge 2018-02-28 12:54:12 +02: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
d7fba2dead Bug 1441733 - Bustage fix for Fluent in Preferences::General::XUL. r=me on a CLOSED TREE
MozReview-Commit-ID: CojiDJyXp90
2018-02-27 18:50:19 -08:00
Tooru Fujisawa
fbc75c930b Bug 1435910 - Part 0.2: Add BrowserTestUtils.{promiseAlertDialogOpen,promiseAlertDialog}. r=Gijs 2018-02-28 10:36:42 +09:00
Mark Banner
8b297fe619 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
2018-02-21 17:51:23 +00: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
Michael Kelly
dade9816a7 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
2018-02-22 10:45:38 -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
Gregory Wlodarek
9fb48cb92c 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
2018-02-16 13:34:18 -05: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
Johann Hofmann
2c602a5936 Bug 1432745 - Merge the "persistent" column in the site data manager into the "usage" column. r=nhnt11
MozReview-Commit-ID: 6a2ZOhC7p3a
2018-02-21 11:06:29 +01:00
Johann Hofmann
5c7258102e 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
2018-02-22 00:31:16 +01:00
Sebastian Hengst
453db32e9a merge mozilla-inbound to mozilla-central. a=merge 2018-02-24 02:58:35 +02:00
Florian Quèze
f1a55f73f8 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
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
Zibi Braniecki
c2ed6fab3f Bug 1439452 - Use width instead of min-width for Find in Preferences box. r=flod
MozReview-Commit-ID: qCLLsXA9bG
2018-02-22 22:57:36 -08: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
Johann Hofmann
09a13cb7f5 Bug 1436568 - Make "clear your recent history" a button instead of a link. r=nhnt11
MozReview-Commit-ID: 1KDXu9OtmHm
2018-02-19 23:02:33 +01:00
Johann Hofmann
4882434603 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
2018-02-12 19:28:00 +01: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
Matthew Noorenberghe
d862d200cb Bug 1438702 - Skip test_credit_card_autofill_section when CC autofill is disabled. r=jaws
MozReview-Commit-ID: B1qa9BhIa05
2018-02-21 23:00:08 -08:00
Dorel Luca
27fe6752e3 Merge mozilla-inboud to mozilla-central. a=merge 2018-02-22 11:59:54 +02:00
Michael Kelly
16a385a439 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
2018-02-21 15:26:39 -08:00
Csoregi Natalia
3b435f7331 Merge inbound to mozilla-central. a=merge 2018-02-21 23:50:20 +02:00
Felipe Gomes
1352891432 Bug 1429148 - Policy: Don't let a Master Password to be set. r=keeler
MozReview-Commit-ID: 8Adqg0KU7cZ
2018-02-20 20:46:11 -03:00
Gijs Kruitbosch
2a893e6cf5 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
2018-02-16 17:30:34 +00:00
Johann Hofmann
4e051e520e Bug 1414751 - Disable frequently failing task in browser_siteData.js. r=nhnt11
MozReview-Commit-ID: LWPxJr6mCAl
2018-02-20 08:13:56 +01:00
Johann Hofmann
dce173ead8 Bug 1439184 - "Clear All Data" button should read "Clear Data..." instead. r=dao
MozReview-Commit-ID: 2BaNp9EVLRD
2018-02-18 21:04:15 +01:00