Commit Graph

2239 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
Kanika Saini
d5bdf8d25b Bug 1467062 - Permissions Policy added to configure camera, microphone, location and notifications r=Felipe
MozReview-Commit-ID: IqpEboxHjjt
2018-06-06 15:43:26 +05:30
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
Paolo Amadini
0e3a908119 Bug 1467713 - Part 4 - Replace "var" with "let" and remove the parameter prefix. r=jaws
MozReview-Commit-ID: 61k7xS2MlKr
2018-06-05 17:30:43 +01:00
Paolo Amadini
84bead32a3 Bug 1467713 - Part 3 - Remove the unused setOrigin function. r=jaws
MozReview-Commit-ID: 3CpU7zY9JFJ
2018-06-05 15:27:24 +01:00
Paolo Amadini
a1972ba359 Bug 1467713 - Part 2 - Reorder "permissions.js" to match "sitePermissions.js". r=jaws
Reordering the functions makes it easier to port the implementation across the files and merge them eventually.

MozReview-Commit-ID: EkVbTA0YEQ5
2018-06-05 15:26:14 +01:00
Paolo Amadini
a445520767 Bug 1467713 - Part 1 - Rename functions in "permissions.js" to match "sitePermissions.js". r=jaws
MozReview-Commit-ID: KeF5mcVvVHl
2018-06-05 15:12:39 +01: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
Trisha Gupta
d422ac88ed Bug 1442303 - The arrow for sort is missing in Exceptions dialogues r=johannh
MozReview-Commit-ID: CntCTeVC91U
2018-05-25 22:53:43 +08: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 Banner
d9f890e77d Bug 824502 - Fix unit tests for the folder=<id> to parent=<guid> transition. r=mak
MozReview-Commit-ID: FCaiJrSAMAV
2018-05-01 08:14:53 +01:00
Trisha
536c51c30c Bug 1451412 - Use a DocumentFragment to build the site data list r=johannh
MozReview-Commit-ID: 5TbwqwmW5Q1
2018-05-24 03:49:33 +08: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
Zibi Braniecki
4e236efaad Bug 1460654 - Trigger eager l10n for listbox items in Preferences::Languages subdialog to avoid overflow. r=jaws
MozReview-Commit-ID: 6MR2YFbubYX
2018-05-10 13:50:33 -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
3d0703ba49 Bug 1457021 - Fix a mangled message ID order in a Preferences::Permissions JS dialog. r=Gijs
MozReview-Commit-ID: JeAxaSTWllA
2018-04-27 15:38:22 -07: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
122ece196b Bug 1457021 - Migrate the JS of Preferences::Translation to Fluent. r=Gijs
MozReview-Commit-ID: 8UTYUyOvnBz
2018-04-25 15:51:15 -07:00
Zibi Braniecki
014c80c8b9 Bug 1457021 - Migrate the JS of Preferences::Languages to Fluent. r=flod,Gijs
MozReview-Commit-ID: 6RTJGkrhoWY
2018-04-25 15:46:50 -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
7db233e9d2 Bug 1457021 - Migrate the JS of Preferences::Blocklists to Fluent. r=flod,Gijs
MozReview-Commit-ID: DlcJNPukzHW
2018-04-19 16:59:44 -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