Commit Graph

18108 Commits

Author SHA1 Message Date
Nicholas Nethercote
3a80622aef Bug 1562305 - Make browser.cache.disk.max_entry_size a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37187

--HG--
extra : moz-landing-system : lando
2019-07-11 04:12:36 +00:00
Nicholas Nethercote
88e439b4ec Bug 1562305 - Make browser.cache.disk.preload_chunk_count a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37186

--HG--
extra : moz-landing-system : lando
2019-07-11 04:12:19 +00:00
Andrea Marchesini
349490892d Bug 1564910 - Update the social-tracking features with the new classification tables, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D37574

--HG--
extra : moz-landing-system : lando
2019-07-11 08:07:26 +00:00
Nicholas Nethercote
33a8904ee9 Bug 1562305 - Make browser.cache.disk.free_space_hard_limit a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37185

--HG--
extra : moz-landing-system : lando
2019-07-11 04:11:59 +00:00
Nicholas Nethercote
f9f6ad5ff4 Bug 1562305 - Make browser.cache.disk.free_space_soft_limit a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37183

--HG--
extra : moz-landing-system : lando
2019-07-11 04:11:41 +00:00
Nicholas Nethercote
4dada5f88a Bug 1562305 - Make browser.cache.memory.capacity a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37182

--HG--
extra : moz-landing-system : lando
2019-07-11 04:11:39 +00:00
Nicholas Nethercote
678da168fa Bug 1562305 - Make browser.cache.disk.smart_size.enabled a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37181

--HG--
extra : moz-landing-system : lando
2019-07-11 04:40:17 +00:00
Nicholas Nethercote
0912179ccc Bug 1562305 - Make browser.cache.disk.metadata_memory_limit a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37179

--HG--
extra : moz-landing-system : lando
2019-07-11 04:40:17 +00:00
Nicholas Nethercote
dcb65203e0 Bug 1562305 - Make browser.cache.memory.enable a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37178

--HG--
extra : moz-landing-system : lando
2019-07-11 04:10:13 +00:00
Nicholas Nethercote
17b83b6b8b Bug 1562305 - Make browser.cache.disk.enable a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37177

--HG--
extra : moz-landing-system : lando
2019-07-11 04:09:50 +00:00
Barret Rennie
d1ae9df85d Bug 1289211 - Rename InfallibleTArray to nsTArray in netwerk/ r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D36966

--HG--
extra : moz-landing-system : lando
2019-07-10 03:33:21 +00:00
Joel Maher
46c8e2539b Bug 1562745 - use debug builds for macosx1014 tests and disable text-utf8.html, stream-safe-creation.any.sharedworker.html, test_captive_portal_service.js temporarily r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D37458

--HG--
extra : moz-landing-system : lando
2019-07-10 07:02:43 +00:00
Dorel Luca
0987691994 Backed out changeset 78c77633f61f (bug 1562745) for WPT failures in signed-exchange/reporting/sxg-reporting-navigation-mi_error.tentative.html
--HG--
extra : rebase_source : 80c0911bea57a0a54787b2694efe622079e6c146
2019-07-10 06:53:18 +03:00
Joel Maher
0236569496 Bug 1562745 - use debug builds for macosx1014 tests and disable text-utf8.html, stream-safe-creation.any.sharedworker.html, test_captive_portal_service.js temporarily r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D37458

--HG--
extra : moz-landing-system : lando
2019-07-09 18:52:40 +00:00
Thomas Nguyen
2beb089527 Bug 1557346 - Limit referer header length r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35990

--HG--
extra : moz-landing-system : lando
2019-07-09 17:47:22 +00:00
Byron Campen [:bwc]
0f9ef24e81 Bug 1562341: Set mNegotiatedIdLimit when the channel opens, and remove some code that was stomping our initially chosen max streams. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D36517

--HG--
extra : moz-landing-system : lando
2019-07-08 16:08:56 +00:00
Junior Hsu
d6358eae4b Bug 1559707 - Not using heuristic expiration time for non-cacheable requests r=mayhemer
(a) Parse `Cache-Control:public`. Intentionally not serializing in `IPC::ParamTraits::Write` since HttpChannelChild hasn't used at this moment.
(b) Don't calculate heuristic expiration time for non-cacheable requests (e.g., 302, 304, 307 without	CC:public/private)

Differential Revision: https://phabricator.services.mozilla.com/D35956

--HG--
extra : moz-landing-system : lando
2019-07-09 17:11:42 +00:00
Gurzau Raul
5c79b4341a Backed out changeset 9ba600ae3c02 (bug 1557346) for eslint failure at netwerk/test/unit/test_referrer.js on a CLOSED TREE. 2019-07-09 18:17:15 +03:00
Thomas Nguyen
64a9d9fea9 Bug 1557346 - Limit referer header length r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35990

--HG--
extra : moz-landing-system : lando
2019-07-09 14:44:27 +00:00
Ehsan Akhgari
0acaebd2c2 Bug 1562837 - Ensure that the fields stored in the nsHttpConnectionInfo hash key are properly preserved when rebuilding it upon a change to the isolation flag; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37321

--HG--
extra : moz-landing-system : lando
2019-07-09 14:28:44 +00:00
Honza Bambas
f38f54b139 Bug 1562315 - Respect again=false indicated by http2 session when calling through TLSFilterTransaction, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D37391

--HG--
extra : moz-landing-system : lando
2019-07-09 13:52:27 +00:00
Boris Zbarsky
09180be6ec Add tests for the comma-separation aspect of the network.trr.excluded-domains preference. No bug. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D37308

--HG--
extra : moz-landing-system : lando
2019-07-09 04:15:43 +00:00
Brindusan Cristian
104c343759 Backed out changeset a8520d54fccb for ESlint failure at test_trr.js:684:30. CLOSED TREE 2019-07-09 01:23:51 +03:00
Boris Zbarsky
669d84824b Add tests for the comma-separation aspect of the network.trr.excluded-domains preference. No bug. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D37308

--HG--
extra : moz-landing-system : lando
2019-07-08 20:45:41 +00:00
Jonathan Kingston
31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Christoph Kerschbaumer
69901eb74f Bug 1497190: Apply Meta CSP to about:cache-entry.
Differential Revision: https://phabricator.services.mozilla.com/D37212

--HG--
extra : moz-landing-system : lando
2019-07-08 07:58:35 +00:00
Honza Bambas
269532026a Bug 1563538 - Propagate close reason through TLSFilterTransaction to allow tunnel stream reuse when possible + close the undelying tunnel stream when a tunneling connection is closed, r=dragana,kershaw+kershaw
Differential Revision: https://phabricator.services.mozilla.com/D37122

--HG--
extra : moz-landing-system : lando
2019-07-07 13:01:40 +00:00
Honza Bambas
b8829c6ba7 Bug 1556491 - Always close http transactions from nsHttpConnection::CloseTransaction even when the connection or its filter does not refer any, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D37102

--HG--
extra : moz-landing-system : lando
2019-07-06 20:17:59 +00:00
Kershaw Chang
a53a39a584 Bug 1563824 - New error NS_ERROR_TOO_MANY_REQUESTS for 429 response r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37140

--HG--
extra : moz-landing-system : lando
2019-07-06 21:46:00 +00:00
Sylvestre Ledru
2bf505b023 Bug 1562642 - Add missing MPL2 headers r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D37053

--HG--
extra : moz-landing-system : lando
2019-07-05 17:05:57 +00:00
Andrea Marchesini
ac791bf6a1 Bug 1558299 - Add a pref to treat File: URLs as unique origins, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36920

--HG--
extra : moz-landing-system : lando
2019-07-05 09:16:06 +00:00
Dragana Damjanovic
ba0a6b8b4d Bug 1563695 - Do not close SpdyConnectTransaction in TLSFilterTransaction. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37048

--HG--
extra : moz-landing-system : lando
2019-07-05 18:54:34 +00:00
Honza Bambas
436942424d Bug 1563803 - Backout bug 1562315 for causing regressions, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D37103

--HG--
extra : moz-landing-system : lando
2019-07-05 19:13:33 +00:00
Victor Porof
4bd76df603 Bug 1561435 - Fix linting errors for netwerk/, r=standard8
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35920

--HG--
extra : source : fd273b25480e88ff03e1009588f831de08e171f6
extra : intermediate-source : 34d49f0e83e16be8ddce2aba23a16eeb9f6751d1
2019-06-21 13:55:36 -07:00
Victor Porof
2c53a5dcd9 Bug 1561435 - Format netwerk/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35919

--HG--
extra : source : afa5bd771feba466ba7670c58f3d93233a14e202
2019-07-05 10:55:23 +02:00
Razvan Maries
daed363fd7 Merge mozilla-inbound to mozilla-central a=merge 2019-07-05 00:40:17 +03:00
ffxbld
c3dff17808 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D36908

--HG--
extra : moz-landing-system : lando
2019-07-04 13:06:12 +00:00
Andrea Marchesini
1cb27e6f3a Bug 1561210 - Pass samesite-none-secure WPTs, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D35762

--HG--
extra : moz-landing-system : lando
2019-07-03 18:18:27 +00:00
arthur.iakab
7bc47eec9b Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE
Backed out changeset 83590619ce06 (bug 1552168)
Backed out changeset 7ff83cc5d33a (bug 1552168)
2019-07-03 16:08:23 +03:00
Sebastian Streich
ce99ef5438 Bug 1552168 - Fix Tests that rely on data_uri.unique_opaque_origin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35006

--HG--
extra : moz-landing-system : lando
2019-07-03 10:23:46 +00:00
Sebastian Streich
e7a3fe847e Bug 1552168 - Remove Pref data_uri.unique_opaque_origin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35005

--HG--
extra : moz-landing-system : lando
2019-07-03 10:23:29 +00:00
Kershaw Chang
c1a051b5ed Bug 1559865 - No need to set offline flag in ChildDNSService r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D35212

--HG--
extra : moz-landing-system : lando
2019-06-28 06:44:03 +00:00
Arpit Bharti
3ac5afd32b Bug 1083971 - Add an option to output a binary file for the PSL data r=leplatrem,erahm
Differential Revision: https://phabricator.services.mozilla.com/D34364

--HG--
extra : moz-landing-system : lando
2019-07-02 12:28:48 +00:00
Kris Maglione
3e44c16cf9 Bug 1541557: Part 5 - Update callers of ChromeScript.sendSyncMessage to use sendQuery instead. r=nika
Since JSWindowActors don't have direct access to synchronous messaging,
ChromeScript callers are going to need to migrate to asynchronous messaging
and queries instead.

Since there's no comparable API to sendQuery for frame message managers, this
patch adds a stub that uses synchronous messaging, but makes the API appear
asynchronous, and migrates callers to use it instead of direct synchronous
messaging. This will be replaced with a true synchronous API in the actor
migration.

Fortunately, most of the time, this actually leads to simpler code. The
`sendQuery` API doesn't have the odd return value semantics of
`sendSyncMessage`, and can usually just be used as a drop-in replacement. Many
of the `sendSyncMessage` callers don't actually use the result, and can just
be changed to `sendAsyncMessage`. And many of the existing async messaging
users can be changed to just use `sendQuery` rather than sending messages and
adding response listeners.

However, the APZ code is an exception. It relies on intricate properties of
the event loop, and doesn't have an easy way to slot in promise handlers, so I
migrated it to using sync messaging via process message managers instead.

Differential Revision: https://phabricator.services.mozilla.com/D35055

--HG--
extra : rebase_source : d5707e87f293a831a5cf2e0b0a7e977090267f78
extra : source : 75ebd6fce136ab3bd0e591c2b8b2d06d3b5bf923
2019-06-12 12:40:51 -07:00
Kris Maglione
f70e67ad2d Bug 1541557: Part 4 - Stop relying on synchronous preference getters/setters. r=nika
The SpecialPowers set*Pref/get*Pref APIs currently use synchronous messaging
to set and get preference values from the parent process. Aside from directly
affecting callers of those APIs, it also affects callers of `pushPrefEnv`,
which is meant to be asynchronous, but is in practice usually synchronous due
to the synchronous messaging it uses.

This patch updates the getPref APIs to use the in-process preference service
(which most callers are expecting anyway), and also updates the callers of
the setPref and pushPrefEnv APIs to await the result if they're relying on it
taking effect immediately.

Unfortunately, there are some corner cases in tests that appear to only work
because of the quirks of the current sync messaging approach. The synchronous
setPref APIs, for instance, trigger preference changes in the parent
instantly, but don't update the values in the child until we've returned to
the event loop and had a chance to process the notifications from the parent.
The differnce in timing leads some tests to fail in strange ways, which this
patch works around by just adding timeouts.

There should be follow-ups for test owners to fix the flakiness.

Differential Revision: https://phabricator.services.mozilla.com/D35054

--HG--
extra : rebase_source : 941298157e7c82f420cf50ce057154ce9b85301c
extra : source : 189dc8a359815e059a4a217f788d183260bb2bfe
2019-06-13 09:34:39 -07:00
Honza Bambas
d056f02e32 Bug 1562315 - Respect again=false indicated by http2 session when calling through TLSFilterTransaction, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D36384

--HG--
extra : moz-landing-system : lando
2019-07-01 14:26:34 +00:00
Valentin Gosu
a09f77fb6b Bug 1551601 - When performing a cross process redirect update the loadInfo to have the correct browsingContext r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35839

--HG--
extra : moz-landing-system : lando
2019-06-30 20:20:51 +00:00
Narcis Beleuzu
dcc603a037 Backed out changeset 2719ba46ac12 (bug 1551601) for causing xpcshell failures. CLOSED TREE 2019-06-29 02:41:31 +03:00
Valentin Gosu
8c3c48e159 Bug 1551601 - When performing a cross process redirect update the loadInfo to have the correct browsingContext r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35839

--HG--
extra : moz-landing-system : lando
2019-06-28 21:10:13 +00:00
Honza Bambas
b5a80ffb5e Bug 1562233 - Add logging of CONNECT requests with headers, add possibility to disable authorization headers sanitization by a preference (default is sanitization enabled), r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D36336

--HG--
extra : moz-landing-system : lando
2019-06-28 17:50:43 +00:00