Commit Graph

211 Commits

Author SHA1 Message Date
Fischer.json
9165dcc2f9 Bug 1358381 - Fix Nightly-only enabled siteDataGroup testing issue beyond Beta build and reorganize tests to the proper test files, r=jaws.
The goal of browser_bug795764_cachedisabled.js is to test elements using nsIApplicationCacheService so always enable siteDataGroup and offlineGroup there.

The goal of browser_bug731866.js is to test loading panes so move the checking of elements pref-on/off state to it.

MozReview-Commit-ID: 9QWMNnuu0OD
2017-04-21 18:15:25 +08:00
Fischer.json
44995021d4 Bug 1358475 - The category must be retrieved from either the argument, the hash, or the default category name before computing the subcategory. r=jaws
Computing the subcategory based off of just the hash doesn't work when switchToTabHavingURI is used to open the preferences.

MozReview-Commit-ID: 5rYkiLkDgfT
2017-04-22 16:42:31 +08:00
Jared Wein
de76685b0b Bug 1357905 - Add missing _removeMasterPassword function that got lost in the re-org, as well as a test to confirm that the master password functionality works. r=mossop
I checked each function of the old security.js to make sure there weren't any other missing functions.

MozReview-Commit-ID: DpFcAYsfcyg
2017-04-19 18:52:22 -04:00
Fischer.json
b1eccb7cb4 Bug 1355795 - about:preferences#privacy is broken with browser.cache.offline.enable=false, r=jaws
If browser.cache.offline.enable was set to false, then calls to nsIApplicationCacheService would throw. The SiteDataManger and OfflineGroup using nsIApplicationCacheService has been moved into the privacy pane. We should test that the privacy pane is loaded well.

MozReview-Commit-ID: C9RRRYmb3Zb
2017-04-12 11:53:18 +08:00
Phil Ringnalda
5330eb9d09 Backed out changeset 245952e7a2d5 (bug 1355795) for failures in browser_bug795764_cachedisabled.js 2017-04-16 19:59:17 -07:00
Fischer.json
39f364caf3 Bug 1355795 - about:preferences#privacy is broken with browser.cache.offline.enable=false, r=jaws
If browser.cache.offline.enable was set to false, then calls to nsIApplicationCacheService would throw. The SiteDataManger and OfflineGroup using nsIApplicationCacheService has been moved into the privacy pane. We should test that the privacy pane is loaded well.

MozReview-Commit-ID: C9RRRYmb3Zb
2017-04-12 11:53:18 +08:00
Sebastian Hengst
a1e759a614 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Jared Wein
a94d8d94c2 Bug 1355522 - Move scripts for spell-checking, hardware acceleration, and on-screen keyboards to main.js since the prefs moved to the main category. r=florian
MozReview-Commit-ID: ExZDYWx92XD
2017-04-12 11:08:46 -04:00
Jared Wein
c29576b077 Bug 1355522 - Move Telemetry and Health Report prefs to Privacy & Security section. r=florian
MozReview-Commit-ID: 1Ybpr68SKC0
2017-04-12 10:14:51 -04:00
Fischer.json
123300885b Part 2: Bug 1354530 - Disable offline group in Preferences in Nightly because Storage Management v1 spec is done, r=jaws
MozReview-Commit-ID: A4xbomLFYlQ
2017-04-07 21:21:32 +08:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
aca1103c68 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
4189eac09e Backed out changeset e1f191aad863 (bug 1356569) 2017-04-14 23:39:17 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
6c119a88d3 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Jared Wein
b09cc0f2c3 Bug 1353808 - Only show the 'Search' preferences when the Manage Search Engines button is clicked. r=mconley
MozReview-Commit-ID: 2sVbayD6tPf
2017-04-05 23:38:30 -04:00
Jared Wein
e8c2bdcc5c Bug 1353805 - Allow showing only subcategories of a section to make finding prefs easier. r=mconley
This is a temporary measure until we have search complete and shipped (1353954).

MozReview-Commit-ID: KFeOefJ1RGM
2017-04-05 23:03:10 -04:00
Fischer.json
45e6ba6982 Bug 1348252 - Disable buttons and display loading message in Site Data section while loading data, r=Gijs
MozReview-Commit-ID: 9EfG71hRoDe
2017-04-05 22:28:30 +08:00
Jared Wein
fea20c83ce Bug 1267480 - Only open the preferences once during the test run and reload it for subsequent tests to improve the speed of the browser_security.js test. r=Gijs
MozReview-Commit-ID: KmzwTxvbf4r
2017-04-05 20:53:48 -04:00
manotejmeka
91dbd4cedb Bug 1335905 - Add Preferences search feature, preffed off by default. r=jaws,mconley
Code written by Manotej Meka <manotejmeka@gmail.com> and Ian Ferguson <fergu272@msu.edu>
This is the initial landing of the search feature, and is preffed off behind
browser.preferences.search.

MozReview-Commit-ID: 7iaeRsIIV3Y
2017-04-04 16:33:34 -04:00
Iris Hsiao
ab8e76f34b Backed out changeset 28f8a3519d73 (bug 1267480) for mochitest bc6 perma-failing 2017-04-05 14:23:13 +08:00
Jared Wein
b29dfdc793 Bug 1267480 - Split up browser_security.js due to the test timing out. r=Gijs
MozReview-Commit-ID: Frqzb2fQDs7
2017-04-04 15:29:22 -04:00
Fischer.json
afe9fdf262 Bug 1352374 - Part 2: Move a few sections of code that were missed when rebasing bug 1335907. r=jaws
MozReview-Commit-ID: 1IEQcUUgqms
2017-04-03 00:40:21 +08:00
Wes Kocher
317d520c08 Backed out changeset caee52f2863b (bug 1335905) for test failures in browser_misused_characters_in_strings.js a=backout 2017-04-03 12:16:00 -07:00
manotejmeka
97beedacaf Bug 1335905 - Add Preferences search feature, preffed off by default. r=jaws,mconley
Code written by Manotej Meka <manotejmeka@gmail.com> and Ian Ferguson <fergu272@msu.edu>
This is the initial landing of the search feature, and is preffed off behind
browser.preferences.search.

MozReview-Commit-ID: 7iaeRsIIV3Y
2017-04-03 14:02:01 -04:00
Jared Wein
575b80ac05 Bug 1349051 - Split browser_advanced_siteData.js to browser_siteData.js and browser_siteData2.js since it was running too long. r=Fischer
MozReview-Commit-ID: 8f3rSSdYNCx
2017-03-31 15:09:22 -04:00
Masayuki Nakano
2aa2ad7d38 Bug 1344990 part.4 FontBuilder.readFontSelection() should return empty string when saved font isn't available r=jaws
FontBuilder adjusted font settings if reading font isn't available in the system.  Now, we support empty string value of "font.name.*" which means default font in the system.  If it's empty string, gfx checks default font from "font.name-list.*" at runtime.  Therefore, resetting "font.name.*" to empty string is the best approach if specified font becomes not available (e.g., uninstalled from the system).

Therefore, this patch replaces the code in FontBuilder.readFontSelection() with just returning empty string.

MozReview-Commit-ID: HgR88Qw8Xwe
2017-03-29 23:55:37 +09:00
Zack Herrick
50c0d3d538 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7
2017-03-29 11:52:08 -04:00
Sebastian Hengst
73c0729e22 Backed out changeset 9ef667136bbe (bug 1335907) for failing browser_datachoices_notification.js. r=backout 2017-03-28 23:43:11 +02:00
Zack Herrick
11d8b74c55 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7
2017-03-28 14:32:54 -04:00
Wes Kocher
b14725241c Merge inbound to central, a=merge
MozReview-Commit-ID: EQ7w1Gld1K2
2017-03-22 17:10:01 -07:00
Carsten "Tomcat" Book
0ba47846aa Merge mozilla-central to mozilla-inbound 2017-03-22 16:13:03 +01:00
Jan Varga
975ddc8857 Bug 1348660 - Part 1: Convert nsIQuotaUsageRequest result related attributes to a new structure nsIQuotaUsageResult and expose it using a new result attribute of type nsIVariant; r=btseng 2017-03-22 12:13:38 +01:00
Mark Banner
ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Zibi Braniecki
e1617486a8 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Sebastian Hengst
1f6ea2382a Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki
a56e4c7360 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Mark Banner
e21fc78563 Bug 1344027 - Change the import-global-from option for eslint to allow circular references and resolve most of the no-undef issues in browser/components/preferences. r=mossop
MozReview-Commit-ID: BERAbtYkxsF
2017-02-22 10:19:11 +00:00
Mark Banner
2cbc9aa982 Bug 1342427 - Setting Web Feeds in Application Preferences to "Add Live Bookmarks" then reselecting it appears to revert to "Preview in Nightly". r=jaws
MozReview-Commit-ID: KedE9gfOyp0
2017-02-27 13:37:30 +00:00
Wes Kocher
3d96594cb5 Backed out changeset 84a017610f03 (bug 1342427) for browser_applications_selection.js failures a=backout
MozReview-Commit-ID: KkzcQPJgLex
2017-02-27 11:55:36 -08:00
Mark Banner
aa08cb0f3e Bug 1342427 - Setting Web Feeds in Application Preferences to "Add Live Bookmarks" then reselecting it appears to revert to "Preview in Nightly". r=jaws
MozReview-Commit-ID: KedE9gfOyp0
2017-02-27 13:37:30 +00:00
Fischer.json
0d03b41897 Bug 1331851 - Intermittent browser/components/preferences/in-content/tests/browser_advanced_siteData.js | Test timed out r=Gijs
MozReview-Commit-ID: Def1trhWrIE
2017-02-03 16:53:33 +08:00
Fischer.json
16489000da Bug 1312380 - Should be able to remove data of all sites visible on the list in Settings of Site Data, r=jaws
MozReview-Commit-ID: 5hkmYLGGkue
2017-01-31 21:34:08 +08:00
Fischer.json
01d51048f2 Bug 1312377 - Remove selected site data in Settings of Site Data, r=jaws
MozReview-Commit-ID: 2MlnZfajM4t
2016-12-19 16:57:34 +08:00
Christoph Kerschbaumer
5bd46231f4 Bug 1307736 - Ensure tests performing a history load pass valid triggeringPrincipal. r=bz,mdeboer 2017-01-27 11:19:45 +01:00
Florian Quèze
0a4ee94a29 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00