ffxbld
28af937c05
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/D38478
--HG--
extra : moz-landing-system : lando
2019-07-18 12:58:04 +00:00
Ciure Andrei
d835b44a76
Merge inbound to mozilla-central. a=merge
2019-07-18 06:46:41 +03:00
Kris Maglione
0962c2b731
Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
...
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.
There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.
Differential Revision: https://phabricator.services.mozilla.com/D38247
--HG--
extra : rebase_source : 39ba8fec2e882cfe577c5f2b58ab7e4b461f1178
2019-07-15 16:19:32 -07:00
sagudev
002e466982
Bug 1458624 - Firefox on Linux now sends signal strength to geolocation API as RSSI dBm instead of a percentage. r=cpeterson
...
Differential Revision: https://phabricator.services.mozilla.com/D38266
--HG--
extra : moz-landing-system : lando
2019-07-17 19:11:19 +00:00
Bogdan Tara
c1cc91034d
Backed out changeset 4361f6129d9a (bug 1563313) for org.mozilla.geckoview.test.NavigationDelegateTest.bypassClassifier failures CLOSED TREE
2019-07-16 23:36:48 +03:00
Bogdan Tara
57a3682672
Backed out changeset 27196ff54fd7 (bug 1565242) for failing an assertion on nsHttpConnectionMgr.cpp CLOSED TREE
2019-07-16 23:20:15 +03:00
Honza Bambas
656f3ea448
Bug 1565242 - Remove HTTP/2 connection (e2e or proxy) from the opposite (an)onymous connection entry in case it cannot be found in the entry the connection is associated with because of HTTP/2 (an)onymous connection pool sharing, r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D37881
--HG--
extra : moz-landing-system : lando
2019-07-16 18:10:11 +00:00
Andrea Marchesini
e1f54861b2
Bug 1563313 - AsyncApplyFilters must set mProxyInfo only when if it has not already been canceled, r=mayhemer
...
Otherwise, in the CTOR, we crash becaues of MOZ_ASSERT(!mProxyInfo);
Differential Revision: https://phabricator.services.mozilla.com/D37162
--HG--
extra : moz-landing-system : lando
2019-07-16 14:17:57 +00:00
Andrea Marchesini
1e26dbaec1
Bug 1563313 - Remove too strict assertions in nsHttpChannel, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37161
--HG--
extra : moz-landing-system : lando
2019-07-16 14:17:32 +00:00
Narcis Beleuzu
e9a87db244
Backed out changeset a73d370a3a6f (bug 1555927) for wpt failures on heuristic.html. CLOSED TREE
2019-07-16 18:31:17 +03:00
Andrea Marchesini
5d380990f9
Bug 1563313 - URL-Classifier should process nsIChannel before the proxy, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D36872
--HG--
extra : moz-landing-system : lando
2019-07-16 14:16:49 +00:00
Kershaw Chang
744362fa21
Bug 1555927 - Cache 204 response r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D35710
--HG--
extra : moz-landing-system : lando
2019-07-16 12:16:35 +00:00
Kershaw Chang
da32dacc50
Bug 1309358 - P2: Add wildcard to Access-Control-Allow-Method and Access-Control-Allow-Headers r=baku,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D36990
--HG--
extra : moz-landing-system : lando
2019-07-16 08:50:42 +00:00
Byron Campen [:bwc]
1353b31f42
Bug 1555792: Disable the socket process if e10s is disabled. r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D37506
--HG--
extra : moz-landing-system : lando
2019-07-11 17:00:37 +00:00
Mihai Alexandru Michis
2f578529ea
Backed out changeset 91f2821b4bfa (bug 1563313) for xpcshell failures CLOSED TREE
2019-07-16 00:15:17 +03:00
Mihai Alexandru Michis
7441986e1b
Backed out 2 changesets (bug 1563313) for failures in test_protocolproxyservice.js CLOSED TREE
...
Backed out changeset 0585bc6ff55b (bug 1563313)
Backed out changeset 3b9ef89d8c5c (bug 1563313)
2019-07-15 23:57:57 +03:00
Andrea Marchesini
8966ad5733
Bug 1563313 - AsyncApplyFilters must set mProxyInfo only when if it has not already been canceled, r=mayhemer
...
Otherwise, in the CTOR, we crash becaues of MOZ_ASSERT(!mProxyInfo);
Differential Revision: https://phabricator.services.mozilla.com/D37162
--HG--
extra : moz-landing-system : lando
2019-07-15 13:07:06 +00:00
Andrea Marchesini
df13ef56db
Bug 1563313 - Remove too strict assertions in nsHttpChannel, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37161
--HG--
extra : moz-landing-system : lando
2019-07-15 13:07:07 +00:00
Andrea Marchesini
4e5ad511f5
Bug 1563313 - URL-Classifier should process nsIChannel before the proxy, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D36872
--HG--
extra : moz-landing-system : lando
2019-07-15 19:57:23 +00:00
Byron Campen [:bwc]
6480f0a928
Bug 1560636: Avoid using main thread with PMediaTransport. r=mjf,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D36818
--HG--
extra : moz-landing-system : lando
2019-07-15 15:49:30 +00:00
Byron Campen [:bwc]
0ef1037a0d
Bug 1553789: Don't connect unless our transport is the one that is ready. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D37898
--HG--
extra : moz-landing-system : lando
2019-07-15 14:10:03 +00:00
Boris Zbarsky
5062731c15
Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37968
--HG--
extra : moz-landing-system : lando
2019-07-15 13:39:51 +00:00
Ciure Andrei
6a2a7ad8b6
Backed out 3 changesets (bug 1563313) for causing various xpcshell tests to perma fail CLOSED TREE
...
Backed out changeset 55ecf0dacd00 (bug 1563313)
Backed out changeset 624d3e47b069 (bug 1563313)
Backed out changeset 5c7df32d9028 (bug 1563313)
2019-07-15 15:46:04 +03:00
Andrea Marchesini
50b96b3edb
Bug 1563313 - AsyncApplyFilters must set mProxyInfo only when if it has not already been canceled, r=mayhemer
...
Otherwise, in the CTOR, we crash becaues of MOZ_ASSERT(!mProxyInfo);
Differential Revision: https://phabricator.services.mozilla.com/D37162
--HG--
extra : moz-landing-system : lando
2019-07-15 11:37:08 +00:00
Andrea Marchesini
4076bcdc91
Bug 1563313 - Remove too strict assertions in nsHttpChannel, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37161
--HG--
extra : moz-landing-system : lando
2019-07-15 11:38:09 +00:00
Andrea Marchesini
4125bd28aa
Bug 1563313 - URL-Classifier should process nsIChannel before the proxy, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D36872
--HG--
extra : moz-landing-system : lando
2019-07-15 11:35:59 +00:00
Honza Bambas
3f225511a3
Bug 1565518, emergency preferences to turn off individual bug fixes: 1563695, 1556491, 1562315, r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D37848
--HG--
extra : moz-landing-system : lando
2019-07-12 12:55:41 +00:00
Michal Novotny
4e82c1dc19
Bug 1556487 - Replace HttpChannelParentListener with a more generic class, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37573
--HG--
rename : netwerk/protocol/http/HttpChannelParentListener.cpp => netwerk/protocol/http/ParentChannelListener.cpp
rename : netwerk/protocol/http/HttpChannelParentListener.h => netwerk/protocol/http/ParentChannelListener.h
extra : moz-landing-system : lando
2019-07-11 16:06:06 +00:00
Kershaw Chang
ba0fa23495
Bug 1563821 - Check if content child is shuttingdown before create SocketProcessBridgeChild r=jld
...
Differential Revision: https://phabricator.services.mozilla.com/D37776
--HG--
extra : moz-landing-system : lando
2019-07-11 22:42:05 +00:00
ffxbld
7c0acde6a7
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/D37716
--HG--
extra : moz-landing-system : lando
2019-07-11 12:55:28 +00:00
Nicholas Nethercote
2a3b9bca8d
Bug 1562305 - Make privacy.sanitize.sanitizeOnShutdown and privacy.clearOnShutdown.cache static prefs. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37195
--HG--
extra : moz-landing-system : lando
2019-07-11 04:38:36 +00:00
Nicholas Nethercote
0001b36344
Bug 1562305 - Make browser.cache.max_shutdown_io_lag a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37192
--HG--
extra : moz-landing-system : lando
2019-07-11 04:38:36 +00:00
Nicholas Nethercote
0d47e90e70
Bug 1562305 - Remove browser.cache.compression_level pref. r=michal
...
It's unused.
Differential Revision: https://phabricator.services.mozilla.com/D37191
--HG--
extra : moz-landing-system : lando
2019-07-11 04:13:45 +00:00
Nicholas Nethercote
7f3b5b80c6
Bug 1562305 - Make browser.cache.disk.max_{,priority_}chunks_memory_usage static prefs. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37190
--HG--
extra : moz-landing-system : lando
2019-07-11 04:13:21 +00:00
Nicholas Nethercote
eb1b20a058
Bug 1562305 - Make browser.cache.memory.max_entry_size a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37189
--HG--
extra : moz-landing-system : lando
2019-07-11 04:12:59 +00:00
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
Christian Holler
229fde0285
Bug 1562288 - Properly close FTP stream when base stream was closed. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D36367
--HG--
extra : moz-landing-system : lando
2019-06-28 19:02:17 +00:00
Valentin Gosu
7ab22ff110
Bug 1561005 - Add empty GetNetworkID impl for Android r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D35883
--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:05 +00:00
Valentin Gosu
49e0220e23
Bug 1561005 - Implement nsINetworkLinkService.networkID on mac r=michal
...
Depends on D35780
Differential Revision: https://phabricator.services.mozilla.com/D35781
--HG--
extra : moz-landing-system : lando
2019-06-28 12:41:27 +00:00
Valentin Gosu
c657dcfafe
Bug 1561005 - Implement nsINetworkLinkService.networkID on Linux r=michal
...
* calculateNetworkId is now called before sending each ChangeEvent
* mNetworkId is truncated when no IPv4/IPv6 IDs could be computed
Differential Revision: https://phabricator.services.mozilla.com/D35780
--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:09 +00:00
Valentin Gosu
7aa44d1987
Bug 1561005 - Make windows networkID use the INetworkListManager API r=mayhemer,michal
...
Depends on D35683
Differential Revision: https://phabricator.services.mozilla.com/D35684
--HG--
extra : moz-landing-system : lando
2019-06-28 16:35:22 +00:00
Valentin Gosu
ce90534047
Bug 1561005 - Add nsINetworkLinkService.networkID r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D35683
--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:12 +00:00
Valentin Gosu
e19cd483fd
Bug 1395914 - Update histogram with two new values for IPv6 network-id changes r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D34905
--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:14 +00:00
Valentin Gosu
18173f21d2
Bug 1395914 - Figure out network id for IPv6 too (mac) r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D34904
--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:16 +00:00
Valentin Gosu
1fc5fb9a40
Bug 1395914 - Figure out network id for IPv6 too (Linux) r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D34903
--HG--
extra : moz-landing-system : lando
2019-06-28 11:42:18 +00:00
Valentin Gosu
b6e7a0b743
Bug 1561089 - The resultPrincipalURI needs to be set on the loadInfo used for the redirect r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D36301
--HG--
extra : moz-landing-system : lando
2019-06-28 14:25:28 +00:00
Valentin Gosu
7f899f94dd
Bug 1559356 - Make sure dweb URLs have a proper host r=kershaw
...
We want dweb URLs to continue working as before bug 1536744 landed.
So we make sure to instantiate it as an nsStandardURL.
This is not a good long-term solution, as we don't want to hardcode
all the various schemes that we want to behave properly.
The fix would be to add a new spec-compliant nsIURI implementation,
based on RustURL and use it for all unknown schemes.
See bug 1561860 for a more complete solution.
Differential Revision: https://phabricator.services.mozilla.com/D36168
--HG--
extra : moz-landing-system : lando
2019-06-28 13:12:49 +00:00
Honza Bambas
ab204e49ee
Bug 1556491 - Close nsHttpConnection.mTLSFilter when transaction of that connection is being closed to correctly carry cancellation status and prevent calls on a closed ssl socket, r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D36111
--HG--
extra : moz-landing-system : lando
2019-06-28 12:45:49 +00:00
Mihai Alexandru Michis
ff9ddc0bc1
Backed out 8 changesets (bug 1395914, bug 1561005) for causing bustages in nsNetworkLinkService and nsNotifyAddrListener.cpp CLOSED TREE
...
Backed out changeset c552aeab0fbf (bug 1561005)
Backed out changeset 61cf9ae8abcf (bug 1561005)
Backed out changeset 5c33e521c0e8 (bug 1561005)
Backed out changeset 82eeb4c5e535 (bug 1561005)
Backed out changeset 6b3b29de9c78 (bug 1561005)
Backed out changeset 719b3b61b9a9 (bug 1395914)
Backed out changeset 2b23587aa5ff (bug 1395914)
Backed out changeset 47f2f3e8d5f9 (bug 1395914)
2019-06-28 14:37:13 +03:00
Valentin Gosu
8673cb0d40
Bug 1561005 - Add empty GetNetworkID impl for Android r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D35883
--HG--
extra : moz-landing-system : lando
2019-06-27 09:03:28 +00:00
Valentin Gosu
1d08465e38
Bug 1561005 - Implement nsINetworkLinkService.networkID on mac r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D35781
--HG--
extra : moz-landing-system : lando
2019-06-27 09:03:11 +00:00