Commit Graph

1264 Commits

Author SHA1 Message Date
Andrei Oprea
2b0e3b9b26 Bug 1434751 - Add Restore Defaults button to Home r=Mardak
MozReview-Commit-ID: 5NRxEhPIImg
2018-07-03 20:02:26 +02:00
Dave Townsend
0f2c3bd648 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan, r=mixedpuppy
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
Differential Revision: https://phabricator.services.mozilla.com/D1850
Differential Revision: https://phabricator.services.mozilla.com/D1869
2018-06-28 16:06:09 -07:00
Brindusan Cristian
d94fd86e60 Backed out changeset b11aa832c41a (bug 1453751) for Mochitest-15 failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_filter.html. CLOSED TREE 2018-06-28 23:15:49 +03:00
Dave Townsend
ebc2c6ff75 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
Differential Revision: https://phabricator.services.mozilla.com/D1850
2018-06-04 12:53:55 -07:00
Paolo Amadini
fddb8800ed Bug 1435688 - Part 2 - Replace "listitem-iconic" with "richlistitem" in the application manager dialog and adjust the styling. r=bgrins
MozReview-Commit-ID: 9qykVWLV23j
2018-06-23 20:59:01 +01:00
Paolo Amadini
a80747f919 Bug 1446362 - Part 2 - Remove "tree" from the permission preferences. r=johannh
MozReview-Commit-ID: 9IYpH8SvsCw
2018-06-22 14:13:53 +01:00
Paolo Amadini
b1d9b2d183 Bug 1446362 - Part 1 - Refactor tests to reduce some duplication. r=johannh
MozReview-Commit-ID: 2m0Oymlh51z
2018-06-22 14:13:41 +01:00
Cosmin Sabou
42e854deed Backed out changeset 638eb8a41245 (bug 1453751) for frequent linux debug e-10s failures on test_ext_webrequest_filter.html 2018-06-26 07:29:35 +03:00
Dave Townsend
e6cce6de21 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
2018-06-04 12:53:55 -07:00
Johann Hofmann
afbf74cb67 Bug 1462471 - Link to permission preferences from the identity popup permissions section. r=prathiksha
MozReview-Commit-ID: 4XNBfztgWOG
2018-06-01 23:17:52 +02:00
kanika
b75efc14de Bug 1428847 - Move is_hidden and is_visible helper functions into BrowserTestUtils.jsm. r=johannh
MozReview-Commit-ID: 2xshA0CAPgY
2018-03-22 21:14:23 +05:30
Joel Maher
d0823df1ef Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Dale Harvey
2675982a0f Bug 1466129 - Add default value to pref. r=johannh
MozReview-Commit-ID: 988Co3PD41V
2018-06-01 22:44:20 +01:00
Ed Lee
b3fe19144b 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
2018-05-30 17:32:44 -07:00
Dale Harvey
708beed985 Bug 1458249 - Add autoplay item to about:preferences. r=flod,johannh
MozReview-Commit-ID: AldNoElwH1O
2018-05-03 07:55:53 +01:00
Michael Kohler
538b8c1ce4 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
2018-05-30 18:09:14 +03:00
Michael Kohler
94f27ee7cd Bug 1447952 - Use relative time format in the site data manager. r=johannh 2018-05-30 17:46:54 +03:00
Johann Hofmann
5ce05b6cd0 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau
2018-05-22 16:26:55 +02:00
Dorel Luca
52818bfb04 Backed out changeset bc39ccd992a4 (bug 1462468) for Browser-chomre failures on browser/base/content/test/trackingUI/browser_trackingUI_appMenu.js 2018-05-28 19:11:14 +03:00
Johann Hofmann
0c98acca87 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau
2018-05-22 16:26:55 +02:00
Kris Maglione
e2dad07746 Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87
2018-05-12 18:51:32 -07:00
Kris Maglione
c6695e70cf Bug 1461146: Replace Addon.userDisabled setter with async enable()/disable() methods. r=aswan
MozReview-Commit-ID: Gj2iCsBIdnq
2018-05-12 16:49:35 -07:00
Jared Wein
ad3849895d 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
2018-05-25 13:28:52 -04:00
Mark Hammond
5115b1e19f Bug 1409208 (part 2) - implement disconnect and sanitize functionality. r=eoger,kitcambridge
MozReview-Commit-ID: 3Fqc6MiaQ4O
2018-04-27 09:18:47 +10:00
Mark Hammond
b4bf776fb0 Bug 1409208 (part 1) - Create a functional disconnect dialog. r=eoger,gandalf
MozReview-Commit-ID: GyGzB6pI0vU
2018-04-24 11:17:00 +10:00
Zibi Braniecki
09df11ab43 Bug 1453765 - Switch Fluent from warning to throwing errors when in debug/testing mode. r=Gijs
MozReview-Commit-ID: 1y7FTCPWRxb
2018-05-22 20:49:29 -07:00
Paolo Amadini
4dfb529a97 Bug 1459556 - Part 2 - Remove the "handler" binding. r=bgrins
MozReview-Commit-ID: GOUOKuoR1rs
2018-05-22 18:39:28 +01:00
Paolo Amadini
41a6515106 Bug 1459556 - Part 1 - Remove the implementation from the "handler" binding. r=jaws
MozReview-Commit-ID: IN1C5NC9Rzb
2018-05-16 11:45:19 +01:00
Zibi Braniecki
25701066bc Bug 1461048 - Convert Fluent API calls to FluentDOM 0.3.0. r=mossop
MozReview-Commit-ID: K3eA8blcP2x
2018-05-14 12:37:41 -07:00
Alex
baaf1f7651 Bug 1447978 - Update strings to remove first person, r=flod,jaws
MozReview-Commit-ID: 8M5AyCeqFgT
2018-05-13 13:16:51 -07:00
Jonathan Kingston
d9f3ed0547 Bug 1457620 - Expose shield preference toggle to all locales and move code to not being injected. r=flod,Gijs,mythmon
MozReview-Commit-ID: 4uZSdqqAlG8
2018-05-05 11:07:08 +01:00
Zibi Braniecki
31f4a23b3f Bug 1457021 - Migrate the JS of Preferences::SitePermissions to Fluent. r=flod,jaws
MozReview-Commit-ID: Fe4Q6CnTcuj
2018-04-25 16:24:39 -07:00
Zibi Braniecki
78189ddbb4 Bug 1457021 - Migrate the JS of Preferences::SiteData to Fluent. r=flod,johannh
MozReview-Commit-ID: 5sYMU3dDTRy
2018-04-23 10:12:21 -07:00
Zibi Braniecki
153375bcd2 Bug 1457021 - Migrate the JS of Preferences::Fonts to Fluent. r=flod,jaws
MozReview-Commit-ID: A5yrLylYBjm
2018-04-19 17:12:18 -07:00
Zibi Braniecki
674fbdf08d Bug 1457948 - Migrate in-content/privacy.js to Fluent. r=flod,jaws
MozReview-Commit-ID: 7K7Wgm5ahTL
2018-04-30 10:29:18 -07:00
Dorel Luca
995f173383 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
c71bdde78e Bug 1457948 - Migrate in-content/privacy.js to Fluent. r=flod,jaws
MozReview-Commit-ID: 7K7Wgm5ahTL
2018-04-30 10:29:18 -07:00
Paolo Amadini
57cb774050 Bug 1457027 - Part 8 - Add a HandlerListItem class. r=jaws
MozReview-Commit-ID: 2ohtRX1w0D3
2018-05-04 15:57:43 +01:00
Paolo Amadini
4db7cff22c Bug 1457027 - Part 7 - Move action icon getters to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 9wRCqdtIqiG
2018-05-04 15:07:41 +01:00
Paolo Amadini
19193c4dbc Bug 1457027 - Part 6 - Move _describePreferredAction to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 8b0H6g9qawF
2018-05-04 14:39:18 +01:00
Paolo Amadini
e5cc2fb617 Bug 1457027 - Part 5 - Move _describeType to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: NjmxPwLngc
2018-05-04 14:17:50 +01:00
Paolo Amadini
6b5debbfc8 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
2018-05-07 09:33:36 +01:00
Paolo Amadini
b4a42ace63 Bug 1457027 - Part 3 - Unify references to bundlePreferences. r=jaws
MozReview-Commit-ID: G2kfPdCyaXx
2018-05-04 14:10:10 +01:00
Paolo Amadini
70cd3b19ea Bug 1457027 - Part 2 - Define services using defineLazyServiceGetters. r=jaws
MozReview-Commit-ID: J33LwkbMhS1
2018-05-03 14:39:42 +01:00
Paolo Amadini
de602e322f 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
2018-04-30 11:11:48 +01:00
Dorel Luca
85a9a93e8f Merge mozilla-central to mozilla-inbound 2018-05-03 13:03:06 +03:00
Andrea Marchesini
2d1855f728 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
1cd04ad0d5 Bug 1457720 - Force the left-to-right direction when displaying a custom download path. r=gandalf
MozReview-Commit-ID: B7hYMi96Zyg
2018-05-01 17:12:31 +01:00
Michael Kohler
ead29c87af 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
2a3c4c8d10 Bug 1457252 - Ensure l10n and initialization are done before sizing the subdialog. r=Gijs
MozReview-Commit-ID: 8YMpRuzz04A
2018-04-30 16:58:22 -07:00