Commit Graph

1521 Commits

Author SHA1 Message Date
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
Edouard Oger
fc3baf3523 Bug 1096343 - Use a different sync link in dev edition main preferences. r=jaws,markh
MozReview-Commit-ID: BPGSVN2EQza
2017-03-30 15:59:09 +01:00
Wes Kocher
178c981b55 Merge m-c to autoland, a=merge 2017-03-31 17:52:17 -07:00
Wes Kocher
1277c6e7fa Backed out changeset 94c77723eead (bug 1096343) at developer's request a=backout 2017-03-31 11:07:31 -07:00
Jared Wein
99dee3753d Bug 1352505 - Fix enabling the 'Restore Default Search Engines' button when removing a default engine. r=Gijs
Re-apply the patch from bug 1327953 since it got lost in the re-arrangement of preference code in bug 1335907.

MozReview-Commit-ID: 1L4A2QC3Bns
2017-03-31 14:15:07 -04:00
Jared Wein
3d472357d3 Bug 1352498 - Flex the labels of boxes that have Learn More links on them. r=Gijs
This is to make sure that the text will wrap and not force the box to have its full width. These changes look to have gotten lost as part of the re-org in bug 1335907.

MozReview-Commit-ID: EiTALg6dY7G
2017-03-31 13:55:01 -04:00
Edouard Oger
88fdb6a2dd Bug 1096343 - Use a different sync link in dev edition main preferences. r=markh
MozReview-Commit-ID: BPGSVN2EQza
2017-03-30 15:59:09 +01:00
Wes Kocher
0eb31f0868 Merge m-c to autoland, a=merge 2017-03-29 15:48:28 -07: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
Ryan VanderMeulen
84ceb429dd Merge m-c to inbound. a=merge 2017-03-29 09:44:13 -04:00
Andrea Marchesini
a8517d8f9f Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan 2017-03-29 15:28:46 +02:00
Fischer.json
e8ea897479 Bug 1312349 - Hide the section of Offline Web Content and User Data in about:preferences r=jaws
MozReview-Commit-ID: 6K3PigI3wEf
2017-03-08 19:34:21 +08: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
Jared Wein
3239592aa4 Bug 1350087 - Create a fork of the preferences styling and icons. r=mconley
MozReview-Commit-ID: LqL4YXu42NJ
2017-03-23 16:20:01 -04:00
Sebastian Hengst
2d8413763d Backed out changeset 4af10700c64c (bug 1347817) 2017-03-29 11:17:04 +02:00
Andrea Marchesini
8a16af58e2 Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan 2017-03-29 08:27:17 +02:00
maxim
75c0ed04df Bug 493527 - Directly change the remember-history pref through the preference element since setting it through the checkbox required multiple attempts. r=jaws
This looks to be happening because the binding for the checkbox may get torn down too fast when a restart is required.

MozReview-Commit-ID: 1y68jMubATx
2017-03-23 14:15:33 -04:00
Carsten "Tomcat" Book
0947398f26 merge autoland to mozilla-central a=merge 2017-03-23 13:42:40 +01: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
Gijs Kruitbosch
0832e365bc Bug 1348623 - revert changes from bug 1044586 and fix preferences reload bug by changing the event listener, r=smaug
In bug 1044586 we changed nsDocument::GetEventTargetParent such that events for
a document were not sent to its parent window if the inner window for the
document wasn't the current inner window. Unfortunately it seems this means
event listeners on the window sometimes miss user input events (mousedown etc.)
when user input takes place before the first paint of a new document that's
loading. In order to fix this, this patch backs out the changes from bug 1044586.

This reintroduces the issue we had before with the preference window, where
reloading the preferences quickly meant that its listeners (attached to the
window) got confused by DOMContentLoaded events from a previously loaded
document. Instead of the broad fix to nsDocument::GetEventTargetParent, this
patch simply changes the event listeners from the preferences code to be
attached to the document instead of the window, thus ensuring they only get
notified for events relating to their own document.

MozReview-Commit-ID: 9DImyNst9fS
2017-03-20 17:16:34 +00:00
Jared Wein
510540930d Bug 1343682 - Create temporary killswitch for preference reorg. r=mconley
This uses the pref browser.preferences.useOldOrganization=true to use the old prefs.

MozReview-Commit-ID: DQyHYSZJTKd
2017-03-22 16:56:25 -04:00
Wes Kocher
ba3b23adff Backed out changeset 0847b9063bf7 (bug 1343682) for test failures a=backout
MozReview-Commit-ID: Egs8sDcfmUq
2017-03-22 16:50:14 -07:00
Jared Wein
5a181760cc Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04: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
Jared Wein
bb651e00f1 Bug 1343682 - Create temporary killswitch for preference reorg. r=mconley
This uses the pref browser.preferences.useOldOrganization=true to use the old prefs.

MozReview-Commit-ID: DQyHYSZJTKd
2017-03-22 16:56:25 -04:00
Wes Kocher
6643e2de19 Backed out changeset f23ce5b464f8 (bug 1343682) for build bustage a=backout
MozReview-Commit-ID: FiNslDCHP1S
2017-03-22 14:29:18 -07:00
Jared Wein
058db503af Bug 1343682 - Create temporary killswitch for preference reorg. r=mconley
This uses the pref browser.preferences.useOldOrganization=true to use the old prefs.

MozReview-Commit-ID: DQyHYSZJTKd
2017-03-22 16:56:25 -04:00
Wes Kocher
7981e8df65 Backed out changeset c00c5431182b (bug 1343682) for build failures a=backout
MozReview-Commit-ID: 7WIAaKqw62K
2017-03-10 12:31:31 -08:00
Jared Wein
f8846e1cce Bug 1343682 - Create temporary killswitch for preference reorg. r=mconley
This uses the pref browser.preferences.useOldOrganization=true to use the old prefs.

MozReview-Commit-ID: DQyHYSZJTKd
2017-03-10 15:10:21 -05:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze
c7eae86054 Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Mark Banner
84c84edffe Follow-up to bug 1344027 - fix capitalisation of fontbuilder.js. rs=bustage-fix for eslint. 2017-03-05 19:54:55 +00: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
Fischer.json
aac5af560f Bug 1343477 - Search label should be a placeholder text in Settings of Site Data, r=Gijs
MozReview-Commit-ID: 6ljPyss39fS
2017-03-01 18:00:22 +08: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
Mark Banner
199634ffe1 Bug 1342472 - It is no longer possible to use backspace on Mac to delete a site permission (AppConstants is undefined). r=jaws
MozReview-Commit-ID: EqZ5EELLMpT
2017-02-24 17:24:06 +00:00
Fischer.json
8358f212f7 Bug 1340967 - Search input label in Settings of Site Data is not vertically center-aligned r=Gijs
MozReview-Commit-ID: FG6l9iktvRn
2017-02-20 14:41:11 +08: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
Wes Kocher
b91739bde1 Merge inbound to m-c a=merge
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Andrea Marchesini
03364d5e05 Bug 1337964 - SiteDataManager should check correctly if a cookie belongs to a private identity or not, r=aryx, r=gijs 2017-02-15 13:12:52 +01:00
Fischer.json
71a3493ba7 Bug 1338757 - "Remove All Shown" and button in about:preferences should use its own accesskey, r=jaws
MozReview-Commit-ID: 2ucF0GqOCJV
2017-02-13 11:43:37 +08:00
dorelbarbu
830a5869ed Bug 1228478 - Replaced the use of sync-illustration.png and sync-illustration@2x.png with sync-illustration.svg r=eoger,markh
MozReview-Commit-ID: 6lyEEdG9CMb
2017-02-11 22:19:39 +02:00