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

19341 Коммитов

Автор SHA1 Сообщение Дата
Daniel Varga c1fc568d90 Backed out changeset 848d0ab187f0 (bug 1614711) for causing build bustages with: use of unstable library feature 'mem_take' error
CLOSED TREE
2020-02-12 19:23:34 +02:00
Sebastian Streich ac5daf49e7 Bug 1594766: Respect Nosniff header for empty content-types r=ckerschb
Backed out changeset 35436d4e7917

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

--HG--
extra : moz-landing-system : lando
2020-02-12 16:20:46 +00:00
Andy Grover b4d51e52e4 Bug 1614711 - Update Neqo crates to 0.1.13 and draft 25 r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D62513

--HG--
extra : moz-landing-system : lando
2020-02-11 23:17:12 +00:00
Mihai Alexandru Michis 31990b30b7 Backed out changeset 4758bb49e763 (bug 1614637) for causing multiple failures.
CLOSED TREE
2020-02-12 17:04:50 +02:00
Michal Novotny b1f514bcc7 Bug 1614637 - ThreadSanitizer: data race [@ assign_assuming_AddRef] vs. [@ operator bool] in CacheStorageService r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D62550

--HG--
extra : moz-landing-system : lando
2020-02-12 13:55:15 +00:00
Valentin Gosu d22fe9878a Bug 1614267 - Don't proxy URI release to the main thread for HttpBaseChannel r=kershaw
Since nsIURIs are thread safe, we don't need to proxy their release to the
main thread.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 12:32:39 +00:00
Kershaw Chang d547f46289 Bug 1614530 - Make nsIOService::UseSocketProcess a static function r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D62421

--HG--
extra : moz-landing-system : lando
2020-02-11 21:03:49 +00:00
Michal Novotny 918ca4b243 Bug 1614629 - Fix freeSpace check in CacheFileIOManager::OverLimitEvictionInternal r=mayhemer
Patch fixes wrong comparison. I also noticed that in bug 979900 I fixed just one freeSpace assignment after GetDiskSpaceAvailable() failure, see https://bugzilla.mozilla.org/show_bug.cgi?id=979900#c14. This patch fixes also other occurrences.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 16:42:59 +00:00
Emilio Cobos Álvarez e5463ecf7f Bug 1614718 - Add two missing includes to unbust thunderbird.
Differential Revision: https://phabricator.services.mozilla.com/D62474

--HG--
extra : moz-landing-system : lando
2020-02-11 19:18:45 +00:00
Eric Rahm 2c08316c5d Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D60341

--HG--
extra : moz-landing-system : lando
2020-02-11 16:20:08 +00:00
Eric Rahm 85f4043512 Bug 1610070 - Part 2: Fix up nsHttpAuthCache UniquePtr usage. r=mayhemer
UniquePtr does not allow for implicit conversion to it's pointer type so we need to rework removing items from the array. This also removes a double lookup on removal.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 16:20:00 +00:00
Nazım Can Altınova a871e83bfc Bug 1608217 - Add innerWindowID into network markers. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D62099

--HG--
extra : moz-landing-system : lando
2020-02-11 10:33:47 +00:00
Emilio Cobos Álvarez 6615ff9fad Bug 1614208 - Stop including AccessibleCaretEventHub and PresShell.h from Selection.h. r=TYLin
And fix a bunch of fallout as we now don't include nsDocShell.h everywhere.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 01:22:29 +00:00
David Major c4e3b2d209 Bug 1613606 - Bonus cleanup of IPC::Principals r=nika
All of these call sites were unnecessarily converting nsIPrincipal* => IPC::Principal => nsIPrincipal*.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 20:52:56 +00:00
Kershaw Chang e9191c0491 Bug 1607194 - P2: Make SSLTokensCache available on socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D58775

--HG--
extra : moz-landing-system : lando
2020-02-10 17:08:57 +00:00
Kershaw Chang ce95c08868 Bug 1607194 - P1: NSS initialization without nsNSSComponent for the socket process r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D58774

--HG--
extra : moz-landing-system : lando
2020-02-10 17:07:26 +00:00
Honza Bambas b759ab8abf Bug 1545909 - Part 2 of 2: Silently fail when appcache is disabled so that we have a cache entry, r=michal
Depends on D61842

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

--HG--
extra : moz-landing-system : lando
2020-02-10 09:12:33 +00:00
Honza Bambas 3dd48dc331 Bug 1545909 - Part 1 of 2: Recheck whether to use appcache on the parent process on the redirected top-level loading channel, r=michal
Differential Revision: https://phabricator.services.mozilla.com/D61842

--HG--
extra : moz-landing-system : lando
2020-02-10 09:15:26 +00:00
Honza Bambas b903fe63d9 Bug 1613362 - Enable some xpcshell tests on Android, wave 1, r=michal
Differential Revision: https://phabricator.services.mozilla.com/D61813

--HG--
extra : moz-landing-system : lando
2020-02-10 09:08:08 +00:00
ffxbld 064dc02d0e 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/D62251

--HG--
extra : moz-landing-system : lando
2020-02-10 13:33:58 +00:00
Masatoshi Kimura af33711937 Bug 1602277 - Limit the data length that the last ditch sniffer will consume. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61810

--HG--
extra : moz-landing-system : lando
2020-02-10 08:26:11 +00:00
Kershaw Chang 7832d37e89 Bug 1607815 - Remove unnecessary MOZ_ASSERT r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61688

--HG--
extra : moz-landing-system : lando
2020-02-10 08:07:48 +00:00
Michal Novotny d50cfdb119 Bug 1611185 - Make HTTP_CACHE_DISPOSITION_2_V2 probe keyed by content type r=valentin
HTTP_CACHE_DISPOSITION_3 is now keyed by content type. Note that probe HTTP_CACHE_DISPOSITION_2 was removed along with the old cache code, so suffix V2 isn't needed anymore.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 08:35:18 +00:00
Ehsan Akhgari 39a68b910d Bug 1322113 - Fix the implementation of the 'from visited' cookie policy in private browsing mode; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D61944

--HG--
extra : moz-landing-system : lando
2020-02-07 10:02:50 +00:00
Valentin Gosu 2cb41f29d9 Bug 1613631 - Remember the effective TRR mode for each request r=dragana
- This is needed when reporting telemetry

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

--HG--
extra : moz-landing-system : lando
2020-02-07 09:42:00 +00:00
Dragana Damjanovic ceda99bbf7 Bug 1613864 - Update TRR timing when record in the cache has been refreshed. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D61990

--HG--
extra : moz-landing-system : lando
2020-02-07 10:46:58 +00:00
Valentin Gosu 8277bba048 Bug 1613497 - Get rid of URIParams in the predictor code r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61748

--HG--
extra : moz-landing-system : lando
2020-02-07 10:55:53 +00:00
Valentin Gosu 6c3dc38ad9 Bug 1613497 - Use the background thread pool for the predictor r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61744

--HG--
extra : moz-landing-system : lando
2020-02-07 10:55:24 +00:00
Gijs Kruitbosch 9632554164 Bug 1606300 - escape filenames in tab titles, save as... dialog and as used by webbrowserpersist, r=valentin
The getDefaultFileName helper function does its own filename parsing using header info
it has previously 'manually' retrieved, so it needs to manually unescape its input.

Meanwhile, NS_GetFilenameFromDisposition is used by webbrowserpersist and for
the title of documents, and so updating that helps ensure better UI as well as
correct filename suggestions when saving from the context menu.

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

--HG--
rename : accessible/tests/mochitest/moz.png => uriloader/exthandler/tests/mochitest/file_with@@funny_name.png
rename : toolkit/components/mediasniffer/test/unit/data/file.webm => uriloader/exthandler/tests/mochitest/file_with[funny_name.webm
extra : moz-landing-system : lando
2020-02-06 18:23:45 +00:00
Nika Layzell c56289e054 Bug 1557739 - Be more consistent with IPC Transport APIs, r=jld
Differential Revision: https://phabricator.services.mozilla.com/D60285

--HG--
extra : moz-landing-system : lando
2020-02-06 22:41:56 +00:00
Dragana Damjanovic 3db443c976 Bug 1613423 - Make sure AsyncResoleWithTrrServer does not depend on confirmationNS of the default server. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D61793

--HG--
extra : moz-landing-system : lando
2020-02-06 18:09:38 +00:00
Narcis Beleuzu e0d2f84cc3 Backed out 2 changesets (bug 1613497) for build bustages on Predictor.cpp . CLOSED TREE
Backed out changeset 4daf20b37baf (bug 1613497)
Backed out changeset 182a8403e7d0 (bug 1613497)
2020-02-06 12:33:02 +02:00
Valentin Gosu a728b8c1eb Bug 1613497 - Get rid of URIParams in the predictor code r=dragana
Depends on D61744

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

--HG--
extra : moz-landing-system : lando
2020-02-06 09:22:44 +00:00
Valentin Gosu 605f7f8a09 Bug 1613497 - Use the background thread pool for the predictor r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61744

--HG--
extra : moz-landing-system : lando
2020-02-06 09:18:03 +00:00
Valentin Gosu 08025af427 Bug 1595572 - Remove NetworkConnectivityService.cpp MOZ_ASSERT("unknown request") r=kershaw
In a corner case race we might receive a notification from the wrong channel.
- mIPv4Channel is loading and calls nsHttpChannel::DoAuthRetry(NS_OK)
- RecheckDNS() is called and mIPv4Channel gets replaced
  we call Cancel for the old channel
- nsHttpChannel::ContinueDoAuthRetry is called, which calls OnStopRequest
  for the old channel
- We hit the assertion because we get the call for the wrong channel

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

--HG--
extra : moz-landing-system : lando
2020-02-05 14:16:52 +00:00
Kershaw Chang 599e6f65d0 Bug 1612362 - Using arrays of array bytes to replace UniqueCERTCertList r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D58608

--HG--
extra : moz-landing-system : lando
2020-01-31 15:09:03 +00:00
Nihanth Subramanya ba28d4e4a2 Bug 1608713 - Add nsIWebNavigation load flags to force TRR mode and use them to load captive portal tabs with TRR disabled. r=valentin,Gijs,baku
Differential Revision: https://phabricator.services.mozilla.com/D60860

--HG--
extra : moz-landing-system : lando
2020-01-24 17:18:35 +00:00
Dragana Damjanovic 2f3c76f02c Bug 1612816 - Implement AsyncResoleWithTrrServer. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D61445

--HG--
extra : moz-landing-system : lando
2020-02-04 19:35:34 +00:00
Dragana Damjanovic 31caeebb2e Bug 1610253 - Expose network timing to trr DNS records. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D60544

--HG--
extra : moz-landing-system : lando
2020-02-04 11:09:11 +00:00
Andrei Oprea 67476c54d8 Bug 1609635 - Whitelist about:newtab/home from content sanitization r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D60701

--HG--
extra : moz-landing-system : lando
2020-02-04 08:37:57 +00:00
Michal Novotny 68a2a76615 Bug 1610810 - FTP download prompt appears while authentication dialog is displayed, r=valentin
Set nsFtpChannel's content-type to application/octet-stream only when downloading a file.

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

--HG--
extra : moz-landing-system : lando
2020-02-03 19:22:37 +00:00
Honza Bambas 17b225e696 Bug 1611483 - Fix `BAD_IP` in netwerk/test/unit/test_trr.js on Android to be 127.9.9.9 to make the test work, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61067

--HG--
extra : moz-landing-system : lando
2020-02-03 08:27:12 +00:00
ffxbld 8715672a5b 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/D61462

--HG--
extra : moz-landing-system : lando
2020-02-03 15:34:55 +00:00
Michal Novotny 90759ceddb Bug 1607142 - Hold lock in CacheFile::IsWriteInProgress to avoid data race r=mayhemer
This method is called on cache I/O thread while the members are modified usually on the main thread which results in data race.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 19:18:06 +00:00
Valentin Gosu 3cf093181f Bug 1610836 - Don't fail TRR_FIRST requests if the TRR service is not ready r=mayhemer
When it's first starting up, when mConfirmationState != CONFIRM_OK
the TRR service is not ready to use.
For TRR_FIRST requests we need to fallback to DNS while the service starts up.

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

--HG--
extra : moz-landing-system : lando
2020-02-01 04:43:14 +00:00
Arthur Iakab 57110a989d Backed out changeset e051d75e66f7 (bug 1610836) for causing connectivity mass test failures.
CLOSED TREE
2020-02-01 02:09:30 +02:00
Valentin Gosu 8ce544c4ce Bug 1610836 - Don't fail TRR_FIRST requests if the TRR service is not ready r=mayhemer
When it's first starting up, when mConfirmationState != CONFIRM_OK
the TRR service is not ready to use.
For TRR_FIRST requests we need to fallback to DNS while the service starts up.

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

--HG--
extra : moz-landing-system : lando
2020-01-31 15:09:18 +00:00
Honza Bambas afc85e4008 Bug 1602313 - Make nsHttpChannel::mCachedContentIsValid an atomic bool, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D60877

--HG--
extra : moz-landing-system : lando
2020-01-31 14:11:20 +00:00
Razvan Maries f783276fb9 Backed out changeset fe27999955a4 (bug 1610836) for multiple perma failures. CLOSED TREE
--HG--
extra : amend_source : 7f648c73ebfbd227abf477d975f033e507cb151b
2020-01-31 17:04:10 +02:00
Valentin Gosu 773c572e19 Bug 1610836 - Don't fail TRR_FIRST requests if the TRR service is not ready r=mayhemer
When it's first starting up, when mConfirmationState != CONFIRM_OK
the TRR service is not ready to use.
For TRR_FIRST requests we need to fallback to DNS while the service starts up.

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

--HG--
extra : moz-landing-system : lando
2020-01-31 14:03:10 +00:00
Valentin Gosu 74f9a5e3d8 Bug 1608114 - Increase the priority of the TRR main thread events r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D61306

--HG--
extra : moz-landing-system : lando
2020-01-31 08:46:44 +00:00
Kershaw Chang 2f7e31abd6 Bug 1600254 - P9: Avoild accessing http channel from transaction r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56730

--HG--
extra : moz-landing-system : lando
2020-01-30 13:38:39 +00:00
Kershaw Chang 4bc096f818 Bug 1600254 - P8: Make nsIInputChannelThrottleQueue work with socket process r=dragana
The only information that devtools needs is the amount of how many bytes readed, so this patch introduces PInputChannelThrottleQueue ipdl for carrying on this information.

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

--HG--
extra : moz-landing-system : lando
2020-01-30 13:32:55 +00:00
Kershaw Chang 98739d4a39 Bug 1600254 - P7: Enable ContentSniffer for socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56206

--HG--
extra : moz-landing-system : lando
2020-01-30 13:56:57 +00:00
Kershaw Chang 04931f96d9 Bug 1600254 - P6: Make H2 push work r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56208

--HG--
extra : moz-landing-system : lando
2020-01-30 13:52:22 +00:00
Kershaw Chang ad3911288e Bug 1600254 - P5: Make TransactionObserver work r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56040

--HG--
extra : moz-landing-system : lando
2020-01-30 13:07:45 +00:00
Kershaw Chang 41300d6e8a Bug 1600254 - P4: Make HttpActivityObserver work in socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56039

--HG--
extra : moz-landing-system : lando
2020-01-30 13:00:11 +00:00
Kershaw Chang a231a369a8 Bug 1600254 - P3: Implement HttpTransactionParent::ResolvedByTRR and HttpTransactionParent::GetProxyConnectResponseCode r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56038

--HG--
extra : moz-landing-system : lando
2020-01-30 12:56:04 +00:00
Kershaw Chang 278afbaea7 Bug 1600254 - P2: Implement HttpTransactionParent::SetDomainLookupStart/End r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56037

--HG--
extra : moz-landing-system : lando
2020-01-30 12:54:18 +00:00
Kershaw Chang cc68e7a697 Bug 1600254 - P1: Send some variables over Init IPC message r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56036

--HG--
extra : moz-landing-system : lando
2020-01-30 12:56:02 +00:00
Honza Bambas 718c54fd9f Bug 1608224 - Update originalURI of the "new" redirect channel used by a view-source channel to let consumers see it has been actually used for view-source, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D60740

--HG--
extra : moz-landing-system : lando
2020-01-29 10:30:09 +00:00
Dimi Lee 3f336cb71f Bug 1599046 - P4. Report content blocking log to console while running in the parent process r=Ehsan
Depends on D57630

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

--HG--
extra : moz-landing-system : lando
2020-01-27 19:23:05 +00:00
Dimi Lee d58587be36 Bug 1599046 - P3. Remove unused IPC method in nsIParentChannel.idl. r=timhuang,Ehsan
The following methods are removed:
1. notifyChannelClassifierProtectionDisabled
2. notifyCookieAllowed
3. notifyCookieBlocked

Depends on D56875

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

--HG--
extra : moz-landing-system : lando
2020-01-27 10:39:38 +00:00
Dimi Lee 6b66f4ad81 Bug 1599046 - P2. Remove calling NotifyOnContentBlocking in the child process r=timhuang,Ehsan
This patch does the followings:
1. Remove NotifyOnContentBlocking in WindowOuter and all the call sites.
   This is because all the content blocking event handling is moved to the parent.

2. Replace UrlClassifierCommon::NotifyChannelBlocked with AntiTrackingCommon:::NotifyContentBlockingEventInParent.
   This is because we don't need to pass the request to the child anymore, which was implemented in NotifyChannelBlocked previously.

3. Add NotifyContentBlockingEvent* utility functions to AntiTrackingCommon.cpp.

4. Update AntiTrackingCommon::NotifyBlockingDecision, when it is called in the parent,
   do not send requests to the child, notify the parent directly

Depends on D56874

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

--HG--
extra : moz-landing-system : lando
2020-01-27 10:39:43 +00:00
Dimi Lee f9ac16c330 Bug 1599046 - P1. Remove ContentBlockingLog from the child r=timhuang,Ehsan
At this point, there is no consumer that uses ContentBlockingLog stored
in the child. This patch removes the following code:
1. Removing nsGlobalWindowOuter::NotifyContentBlockingEvent
2. Removing nsDocLoader::OnContentBlockingEvent
3. Removing contentBlockingEvent in nsISecureBrowserUI.idl
4. Removing mContentBlockingLog from Document.cpp and APIs related to it.

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

--HG--
extra : moz-landing-system : lando
2020-01-27 10:39:41 +00:00
Brindusan Cristian 00b2950b8d Backed out 4 changesets (bug 1599046) for xpcshell failures at test_ext_cookieBehaviors. CLOSED TREE
Backed out changeset 721f54870498 (bug 1599046)
Backed out changeset 2e165c119a4f (bug 1599046)
Backed out changeset 2bc0fa3bbe0e (bug 1599046)
Backed out changeset 805fb67be8a3 (bug 1599046)
2020-01-27 12:36:11 +02:00
Dimi Lee 1a9cf4eaa6 Bug 1599046 - P4. Report content blocking log to console while running in the parent process r=Ehsan
Depends on D57630

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

--HG--
extra : moz-landing-system : lando
2020-01-27 09:13:34 +00:00
Dimi Lee 9b6c954be8 Bug 1599046 - P3. Remove unused IPC method in nsIParentChannel.idl. r=timhuang,Ehsan
The following methods are removed:
1. notifyChannelClassifierProtectionDisabled
2. notifyCookieAllowed
3. notifyCookieBlocked

Depends on D56875

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

--HG--
extra : moz-landing-system : lando
2020-01-27 09:13:27 +00:00
Dimi Lee 9b9787812e Bug 1599046 - P2. Remove calling NotifyOnContentBlocking in the child process r=timhuang,Ehsan
This patch does the followings:
1. Remove NotifyOnContentBlocking in WindowOuter and all the call sites.
   This is because all the content blocking event handling is moved to the parent.

2. Replace UrlClassifierCommon::NotifyChannelBlocked with AntiTrackingCommon:::NotifyContentBlockingEventInParent.
   This is because we don't need to pass the request to the child anymore, which was implemented in NotifyChannelBlocked previously.

3. Add NotifyContentBlockingEvent* utility functions to AntiTrackingCommon.cpp.

4. Update AntiTrackingCommon::NotifyBlockingDecision, when it is called in the parent,
   do not send requests to the child, notify the parent directly

Depends on D56874

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

--HG--
extra : moz-landing-system : lando
2020-01-27 09:13:19 +00:00
Dimi Lee ffdfd5d51a Bug 1599046 - P1. Remove ContentBlockingLog from the child r=timhuang,Ehsan
At this point, there is no consumer that uses ContentBlockingLog stored
in the child. This patch removes the following code:
1. Removing nsGlobalWindowOuter::NotifyContentBlockingEvent
2. Removing nsDocLoader::OnContentBlockingEvent
3. Removing contentBlockingEvent in nsISecureBrowserUI.idl
4. Removing mContentBlockingLog from Document.cpp and APIs related to it.

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

--HG--
extra : moz-landing-system : lando
2020-01-27 09:13:12 +00:00
Perry Jiang c2250891d2 Bug 1264175 - remove FetchEvent.isReload r=dom-workers-and-storage-reviewers,valentin,sg,bzbarsky
isReload is no longer a property defined by the FetchEvent specification.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 00:05:12 +00:00
Ehsan Akhgari eccae96ef4 Bug 1609176 - Remove the obsolete baseDomain field of the moz_cookies table; r=baku
This change is backwards incompatible with the older cookies.sqlite
files, which means files saved from newer versions of Firefox will
no longer be possible to open in older versions of Firefox.

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

--HG--
rename : netwerk/test/unit/test_schema_3_migration.js => netwerk/test/unit/test_schema_10_migration.js
extra : moz-landing-system : lando
2020-01-25 00:18:34 +00:00
shindli 78f9c85759 Backed out changeset 86d1da74131f (bug 1264175) for causing mochitest failures in dom/serviceworkers/test/test_fetch_event.html CLOSED TREE 2020-01-24 06:18:04 +02:00
Perry Jiang 64699e71f7 Bug 1264175 - remove FetchEvent.isReload r=dom-workers-and-storage-reviewers,valentin,sg,bzbarsky
isReload is no longer a property defined by the FetchEvent specification.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 02:38:01 +00:00
Coroiu Cristina 73c0827187 Backed out 2 changesets (bug 1322095) for build bustage at dist/include/mtransport/runnable_utils.h on a CLOSED TREE
Backed out changeset 14e115ba7f12 (bug 1322095)
Backed out changeset 078c0fe497b7 (bug 1322095)
2020-01-23 19:50:51 +02:00
Eric Rahm e120eee6b8 Bug 1322095 - Part 1b: Update callbacks to support moved args and convert nsAutoPtr usage. r=jya
In order to support the update to move args when invoking callbacks we:
 - Convert anything that was using WrapRunnable with `nsAutoPtr` to `UniquePtr`
 - Convert anything that was using a non-const ref as a param to either a
   const ref or a by-val copy

Addtionally we convert the remaining `nsAutoPtr` usage to `UniquePtr`.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 17:38:18 +00:00
Gijs Kruitbosch c229dbc8a1 Bug 1526731 - handle image.http.accept pref inside netwerk instead of forcing all consumers to do the same dance, r=valentin,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D60568

--HG--
extra : moz-landing-system : lando
2020-01-23 08:36:48 +00:00
Bogdan Tara c9467840cd Backed out changeset 4cf57a5a3143 (bug 1609176) for test_cookies_async_failure.js related failures CLOSED TREE 2020-01-22 22:19:20 +02:00
Ehsan Akhgari d0561affbf Bug 1609176 - Remove the obsolete baseDomain field of the moz_cookies table; r=baku
This change is backwards incompatible with the older cookies.sqlite
files, which means files saved from newer versions of Firefox will
no longer be possible to open in older versions of Firefox.

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

--HG--
rename : netwerk/test/unit/test_schema_3_migration.js => netwerk/test/unit/test_schema_10_migration.js
extra : moz-landing-system : lando
2020-01-22 17:01:55 +00:00
Jan-Ivar Bruaroey 85c420c220 Bug 1547106: Throw OperationError in createDataChannel() if id in use. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D60569

--HG--
extra : moz-landing-system : lando
2020-01-22 14:20:26 +00:00
Andrea Marchesini d2e146600e Bug 1507055 - Implement Anti-tracking heuristic for redirects, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D56191

--HG--
extra : moz-landing-system : lando
2020-01-21 18:18:32 +00:00
Emilio Cobos Álvarez 8a7906f381 Bug 1610064 - Avoid including StyleSheet.h from Document.h. r=nordzilla,firefox-style-system-reviewers
This in turn requires fixing various other include hell / missing include
issues.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 20:31:05 +00:00
Noemi Erli e5fff9caae Backed out 2 changesets (bug 1507055) for causing build bustages in AntiTrackingCommon.cpp CLOSED TREE
Backed out changeset be170480919d (bug 1507055)
Backed out changeset 678dd02cf719 (bug 1507055)
2020-01-21 20:14:36 +02:00
Andrea Marchesini f97dcc5818 Bug 1507055 - Implement Anti-tracking heuristic for redirects, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D56191

--HG--
extra : moz-landing-system : lando
2020-01-21 17:59:33 +00:00
Dragana Damjanovic a3834a2925 Bug 1608967 - Adapt necko to new neqo r=michal
- process_timer used to be called by process_output, that is not the case any more, therefore we nee$
- how closing/closed event has change: on idle-timeout only closed even is called which means that neqo connection is completely closed and should not be kept alive.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 21:06:07 +00:00
shindli 083bbbba1d Merge autoland to mozilla-central. a=merge 2020-01-21 18:13:28 +02:00
Andreea Pavel bd998e0112 Backed out changeset 4639d83e5871 (bug 1507055) for causing the crash in bug 1610485 a=backout
--HG--
extra : amend_source : 8cf2f5ccf0dc884c0d2ccdc3f1c48b3b5e014e1e
2020-01-21 16:46:22 +02:00
Michal Novotny 7c7d2abfab Bug 1607224 - Data race on CacheFileHandle::mFileSize r=valentin
This patch fixes data race on CacheFileHandle::mFileSize when accessed on main thread by nsHttpChannel::ReportNetVSCacheTelemetry(). All other usages are on cache I/O thread.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 09:48:11 +00:00
Sylvestre Ledru 187e9bafaf Bug 1519636 - Automatically reformat recent changes using clang-format r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-01-21 09:51:27 +00:00
Ehsan Akhgari 8b642fb37e Bug 1609491 - Update the comment about differences with RFC2109/2616
This is based on the recent changes in
https://github.com/httpwg/http-extensions/issues/159 and
https://github.com/httpwg/http-extensions/pull/1018.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 00:13:18 +00:00
Coroiu Cristina 9490b63809 Backed out changeset b634b7b787d5 (bug 1609491) for wpt failures at /cookies/http-state/general-tests.html on a CLOSED TREE 2020-01-20 20:57:54 +02:00
Geoff Brown 95d2b89c71 Bug 1608126 - Enable node for Android xpcshell tests and run node tests on Android; r=valentin
Fetch, configure, and run node for Android on the test host, just like Linux tests do.
Make the node/HTTP/2 environment variables available to the tests on the device, and
use adb port forwarding to connect sockets. Finally, enable tests skipped for node.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 18:06:37 +00:00
Emilio Cobos Álvarez 256c124f94 Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj
This was done by:

This was done by applying:

```
diff --git a/python/mozbuild/mozbuild/code-analysis/mach_commands.py b/python/mozbuild/mozbuild/code-analysis/mach_commands.py
index 789affde7bbf..fe33c4c7d4d1 100644
--- a/python/mozbuild/mozbuild/code-analysis/mach_commands.py
+++ b/python/mozbuild/mozbuild/code-analysis/mach_commands.py
@@ -2007,7 +2007,7 @@ class StaticAnalysis(MachCommandBase):
         from subprocess import Popen, PIPE, check_output, CalledProcessError

         diff_process = Popen(self._get_clang_format_diff_command(commit), stdout=PIPE)
-        args = [sys.executable, clang_format_diff, "-p1", "-binary=%s" % clang_format]
+        args = [sys.executable, clang_format_diff, "-p1", "-binary=%s" % clang_format, '-sort-includes']

         if not output_file:
             args.append("-i")
```

Then running `./mach clang-format -c <commit-hash>`

Then undoing that patch.

Then running check_spidermonkey_style.py --fixup

Then running `./mach clang-format`

I had to fix four things:

 * I needed to move <utility> back down in GuardObjects.h because I was hitting
   obscure problems with our system include wrappers like this:

0:03.94 /usr/include/stdlib.h:550:14: error: exception specification in declaration does not match previous declaration
0:03.94 extern void *realloc (void *__ptr, size_t __size)
0:03.94              ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/malloc_decls.h:53:1: note: previous declaration is here
0:03.94 MALLOC_DECL(realloc, void*, void*, size_t)
0:03.94 ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/mozilla/mozalloc.h:22:32: note: expanded from macro 'MALLOC_DECL'
0:03.94     MOZ_MEMORY_API return_type name##_impl(__VA_ARGS__);
0:03.94                                ^
0:03.94 <scratch space>:178:1: note: expanded from here
0:03.94 realloc_impl
0:03.94 ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/mozmemory_wrap.h:142:41: note: expanded from macro 'realloc_impl'
0:03.94 #define realloc_impl mozmem_malloc_impl(realloc)

   Which I really didn't feel like digging into.

 * I had to restore the order of TrustOverrideUtils.h and related files in nss
   because the .inc files depend on TrustOverrideUtils.h being included earlier.

 * I had to add a missing include to RollingNumber.h

 * Also had to partially restore include order in JsepSessionImpl.cpp to avoid
   some -WError issues due to some static inline functions being defined in a
   header but not used in the rest of the compilation unit.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 16:19:48 +00:00
Emilio Cobos Álvarez aa3a695712 Bug 1609996 - Remove mozilla/Move.h. r=froydnj
rg -l 'mozilla/Move.h' | xargs sed -i 's/#include "mozilla\/Move.h"/#include <utility>/g'

Further manual fixups and cleanups to the include order incoming.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 16:18:20 +00:00
Emilio Cobos Álvarez 5cd5e6f148 Bug 1609996 - Remove mozilla::Swap in favor of std::swap. r=froydnj
Now mfbt/Move.h is empty except for that excellent comment about move
semantics... Should we put it somewhere else and delete the header as a
follow-up? Or just delete the header and carry on?

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

--HG--
extra : moz-landing-system : lando
2020-01-20 16:17:06 +00:00
Ehsan Akhgari 5a2d4ea5a4 Bug 1609491 - Stop accepting cookie name-value pairs without an equal sign; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D60040

--HG--
extra : moz-landing-system : lando
2020-01-20 15:59:12 +00:00
Ehsan Akhgari d02527e65d Bug 1607518 - Make ClassifierDummyChannel implement nsIClassifiedChannel; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D59932

--HG--
extra : moz-landing-system : lando
2020-01-20 02:02:17 +00:00
Andreas Farre 68ac0a2401 Bug 1583863 - Part 3: WindowContext using SyncedContext, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D56743

--HG--
extra : moz-landing-system : lando
2020-01-20 14:58:52 +00:00
Andrea Marchesini 1aa9918367 Bug 1507055 - Implement Anti-tracking heuristic for redirects, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D56191

--HG--
extra : moz-landing-system : lando
2020-01-20 14:43:03 +00:00
Johann Hofmann e074949795 Bug 1591362 - Fix incorrect origin comparison in CacheFileContextEvictor::EvictEntries(). r=baku,mayhemer,michal
Differential Revision: https://phabricator.services.mozilla.com/D59959

--HG--
extra : moz-landing-system : lando
2020-01-20 07:24:37 +00:00
Narcis Beleuzu 6802b12993 Backed out changeset 11a73f4bbb1a (bug 1608126) for bustages on runxpcshelltests.py. CLOSED TREE 2020-01-19 22:28:10 +02:00
Geoff Brown 46e2f41598 Bug 1608126 - Enable node for Android xpcshell tests and run node tests on Android; r=valentin
Fetch, configure, and run node for Android on the test host, just like Linux tests do.
Make the node/HTTP/2 environment variables available to the tests on the device, and
use adb port forwarding to connect sockets. Finally, enable tests skipped for node.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 08:36:17 +00:00
Valentin Gosu 1e2da20ce2 Bug 1590166 - WindowGlobalChild::Create should call GetCrossOriginOpenerPolicy instead of ComputeCrossOriginOpenerPolicy r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59360

--HG--
extra : moz-landing-system : lando
2020-01-18 17:14:07 +00:00
Sylvestre Ledru cc2040bf21 Bug 1605934 - Use nested namespaces r=sg
Done with:
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix .
and then clang-format on the files

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

--HG--
extra : moz-landing-system : lando
2020-01-18 13:48:34 +00:00
Dorel Luca 506e65bcab Backed out changeset bbb39655cf71 (bug 1605934) for build bustage in widget/gtk/mozwayland/mozwayland.c 2020-01-18 15:39:55 +02:00
Sylvestre Ledru 6689a37527 Bug 1605934 - Use nested namespaces r=sg
Done with:
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix .
and then clang-format on the files

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

--HG--
extra : moz-landing-system : lando
2020-01-18 13:16:39 +00:00
Ehsan Akhgari 679c329501 Bug 1608444 - Make sure the debug-only check only runs the first time the channel is cancelled with a URL classifier blocking error code; r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D59904

--HG--
extra : moz-landing-system : lando
2020-01-17 15:13:15 +00:00
Jean-Yves Avenard fa730b1f03 Bug 1606901 - Test that channel is still opened before continuing. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D60209

--HG--
extra : moz-landing-system : lando
2020-01-17 05:57:54 +00:00
Matt Woodrow ca24f6fed5 Bug 1607991 - Remove ConfigureChannel. r=kmag
The intent of ConfigureChannel was to be code that needed to be applied to both the DocumentChannelChild in the content process, and the real channel in the parent.

It looks like everything in there is either QI'ing to a sub-type of channel (which won't apply to DocumentChannelChild), or is mutating the loadinfo/loadflags (which only need to be done once).

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

--HG--
extra : moz-landing-system : lando
2020-01-17 02:11:40 +00:00
Michal Novotny b66b7fa491 Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D59352

--HG--
extra : moz-landing-system : lando
2020-01-14 13:53:01 +00:00
Ting-Yu Lin 4934b1be3e Bug 1308636 Part 1 - Convert -moz-column-span to column-span in a crashtest. r=dbaron
-moz-column-span missed the conversion in Bug 1308587 Part 2.
https://hg.mozilla.org/mozilla-central/rev/bb59a0c37162

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

--HG--
extra : moz-landing-system : lando
2020-01-16 21:45:15 +00:00
Honza Bambas 13a16f0e2d Bug 1596799 - Have a preference to force remote TCP/UDP port remapping for easier local network testing, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59917

--HG--
extra : moz-landing-system : lando
2020-01-16 17:22:36 +00:00
Dorel Luca d29d22d6dc Backed out changeset 84f69fc66690 (bug 1596799) for Browser-chrome failures in /builds/worker/workspace/build/src/netwerk/base/nsSocketTransportService2.cpp. CLOSED TREE 2020-01-15 21:31:46 +02:00
Honza Bambas 0e35da72e0 Bug 1596799 - Have a preference to force remote TCP/UDP port remapping for easier local network testing, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59917

--HG--
extra : moz-landing-system : lando
2020-01-15 18:30:42 +00:00
Ehsan Akhgari 338a38518d Bug 1600965 - Add support for blocking on the DNS resolution for HTTP channels; r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56799

--HG--
extra : moz-landing-system : lando
2020-01-15 14:53:12 +00:00
Matt Woodrow dc86748b77 Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59263

--HG--
extra : moz-landing-system : lando
2020-01-15 08:02:57 +00:00
Narcis Beleuzu c59ca04e7b Backed out changeset b3538b7016aa (bug 1599438) for bustages on TestHttpFuzzing.cpp . CLOSED TREE 2020-01-15 06:03:55 +02:00
Matt Woodrow dd0d183cb4 Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59263

--HG--
extra : moz-landing-system : lando
2020-01-15 02:05:57 +00:00
Valentin Gosu 885e829202 Bug 1608114 - Diagnose ~20ms delay processing a DoH response r=dragana
* Enables timing for TRR channels and records telemetry with time elapsed
  between the responseEnd and when the listener is notified with the
  nsHostRecord object

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

--HG--
extra : moz-landing-system : lando
2020-01-14 12:11:46 +00:00
Randell Jesup 639b7b7769 Bug 1608523: Add MOZ_LOG_TIME() to allow time ranges for logs r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59552

--HG--
extra : moz-landing-system : lando
2020-01-14 21:36:19 +00:00
Liang-Heng Chen e5c5a46210 Bug 1587182 - add `limitForeignContexts` attribute to support dynamic FPI; r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D58426

--HG--
extra : moz-landing-system : lando
2020-01-14 17:07:48 +00:00
Rob Wu 155bac71f8 Bug 1601499 - Compute baseDomain when cookies are read from the db r=Ehsan
baseDomain is used as a key for cookies in a hashmap. For cookie
operations to work properly, the baseDomain generation must be stable.
This is however not the case, because the result can change by updates
to the public suffix list.

Since the stored baseDomain is not reliable, the value must be
recomputed when the database is read.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 17:17:17 +00:00
Ehsan Akhgari b2cfa59626 Bug 1607615 - Allow CORS preflights with a default of 5 seconds for expiry if Access-Control-Max-Age hasn't been sent; r=mayhemer
The default expiry value is chosen based on what Chromium uses:
https://source.chromium.org/chromium/chromium/src/+/master:services/network/public/cpp/cors/preflight_result.cc;l=27;drc=529117e5ed802c91a5cf192a72b4097d27fcb928?originalUrl=https:%2F%2Fcs.chromium.org%2F

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

--HG--
extra : moz-landing-system : lando
2020-01-14 17:13:11 +00:00
Ehsan Akhgari ae823cb5a3 Bug 1484315 - Refactor the third-party checks used in the cookie backend; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D58998

--HG--
extra : moz-landing-system : lando
2020-01-08 10:25:44 +00:00
Dragana Damjanovic b97060f65e Bug 1609051 - Fix int format in a comment.r=michal
Differential Revision: https://phabricator.services.mozilla.com/D59838

--HG--
extra : moz-landing-system : lando
2020-01-14 11:23:07 +00:00
Valentin Gosu 07bb31d4d8 Bug 1608207 - Make sure TRR requests don't use the HTTP cache r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59769

--HG--
extra : moz-landing-system : lando
2020-01-14 08:50:07 +00:00
Shane Caraveo 4d3b7a6d20 Bug 1604618 support request cancel reason in webrequest r=rpl,Honza
Support cancel reason so devtools, download panel, etc. can understand that an extension cancelled a request.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 20:30:26 +00:00
Alex Henrie e71e6666f8 Bug 1608002 - Link to CancelSynchronousIo at compile time. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D59269

--HG--
extra : moz-landing-system : lando
2020-01-13 18:49:36 +00:00
Eric Rahm 78ee6675cf Bug 1606187 - Part 2b: Update users of nsClassHashtable to handle UniquePtr differences r=KrisWright,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59042

--HG--
extra : moz-landing-system : lando
2020-01-13 19:18:56 +00:00
Tim Huang 327d5ae1e8 Bug 1599043 - Part 9: Set channel matched info in channels in parent process. r=dimi
This patch makes the matched info also set into the channels in the
parent process. This info is neeced for the ContentBlocking telemetry
and GeckoView also relies on it.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 14:09:03 +00:00
Tim Huang 954fc76e45 Bug 1599043 - Part 4: Notify the OnContentBlockingEvent in the parent process in UrlClassifierCommon. r=dimi,Ehsan
We make the OnContentBlockingEvent to be notified in the parent procees
for UrlClassifierCommon. There are two place would trigger this,
UrlClassifierCommon::SetBlockedContent and
UrlClassifierCommon::AnnotateChannel. But we still send to the child
process to notify the content blocking since we need to update the log
in the content process in this stage.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 14:08:20 +00:00
pbz c25ee45b34 Bug 1607760 - Remove ConfirmAuth prompt and URI userinfo telemetry. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D59494

--HG--
extra : moz-landing-system : lando
2020-01-13 09:41:55 +00:00
Matt Woodrow ce3b50b737 Bug 1607987 - Split DocumentChannelChild into two classes. r=jya
This shouldn't have any functional changes, and adds some new comments to explain the purpose of the classes a bit better.

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

--HG--
rename : netwerk/ipc/DocumentChannelChild.cpp => netwerk/ipc/DocumentChannel.cpp
rename : netwerk/ipc/DocumentChannelChild.h => netwerk/ipc/DocumentChannel.h
extra : source : ca6f43c061311dfe3e45f0216e320872d9d62cd4
2020-01-13 00:28:13 +00:00
Ciure Andrei c4c26cd32b Backed out changeset ca6f43c06131 (bug 1607987) for causing test_bug369370.html to permafail 2020-01-13 04:10:57 +02:00
Matt Woodrow 8b09f8ec79 Bug 1607987 - Split DocumentChannelChild into two classes. r=jya
This shouldn't have any functional changes, and adds some new comments to explain the purpose of the classes a bit better.

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

--HG--
rename : netwerk/ipc/DocumentChannelChild.cpp => netwerk/ipc/DocumentChannel.cpp
rename : netwerk/ipc/DocumentChannelChild.h => netwerk/ipc/DocumentChannel.h
extra : moz-landing-system : lando
2020-01-13 00:28:13 +00:00
Jan de Mooij 44ec4609e5 Bug 1607494 - Disable Ion for the PAC script thread. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D59467

--HG--
extra : moz-landing-system : lando
2020-01-10 18:54:42 +00:00
Magnus Melin d6e6c7dd94 Bug 1607866 - disable netwerk/test/unit/test_trr.js for Thunderbird until bug 1608066 is resolved. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D59479

--HG--
extra : moz-landing-system : lando
2020-01-10 12:40:34 +00:00
Dragana Damjanovic 8b3ddd9394 Bug 1604683 - Update neqo. r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D59413

--HG--
extra : moz-landing-system : lando
2020-01-09 21:22:11 +00:00
Matt Woodrow 282120e051 Bug 1601779 - Don't process switch when we actually abort a channel load. r=kmag
We currently do a process switch for a failed load so that we show an error page in the right process. This adds an exception for loads that we just explicitly cancelled, since it shouldn't be necessary, and so that tests that use BrowserUtils.waitForDocLoadAndStopIt don't get confused.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 02:40:03 +00:00
Sylvestre Ledru c521758c5e Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:50:11 +00:00
Matt Woodrow 17ad11c1e1 Bug 1607749 - Supporting querying an nsIAuthPrompt from ParentChannelListener. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59266

--HG--
extra : moz-landing-system : lando
2020-01-09 21:05:42 +00:00
Junior Hsu a92a02a283 Bug 1604851, r=dragana
No need to optimize one lock here since telemetry tells us only 1 out of 1m request with alt-svc
https://searchfox.org/mozilla-central/rev/b243debf6235b050b42fd2eb615fdc729636ca6b/netwerk/protocol/http/nsHttpChannel.cpp#6670

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

--HG--
extra : moz-landing-system : lando
2019-12-24 16:14:54 +00:00
Andi-Bogdan Postelnicu 597ca4ed51 Bug 1605659 - fix some errors discovered with `-Wdeprecated-copy`. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D59296

--HG--
extra : moz-landing-system : lando
2020-01-09 16:42:15 +00:00
Michal Novotny 4fe21c14b2 Bug 1601712 - Avoid notifying callback directly from InputStreamShim::AsyncWait() r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59067

--HG--
extra : moz-landing-system : lando
2020-01-08 10:15:48 +00:00
ffxbld 47f9f24123 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/D59324

--HG--
extra : moz-landing-system : lando
2020-01-09 15:43:49 +00:00
Arthur Iakab 94f5338c33 Backed out 2 changesets (bug 1405971) by request of evilpie.
Backed out changeset 1698a498f801 (bug 1405971)
Backed out changeset 94512ff23703 (bug 1405971)

--HG--
extra : rebase_source : 22b68902af62d1e4f4acd474f21684fce9640666
2020-01-09 17:04:02 +02:00
Valentin Gosu 17e4e93de7 Bug 1607468 - Remove NETWORK_CROSS_ORIGIN_STYLESHEET_CONTENT_TYPE telemetry r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D59106

--HG--
extra : moz-landing-system : lando
2020-01-08 15:24:34 +00:00
Michal Novotny 40a21eea5b Bug 1519126 - Intermittent GECKO(1168) | Assertion failure: !chunk->IsReady() r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D58533

--HG--
extra : moz-landing-system : lando
2020-01-08 14:09:33 +00:00
Valentin Gosu 16ae7bd480 Bug 1552176 - pass TRRMode into nsHTMLDNSPrefetch methods r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49159

--HG--
extra : moz-landing-system : lando
2020-01-07 19:33:51 +00:00
Valentin Gosu 90fff44905 Bug 1552176 - Pass TRRMode to nsDNSPrefetch r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49158

--HG--
extra : moz-landing-system : lando
2020-01-07 19:33:10 +00:00