Граф коммитов

49059 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend 9cbfdc7c2d 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

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 53dc0c682bf61d5135fbca172ac5238b414a1771
2018-06-04 12:53:55 -07:00
Andrea Marchesini 99fa4c908a Bug 1470578 - Rename the anti-tracking pref, r=francois 2018-06-25 22:46:13 +02:00
Tom Schuster 2ac3c0911d Bug 1418033 - Test for disabled manual FAYT. r=mikedeboer
--HG--
extra : rebase_source : 2305e99e63d21861eaba71e49cc0026cedd0b08c
2018-06-23 23:34:03 +02:00
Tom Schuster c4ea858a23 Bug 1418033 - Make it possible to disable fast find. r=mikedeboer
--HG--
extra : rebase_source : 9b56558f14cf563e5d2aa4dd7d5948cc796f7fca
2018-05-14 21:49:43 +02:00
Gabriele Svelto b0e9d95a41 Bug 1309172 - Updated breakpad to version 69c2c51dd89965d234eec16e3a9353634831916b; r=ted.mielczarek
This includes both the vanilla sources we haven't forked and the client
sources that we have. Client patches were applied manually up to version
69c2c51dd89965d234eec16e3a9353634831916b. The following changes were not
included as they break merging segments corresponding to libxul.so in the
module list:

8915f7be39448d9257b6da3ad0233944d1d9a92a
17ad0c18b179c135fc5a3d2bba199c3fa4276035
94b6309aecaddfcf11672f6cfad9575d68ad3b40

With these changes applied two entries for libxul.so are generated, the second
one is bogus and prevents symbolication from working correctly.

The build system and some of the tools relying on breakpad were also updated
to work with the new version.

--HG--
extra : source : fe4d49307f8890a0c430c257c96f74a9552eeb31
extra : histedit_source : bc84861445bd93856cd0d0c864fd15ad7d9ccc12%2C1efd65797da46e33481afa61a302098780b0f107
2018-06-19 13:47:13 +02:00
Emilio Cobos Álvarez ccb5a9420c No bug - Remove unneeded DEBUG_FIND ifdef. r=me
MozReview-Commit-ID: DlLynspfZFC
2018-06-25 21:19:31 +02:00
Emilio Cobos Álvarez d07da09344 No bug - Remove useless QI in DEBUG_FIND code. r=me
MozReview-Commit-ID: B6vME1WYne3
2018-06-25 11:43:21 +02:00
Richard Marti 891b94e2c0 Bug 1466826 - Use SVG context paint for the Windows tree twisties. r=dao 2018-06-21 19:13:20 +02:00
Brindusan Cristian d6f7c182cc Merge inbound to mozilla-central. a=merge 2018-06-24 00:45:20 +03:00
arthur.iakab 3b36e964f8 Merge mozilla-central to inbound 2018-06-23 13:00:18 +03:00
Steve Fink 61131abdf5 Bug 1467438 - Need to include Scoped.h (unified bustage) on a CLOSED TREE
--HG--
extra : topic : gcstats.thresh
extra : amend_source : d96346d9d3a926fcc5dae69acbc5a03be9e6231c
extra : histedit_source : d1a6ba693c9270820657439f56661a21e33fabe2
2018-06-22 18:47:08 -07:00
Mark Striemer 97b891af2b Bug 1446101 - Part 2: Convert the all tabs panel to photon styles r=dao
MozReview-Commit-ID: 3VzqnG6X5rw

--HG--
rename : browser/modules/TabsPopup.jsm => browser/modules/TabsList.jsm
extra : rebase_source : f31401acae04607d292972cd4ab783334d2b0242
2018-06-06 15:48:21 -05:00
Sylvestre Ledru b6bef0f0e5 Bug 1466661 - Do not build breakpad md5.cc on Linux r=ted
MozReview-Commit-ID: 5mF8BVX67iW

--HG--
extra : rebase_source : 1d4c1020efe891a820202edb3883120e0e140bcd
2018-06-04 12:08:10 +02:00
Felipe Gomes a26b085c81 Bug 1470525 - Support for not displaying synced tabs in awesomebar results. r=lina
MozReview-Commit-ID: 22Q8S539A4T

--HG--
extra : rebase_source : e20a4e4c8c96ffc8ebf5d0b2a0e008d5ab28a837
2018-06-22 15:36:56 -03:00
Gijs Kruitbosch 3ef7ec26e5 Bug 1464858 - make visually hidden / screenreader content not display:none, r=eeejay
MozReview-Commit-ID: JzO7tyO4wv3

--HG--
extra : rebase_source : 6d06af9208d58b2c958d0fbe73e46251541e76d0
2018-06-19 16:33:19 +01:00
Coroiu Cristina e72433191e Merge inbound to mozilla-central a=merge 2018-06-22 12:55:04 +03:00
Nicholas Nethercote 60b1f563cb Bug 1447951 - Store nsDynamicAtom's chars after the end of the object. r=froydnj
This reduces memory usage because we only need one allocation instead of two
for the dynamic atom and its chars, and because we don't need to store a
refcount and a size. It precludes sharing of chars between dynamic atoms, but
we weren't benefiting much from that anyway.

This reduces per-process memory usage by up to several hundred KiB on my
Linux64 box.

One consequence of this change is that we need to allocate + copy in
DOMString::SetKnownLiveAtom(), which could make some things slower.

--HG--
extra : rebase_source : ba4065ea31e509dd985c003614199f73def0596c
2018-06-22 09:38:42 +10:00
Csoregi Natalia 4b8883ccf9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-22 00:52:50 +03:00
Csoregi Natalia ed1521707f Merge inbound to mozilla-central. a=merge 2018-06-22 00:50:23 +03:00
Luca Greco bd7fd86aa9 Bug 1465129 - Collect telemetry data related to the storage.local "JSONFile to IDBBackend" data migrations. r=mixedpuppy
MozReview-Commit-ID: 3iGv5XkqeA3

--HG--
extra : rebase_source : fc18cd0c43c3930a5fbac3ed86c31835e16bc170
2018-06-17 13:38:02 +02:00
Andrea Marchesini e94f13acd9 Bug 1268889 - Implement Clear-Site-Data header - part 4 - cleanup image cache, r=aosmond 2018-06-20 11:57:50 -04:00
Andrea Marchesini 5a50ce0da9 Bug 1268889 - Implement Clear-Site-Data header - part 2 - pref, r=smaug 2018-06-20 11:57:49 -04:00
Andrea Marchesini 10a98f93d1 Bug 1268889 - Implement Clear-Site-Data header - part 1, r=mayhemer 2018-06-20 11:57:49 -04:00
Andrea Marchesini 4d4dd1f272 Bug 1470109 - Move ServiceWorkerCleanUp.jsm into toolkit/components/cleardata, r=johannh
--HG--
rename : toolkit/forgetaboutsite/ServiceWorkerCleanUp.jsm => toolkit/components/cleardata/ServiceWorkerCleanUp.jsm
2018-06-21 16:50:10 +02:00
Henrik Skupin 4c17debbd5 Bug 1470068 - Rename LOCAL_EME_SOURCES in ProductAddonChecker to LOCAL_GMP_SOURCES. r=cpearce
OpenH264 is not an EME plugin. So listing it under LOCAL_EME_SOURCES
is not appropriate and confusing.

Given that both OpenH264 and WideVine plugins are handled by the GMP
manager, the name of the local sources list should be named like it.

MozReview-Commit-ID: NIXEg2EOm2

--HG--
extra : rebase_source : 2fa5fce316bfd905bc5bac975bab003e670ae9d9
2018-06-21 07:42:59 +02:00
Marco Bonardo 8b73e27320 Bug 1468315 - 'Last seven days' container is missing from history if there are no visits older than 2 days ago. r=Standard8
The query checking which containers should be visible is wrong and skips the day before yesterday.

Differential Revision: https://phabricator.services.mozilla.com/D1725
2018-06-21 09:26:57 +00:00
Narcis Beleuzu dfdddff94d Merge autoland to mozilla-central. a=merge 2018-06-21 12:46:57 +03:00
Makoto Kato 98b8c3e3a6 Bug 1469760 - Add hid.dll and msimg32.dll to delay load dlls r=dmajor
hid.dll and msimg32.dll are unused at start up on Windows 10 RS4, so we can
move these dlls to delay load dll.

Differential Revision: https://phabricator.services.mozilla.com/D1722
2018-06-20 14:24:50 +00:00
Cosmin Sabou 4c18cd4036 Merge inbound to central. a=merge
--HG--
rename : servo/components/style/properties/longhand/box.mako.rs => servo/components/style/properties/longhands/box.mako.rs
2018-06-21 04:16:40 +03:00
arthur.iakab e9b6ae8dd7 Backed out changeset 7f4c085cf228 (bug 1443505) for failing Gtests on Assertion failure TelemetryScalar.cpp:773 2018-06-21 06:20:36 +03:00
Ryan Hunt 27b4840273 Bug 1466146 - Add FlushRasterization as a metric for CONTENT_PAINT_PHASE_WEIGHT. r=mattwoodrow, data-review=francois
--HG--
extra : rebase_source : dcbf77adc7891b5f9ca49627370ce71f64ab3b87
2018-06-05 12:30:42 -05:00
Ryan Hunt 177db04075 Bug 1309442 - Elaborate on descriptions for CONTENT_PAINT histograms. r=mattwoodrow
--HG--
extra : rebase_source : 11c1f656614c0fcbe21b8722c0b1789ffdfe2ea8
2018-06-08 14:01:32 -05:00
Andrea Marchesini 5b9437cad2 Bug 1461921 - Block storage access for third-parties on the tracking protection list - part 5 - Cookies, r=ehsan 2018-06-20 13:38:22 -04:00
Andrea Marchesini 61e21dc2dc Bug 1461921 - Block storage access for third-parties on the tracking protection list - part 4 - ServiceWorkers, r=ehsan 2018-06-20 13:38:22 -04:00
Andrea Marchesini 2174a750d1 Bug 1461921 - Block storage access for third-parties on the tracking protection list - part 3 - BroadcastChannel, r=ehsan 2018-06-20 13:38:22 -04:00
Andrea Marchesini ec2dbec62a Bug 1461921 - Block storage access for third-parties on the tracking protection list - part 2 - First tests for DOM storages, r=ehsan 2018-06-20 13:38:21 -04:00
Kanika Saini 34337d5c9b Bug 1452533 - JsonSchemaValidator should output URL types as URL objects instead of nsIURIs. r=felipe 2018-06-05 19:20:40 +05:30
Andrea Marchesini 1e49c45c00 Bug 1268889 - Implement Clear-Site-Data header - part 4 - cleanup image cache, r=aosmond 2018-06-20 11:57:50 -04:00
Andrea Marchesini aae23cc727 Bug 1268889 - Implement Clear-Site-Data header - part 2 - pref, r=smaug 2018-06-20 11:57:49 -04:00
Andrea Marchesini 2726b1820f Bug 1268889 - Implement Clear-Site-Data header - part 1, r=mayhemer 2018-06-20 11:57:49 -04:00
Andreea Pavel f85f162e83 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-06-20 14:31:42 +03:00
Andreea Pavel 3c701634e0 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-20 14:28:15 +03:00
Ciure Andrei 2da518e733 Backed out 1 changesets (bug 1309172) for breakpad related failures. CLOSED TREE
Backed out changeset 07a62b4e7923 (bug 1309172)
2018-06-20 13:53:07 +03:00
Gabriele Svelto fed336f6f4 Bug 1309172 - Updated breakpad to version 69c2c51dd89965d234eec16e3a9353634831916b; r=ted.mielczarek
This includes both the vanilla sources we haven't forked and the client
sources that we have. Client patches were applied manually up to version
69c2c51dd89965d234eec16e3a9353634831916b. The following changes were not
included as they break merging segments corresponding to libxul.so in the
module list:

8915f7be39448d9257b6da3ad0233944d1d9a92a
17ad0c18b179c135fc5a3d2bba199c3fa4276035
94b6309aecaddfcf11672f6cfad9575d68ad3b40

With these changes applied two entries for libxul.so are generated, the second
one is bogus and prevents symbolication from working correctly.

The build system and some of the tools relying on breakpad were also updated
to work with the new version.

--HG--
extra : source : d91974ddaed2a174d16c136134f9b10dbabd9197
extra : histedit_source : 62c0af582ffa50e4897e4b17fea24ebe1e41b474%2Caea89981f6f92121d16e58e2c4c3928bbea3376f
2018-06-19 13:47:13 +02:00
Andrew McCreight 74bbdfc112 Bug 1467549 - Disable the BackgroundHangReporter in ASan builds. r=Nika
This is causing LSan leaks which don't have an easy fix, and we're
already not running it in debug builds, so it can't hurt too much.

MozReview-Commit-ID: I8nDnWIz9qr

--HG--
extra : rebase_source : 5f46c81aa31db81786941e86121f3dca532413ef
2018-06-07 12:32:57 -07:00
Kris Maglione 647e97eeef Bug 1469686: Fix nonsense in test_temporary and re-enable on win32-debug. r=rhelmer
MozReview-Commit-ID: 32oAFlUsDRq

--HG--
extra : rebase_source : 17e1564120531468b22c049c56b5e691172c6fe4
2018-06-19 13:58:27 -07:00
Dorel Luca b595d82310 Merge mozilla-central to mozilla-inbound 2018-06-20 01:06:23 +03:00
Dorel Luca e06ba10d0b Merge mozilla-inbound to mozilla-central. a=merge 2018-06-20 00:54:45 +03:00
Kris Maglione f28d051cb2 Bug 1469686: Disable test_temporary on Windows debug. r=me,test-only DONTBUILD CLOSED TREE
--HG--
extra : amend_source : 3e16afefb992046010dcaa5709888680f973c709
2018-06-19 13:21:30 -07:00
Tim Nguyen 996e1783ef Bug 1467423 - Make findbar textbox focused state follow theme properties. r=jaws
MozReview-Commit-ID: GfkUVIdmWjw

--HG--
extra : rebase_source : fe80a319a8a092df757dbae3ade800c8b374bfd9
2018-06-19 15:25:49 +01:00