Commit Graph

745 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Sebastian Hengst
9bed6df385 Backed out changeset 4f2d1a062ed1 (bug 1228478) for mass test failures. r=backout on a CLOSED TREE 2017-01-30 18:34:36 +01:00
dorelbarbu
0183b654ba Bug 1228478 - Replaced the use of sync-illustration.png and sync-illustration@2x.png with sync-illustration.svg r=eoger,markh
MozReview-Commit-ID: 5h7BlVvV32W
2017-01-25 19:06:45 +02:00
Carsten "Tomcat" Book
f5572373f6 Merge mozilla-central to autoland 2017-01-30 16:21:32 +01:00
Florian Quèze
0d2ff3ec4c Bug 1327953 - Fix enabling the 'Restore Default Search Engines' button when removing a default engine, r=Standard8. 2017-01-30 08:10:00 +01:00
Wes Kocher
5c5bcbe39e Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -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
Edouard Oger
a842e0200b Bug 1296767 part 8 - Remove legacy Sync in-content pref screens. r=markh
MozReview-Commit-ID: Blpdd3jeeww
2017-01-27 13:31:58 -05: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
Jared Wein
c5b1755683 Bug 1333550 - The Site Data hbox needs align=baseline to vertically align the text due to the larger button in the same box. r=Fischer
MozReview-Commit-ID: CSuo8ptmPF
2017-01-24 15:43:06 -05:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01: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
Wes Kocher
092fa0f3bc Backed out 13 changesets (bug 1296767) for xpcshell failures a=backout CLOSED TREE
Backed out changeset 41ed77788333 (bug 1296767)
Backed out changeset 1c0c9289b532 (bug 1296767)
Backed out changeset 50294db1d871 (bug 1296767)
Backed out changeset 26c065f79c54 (bug 1296767)
Backed out changeset 0362a78d6978 (bug 1296767)
Backed out changeset 4e71cf94e4ee (bug 1296767)
Backed out changeset f6f59447d22a (bug 1296767)
Backed out changeset 6c9b792cc296 (bug 1296767)
Backed out changeset 46a52b10a868 (bug 1296767)
Backed out changeset 5d70d87d2a8f (bug 1296767)
Backed out changeset 8219686be6a2 (bug 1296767)
Backed out changeset 0a989b0cea67 (bug 1296767)
Backed out changeset 9f59a0b75c1f (bug 1296767)

MozReview-Commit-ID: 2XBNsd8JrZL
2017-01-26 11:16:12 -08:00
Edouard Oger
d0685239b3 Bug 1296767 part 8 - Remove legacy Sync in-content pref screens. r=markh
MozReview-Commit-ID: Blpdd3jeeww
2017-01-19 11:52:37 -05:00
Gabor Krizsanits
fcef34662d Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-23 14:15:30 +01:00
Jared Wein
2f3485be23 Bug 1330977 - Flex the labels of boxes that have Learn More links on them. r=mconley
This is to make sure that the text will wrap and not force the box to have its full width. Also set white-space:nowrap on the Learn More link to prevent the short text from breaking across lines since it is expected to be such a short string in most locales.

MozReview-Commit-ID: IhTKomU3WbW
2017-01-13 12:50:25 -05:00
Wes Kocher
38c6dd3511 Backed out changeset 0c891a3aff93 (bug 1303113) for test-oop-extensions failures a=backout CLOSED TREE
MozReview-Commit-ID: AU5hIBAmFKw
2017-01-19 11:29:42 -08:00
Gijs Kruitbosch
884c7dd255 Bug 1312216 - followup: also init _openedURL to null for the subdialogs singleton to squash the strict warning, rs=me,trivial,firebot,etc.
MozReview-Commit-ID: FQTEI7jYGyq
2017-01-19 16:57:01 +00:00
Gabor Krizsanits
ec2547e4d7 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-19 17:43:05 +01:00
Alan Xu
5910494007 Bug 1312216 - Changed delete this._openedURL and set it as null instead. There was a strict warning. r=Gijs
MozReview-Commit-ID: 3s3cojJVXcE
2017-01-17 16:52:47 -08:00
Fischer.json
1256ed6c44 Bug 1331318 - Add learn more link in the Site Data section r=Gijs
MozReview-Commit-ID: 1PdUr7q1sYk
2017-01-16 14:59:38 +08:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00