Chris Peterson
3fdd3d67ed
Bug 1653182 - Part 2: Remove redundant -std=gnu99 from netwerk/sctp and srtp. r=froydnj
...
mozilla-central's default C dialect was upgraded to C99 in 2013 by bug 719659, making the netwerk/{sctp,srtp}/ code's -std=gnu99 redundant. The netwerk/{sctp,srtp}/ code opted into C99 (bug 783843) in 2012 when the tree's default was still C89.
Differential Revision: https://phabricator.services.mozilla.com/D85120
2020-07-29 19:12:25 +00:00
Noemi Erli
5cebe61c77
Backed out changeset 4ed7b13fb7a5 (bug 1633710) for causing failures in browser_amosigned_url.js CLOSED TREE
2020-07-29 22:34:42 +03:00
Sebastian Streich
ea482d8e73
Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-07-29 17:33:10 +00:00
Sebastian Streich
fb1d1dc1df
Bug 1558394 - Pass the TriggeringSandboxFlags to nsILoadinfo r=ckerschb,smaug,necko-reviewers,valentin
...
Add triggering Sandbox flags to loadinfo
***
Pass triggering Flags into Loadinfo
***
Fix triggeringSandboxflags passing
Differential Revision: https://phabricator.services.mozilla.com/D69588
2020-07-29 11:43:23 +00:00
Dan Glastonbury
deaec7f905
Bug 1654764: Reduce DocumentChannel::GetContentType() crash to error. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D85100
2020-07-29 03:13:31 +00:00
owlishDeveloper
1bc152b7de
Bug 1654621 - Make nsIExternalHelperAppService::createListener more generic to include mobile r=necko-reviewers,geckoview-reviewers,snorp,mattwoodrow,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D84738
2020-07-27 22:39:48 +00:00
Sebastian Hengst
fb6824541f
No bug - typo fix: curent > current. DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D85002
2020-07-27 15:49:08 +00:00
Junior Hsu
3fd039bc07
Bug 1654614 - resume channel event queue for parent intercepted channel, r=mayhemer,necko-reviewers,jdm
...
Differential Revision: https://phabricator.services.mozilla.com/D84572
2020-07-24 14:48:07 +00:00
Junior Hsu
ddaa9f30b2
Bug 1652189 - SendOnStartRequestSent only for main document, r=mayhemer,necko-reviewers
...
Even if loadflag contains LOAD_DOCUMENT_NEEDS_COOKIE, we update cookie only for
the main documen
https://searchfox.org/mozilla-central/rev/9b282b34b5aa0f836beb735656c55efb2cc4c617/dom/ipc/ContentParent.cpp#5704
Hence, we don't need to wait for main thread IPC to proceed HttpChannelChild::OnStartRequest
Differential Revision: https://phabricator.services.mozilla.com/D84275
2020-07-24 05:13:26 +00:00
Frederik Braun
887dadabf0
Bug 1648764 - map chromescripts into their own internal contentpolicytype r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D81336
2020-07-24 11:52:02 +00:00
Shane Caraveo
2369b54b63
Bug 1649813 test dns api failure when forwarding dns to socks proxy r=mayhemer,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D83006
2020-07-23 18:50:49 +00:00
Kershaw Chang
6c48b4e2a1
Bug 1649953 - Remove probe DNS_TRR_REDIRECTED, r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D84512
2020-07-24 08:19:42 +00:00
Honza Bambas
b984b89632
Bug 1654556 - Log also "failed the samesite tests" cookie rejection reason, r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D84555
2020-07-23 14:48:12 +00:00
Honza Bambas
66d2269fb8
Bug 1652300 - Keep lock around mState in `CacheEntry::InvokeAvailableCallback`, r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D84495
2020-07-23 11:46:10 +00:00
Emilio Cobos Álvarez
ff61891772
Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp
...
Having two classes in the inheritance chain inherit from SupportsWeakPtr
now won't compile, but you can use WeakPtr<Derived> when any base class
inherits from SupportsWeakPtr.
Differential Revision: https://phabricator.services.mozilla.com/D83674
2020-07-23 14:51:46 +00:00
ffxbld
faed2506ca
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D84699
2020-07-23 14:25:47 +00:00
Bogdan Tara
24dcc81896
Backed out changeset 29ae67e7f8d5 (bug 1654556) for browser_webconsole_warning_group_storage_isolation.js failures CLOSED TREE
2020-07-23 15:20:30 +03:00
Honza Bambas
71af5acb52
Bug 1654556 - Log also "failed the samesite tests" cookie rejection reason, r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D84555
2020-07-23 09:45:28 +00:00
Honza Bambas
e92e60d175
Bug 1605895, r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D84201
2020-07-21 13:47:47 +00:00
Mihai Alexandru Michis
57b46d3cc3
Backed out 3 changesets (bug 1653642, bug 1497249) for causing Bug 1654282.
...
Backed out changeset 1c9946becbca (bug 1653642)
Backed out changeset f7b6aac1b58b (bug 1497249)
Backed out changeset 74bb3c2ab767 (bug 1497249)
2020-07-22 11:31:30 +03:00
Dorel Luca
990d081d9f
Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione
e7d942c77f
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 19:02:27 +00:00
Dorel Luca
d91c6dc40b
Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Kris Maglione
9c2c147159
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 16:59:28 +00:00
Kershaw Chang
bc811b9504
Bug 1653642 - Don't release WebSocketChannel in nsWebSocketConnection::Close, r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D84127
2020-07-21 08:35:41 +00:00
Dan Glastonbury
081870285c
Bug 1646899 - P4: Handle object & embed via DocumentChannel. r=mattwoodrow,jya
...
Pass internal content policy type to DLL and switch behavior depending on type
being loaded. This implementation immediately redirects channel back to the
content process for further handling.
Depends on D80406
Differential Revision: https://phabricator.services.mozilla.com/D80407
2020-07-21 01:01:05 +00:00
Dan Glastonbury
06cb85265c
Bug 1646899 - P3: Modify CanUseDocumentChannel to take necessary vars. r=mattwoodrow
...
Allows checking if DocumentChannel can be used with out creating an
nsDocShellLoadState object.
Depends on D80405
Differential Revision: https://phabricator.services.mozilla.com/D80406
2020-07-21 01:01:03 +00:00
Dan Glastonbury
6cc4f21ec3
Bug 1646899 - P2: Use named factories to create LoadInfo. r=mattwoodrow
...
LoadInfo has a number of constructors intended to be used in different contexts.
Add named factory functions to make it clearer in which context the returns
LoadInfo is being used.
Depends on D80404
Differential Revision: https://phabricator.services.mozilla.com/D80405
2020-07-21 01:01:00 +00:00
Dan Glastonbury
89ba945ff2
Bug 1646899 - P1: Deduplicate initialization of LoadInfo default values. r=necko-reviewers,dragana
...
LoadInfo has a lot of state. Simplify initialization so most have one definition
of truth.
Differential Revision: https://phabricator.services.mozilla.com/D80404
2020-07-21 01:00:53 +00:00
Narcis Beleuzu
aa30c5f7d4
Backed out changeset 1ab7f1314221 (bug 1653642) for remote failures on nsWebSocketConnection.cpp . CLOSED TREE
2020-07-20 20:01:30 +03:00
Kershaw Chang
a7be99f849
Bug 1653642 - Don't release WebSocketChannel in nsWebSocketConnection::Close, r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D84127
2020-07-20 13:04:08 +00:00
ffxbld
20a3d243c6
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D84173
2020-07-20 14:26:08 +00:00
Dimi Lee
98b1f35a8b
Bug 1652927 - Refine URL Classifier logging r=baku
...
This patch does the following:
1. Introduce a new log module "nsChannelClassifierLeak" for less
important debug message
2. Sync the format of debug message - "ClassName::FunctionName - description [this]"
3. Print uri and top-level uri in the entry point of
AsyncChannelClassifier, remove logging uri in some functions
Differential Revision: https://phabricator.services.mozilla.com/D83610
2020-07-20 10:09:37 +00:00
Honza Bambas
1dd3107c82
Bug 1596741 - Emit warning to console when rejecting to set cookie, r=baku,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D83649
2020-07-20 10:32:06 +00:00
Butkovits Atila
24034383b2
Backed out changeset 2c0c87130a49 (bug 1652927) for bustage at nsChannelClassifier.cpp. CLOSED TREE
2020-07-20 12:48:06 +03:00
Kershaw Chang
ec9d1eb9d5
Bug 1652762 - Make mURISetByDetection an Atomic, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D83616
2020-07-20 08:18:48 +00:00
Dimi Lee
9b282b34b5
Bug 1652927 - Refine URL Classifier logging r=baku
...
This patch does the following:
1. Introduce a new log module "nsChannelClassifierLeak" for less
important debug message
2. Sync the format of debug message - "ClassName::FunctionName - description [this]"
3. Print uri and top-level uri in the entry point of
AsyncChannelClassifier, remove logging uri in some functions
Differential Revision: https://phabricator.services.mozilla.com/D83610
2020-07-17 18:45:52 +00:00
Valentin Gosu
846a198de3
Bug 1653201 - Remove internal nsStandardURL punycode pref r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D84105
2020-07-19 19:40:05 +00:00
Marco Bonardo
9717edb569
Bug 1637745. r=Gijs,necko-reviewers,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D80345
2020-07-17 13:45:58 +00:00
Bogdan Tara
6b8e469ce3
Backed out changeset 0cc074b94631 (bug 1596741) for assertion failure on CookieLogging.cpp CLOSED TREE
2020-07-18 10:02:39 +03:00
Honza Bambas
d4dd583612
Bug 1596741 - Emit warning to console when rejecting to set cookie, r=baku,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D83649
2020-07-18 05:23:54 +00:00
Anny Gakhokidze
4621d13002
Bug 1642468 - Part 2: Remove outer windowId from LoadInfo constructors, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D83563
2020-07-17 17:13:33 +00:00
Anny Gakhokidze
deced955d5
Bug 1642468 - Part 1: Remove all outer windowId fields from LoadInfo, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D83562
2020-07-17 17:13:26 +00:00
Csoregi Natalia
b70d90ce05
Backed out changeset 72e7c3e8393e (bug 1596741) as by request. CLOSED TREE
2020-07-17 19:00:15 +03:00
Csoregi Natalia
11c9a13919
Backed out changeset d745eb8f40b3 (bug 1649813) for causing awsy proxy failures. CLOSED TREE
2020-07-17 18:57:54 +03:00
Honza Bambas
a1c623c01c
Bug 1596741 - Emit warning to console when rejecting to set cookie, r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D83649
2020-07-17 14:26:02 +00:00
Honza Bambas
b0b0ccecb2
Bug 1605895 - Advance the diagnostic assertion by suspend counter, r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83936
2020-07-17 13:13:02 +00:00
Shane Caraveo
d928462307
Bug 1649813 test dns api failure when forwarding dns to socks proxy r=mayhemer,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83006
2020-07-17 12:28:48 +00:00
Dragana Damjanovic
20cbb9badf
Bug 1652104 - Add telemtery about HTTP3 usage. r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83168
2020-07-16 04:03:35 +00:00
Sebastian Streich
f38f6f0fb1
Bug 1645204 - Fix WebRequest.jsm r=robwu,necko-reviewers,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D80953
2020-07-16 14:58:03 +00:00
Honza Bambas
08089eeb2e
Bug 1649320 - Check mBuffer when flatting metadata of application cache entry, r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83776
2020-07-16 12:17:17 +00:00
ffxbld
ec8efdbd5d
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D83814
2020-07-16 17:22:56 +00:00
Kershaw Chang
682f8a9a04
Bug 1497249 - P2: ipdl for nsIWebSocketConnection r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D30624
2020-07-16 13:34:58 +00:00
Kershaw Chang
1e225df236
Bug 1497249 - P1: Introduce nsWebSocketConnection interface for separating socket manipulation r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D30023
2020-07-16 12:59:23 +00:00
Honza Bambas
eee158d239
Bug 1651661
- Make sure we fullfil the stream listnener contract when we cannot forward an otherwise successfull HTTP redirect, r=JuniorHsu,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83641
2020-07-16 10:56:12 +00:00
Peter Van der Beken
da46069826
Bug 1648038 - Create session history entry in the parent without checking if session history is on for the browsing context, because we only find out later if session history is disabled. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D80884
2020-07-14 10:41:04 +00:00
Dragana Damjanovic
5204811014
Bug 1652573 - Adapt neqo_glue. r=agrover,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83395
2020-07-15 19:49:36 +00:00
Dragana Damjanovic
f6bbab0c30
Bug 1652573 - Update to neqo version 0.4.8 r=agrover,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83397
2020-07-15 19:49:36 +00:00
Bogdan Tara
fa2970e944
Backed out changeset 617c0511e0c8 (bug 1649813) for test_ext_dns.js failures CLOSED TREE
2020-07-15 22:57:19 +03:00
Shane Caraveo
58b5281a4f
Bug 1649813 test dns api failure when forwarding dns to socks proxy r=mayhemer,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83006
2020-07-15 14:35:32 +00:00
Simon Giesecke
202c188ca0
Bug 1652960 - Remove unnecessary includes from Document.h. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D83634
2020-07-15 15:48:53 +00:00
Simon Giesecke
4792d7c14e
Bug 1651931 - Remove unnecessary includes from ContentChild.h. r=nika
...
Before these changes, ContentChild.h was the #9 most expensive header to include:
217505 ms: /home/simon/work/fuzzy/obj-x86_64-pc-linux-gnu-optimized/dist/include/mozilla/dom/ContentChild.h (included 105 times, avg 2071 ms)
After these changes, it is no longer among the top 30 most expensive headers.
Some missing includes in other files are added along.
Differential Revision: https://phabricator.services.mozilla.com/D83049
2020-07-15 12:45:10 +00:00
Simon Giesecke
fea9dab7f2
Bug 1651714 - Reduce expensive includes for TabMessageUtils.h. r=smaug
...
With these changes, on my Linux analysis with ClangBuildAnalyzer, the
top two expensive headers, DOMTypes.h and TabMessageUtils.h are no longer
among the 30 most expensive headers.
Differential Revision: https://phabricator.services.mozilla.com/D82935
2020-07-15 13:24:20 +00:00
Honza Bambas
239c514eb9
Bug 1605895 - Advance the diagnostic assertion by more background channel states, r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82907
2020-07-15 14:38:17 +00:00
Frederik Braun
a7153982e8
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Dragana Damjanovic
7e0401164b
Bug 1651814 - Do not use Http3 if be-conservative flag is set. r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83032
2020-07-14 13:06:31 +00:00
Dragana Damjanovic
82e798a640
Bug 1650992 - Some mConnection->ResumeSend was accidentally removed in one of recent updates. Call them more often. r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D83364
2020-07-14 11:27:10 +00:00
Kershaw Chang
e98555c8d4
Bug 1646358 - Only set 'Alt-Used' when the header is not empty r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82675
2020-07-14 11:38:46 +00:00
Kershaw Chang
6b323e0c0d
Bug 1646358 - Remove unnecessary main thread dispatch, r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80004
2020-07-14 17:33:12 +00:00
Kershaw Chang
3ad0e9d465
Bug 1646358 - Update transfer size in OnDataAvailable r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D81977
2020-07-14 11:38:49 +00:00
Kershaw Chang
44d0ca1e75
Bug 1646358 - Calculate request size in parent process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D81976
2020-07-14 11:38:51 +00:00
Kershaw Chang
1227486d73
Bug 1646358 - Make sure remote address is available at the right time r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80511
2020-07-14 11:38:53 +00:00
Michal Novotny
0e25e01126
Bug 1645051 - Calculated smart max cache size shouldn't overwrite browser.cache.disk.capacity pref r=necko-reviewers,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D83377
2020-07-14 16:54:22 +00:00
Jason Kratzer
a4db393249
Bug 1649769 - Call NS_MutateURI.Finalize() to better reflect API use r=decoder,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D81866
2020-07-14 15:11:07 +00:00
Razvan Maries
ecb7c85432
Backed out 3 changesets (bug 1635828) for perma failures on test_sts_privatebrowsing_perwindowpb.html and browser_tab_detach_restore.js. CLOSED TREE
...
Backed out changeset c0822aa74d29 (bug 1635828)
Backed out changeset 6dacf81142c4 (bug 1635828)
Backed out changeset 075697c4a0d4 (bug 1635828)
2020-07-14 17:01:25 +03:00
Andrea Marchesini
11e679024e
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 3 - partition key, r=xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D83316
2020-07-14 12:17:29 +00:00
Andrea Marchesini
c511bc0f58
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 1 - implementation, r=timhuang,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D74077
2020-07-10 15:48:30 +00:00
Razvan Maries
c71ba38690
Backed out 5 changesets (bug 1646358) for perma failures on nsTSubstring.h. CLOSED TREE
...
Backed out changeset 432a56d9e68e (bug 1646358)
Backed out changeset f7ebad48e890 (bug 1646358)
Backed out changeset aa32d2fc1762 (bug 1646358)
Backed out changeset 91fce3e27eac (bug 1646358)
Backed out changeset 059a823032d2 (bug 1646358)
2020-07-14 14:32:31 +03:00
Kershaw Chang
ec92851005
Bug 1646358 - Only set 'Alt-Used' when the header is not empty r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82675
2020-07-14 10:24:57 +00:00
Kershaw Chang
52183b9c18
Bug 1646358 - Remove unnecessary main thread dispatch, r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80004
2020-07-14 10:24:39 +00:00
Kershaw Chang
7ef2bfaa1e
Bug 1646358 - Update transfer size in OnDataAvailable r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D81977
2020-07-14 10:24:21 +00:00
Kershaw Chang
aa22580027
Bug 1646358 - Calculate request size in parent process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D81976
2020-07-14 10:24:04 +00:00
Kershaw Chang
4d4e00b6c4
Bug 1646358 - Make sure remote address is available at the right time r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80511
2020-07-14 10:23:41 +00:00
Sylvestre Ledru
1dbb63db2b
Bug 1519636 - Reformat recent changes to the Google coding style r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D83258
2020-07-14 09:34:19 +00:00
Razvan Maries
4f6b5e6e2a
Backed out 2 changesets (bug 1648038) for build bustages on nsDocShell.cpp. CLOSED TREE
...
Backed out changeset 78b8a2b9277a (bug 1648038)
Backed out changeset b6b620d72e6b (bug 1648038)
2020-07-14 12:17:31 +03:00
Peter Van der Beken
48cb1143b8
Bug 1648038 - Create session history entry in the parent without checking if session history is on for the browsing context, because we only find out later if session history is disabled. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D80884
2020-07-14 08:57:59 +00:00
Andrea Marchesini
45f7415671
Bug 1650811 - Make Base64 compatible with ReadSegments() with small buffers, r=asuth,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82522
2020-07-13 08:34:07 +00:00
Narcis Beleuzu
8981494089
Backed out 5 changesets (bug 1646899) for mochitest failures on DocumentLoadListener.cpp . CLOSED TREE
...
Backed out changeset f41ac122a801 (bug 1646899)
Backed out changeset 86a5e0827050 (bug 1646899)
Backed out changeset d2fd0f955e24 (bug 1646899)
Backed out changeset 7a7194146fe1 (bug 1646899)
Backed out changeset 4731d76dae88 (bug 1646899)
2020-07-13 05:43:30 +03:00
Dan Glastonbury
f5fd7b3d97
Bug 1646899 - P4: Handle object & embed via DocumentChannel. r=mattwoodrow,jya
...
Pass internal content policy type to DLL and switch behavior depending on type
being loaded. This implementation immediately redirects channel back to the
content process for further handling.
Differential Revision: https://phabricator.services.mozilla.com/D80407
2020-07-13 00:48:57 +00:00
Dan Glastonbury
8847465b59
Bug 1646899 - P3: Modify CanUseDocumentChannel to take necessary vars. r=mattwoodrow
...
Allows checking if DocumentChannel can be used with out creating an
nsDocShellLoadState object.
Differential Revision: https://phabricator.services.mozilla.com/D80406
2020-07-13 00:48:54 +00:00
Dan Glastonbury
6bc2c8f1eb
Bug 1646899 - P2: Use named factories to create LoadInfo. r=mattwoodrow
...
LoadInfo has a number of constructors intended to be used in different contexts.
Add named factory functions to make it clearer in which context the returns
LoadInfo is being used.
Differential Revision: https://phabricator.services.mozilla.com/D80405
2020-07-13 00:48:52 +00:00
Dan Glastonbury
98dc480963
Bug 1646899 - P1: Deduplicate initialization of LoadInfo default values. r=necko-reviewers,dragana
...
LoadInfo has a lot of state. Simplify initialization so most have one definition
of truth.
Differential Revision: https://phabricator.services.mozilla.com/D80404
2020-07-13 00:48:45 +00:00
Matt Woodrow
3a2853e4cf
Bug 1649349 - Don't delay rejecting DocumentLoadListener's Open promise when we switch process. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D81648
2020-07-12 22:50:34 +00:00
Sylvestre Ledru
f7a0736a34
Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D83259
2020-07-12 17:01:13 +00:00
Valentin Gosu
0475d7a7ba
Bug 1650356 - Call IsExcludedFromTRR in TRR::SendHTTPRequest r=dragana,necko-reviewers
...
Since IsTemporarilyBlocked no longer calls IsExcludedFromTRR we have to do
this explicitly at this call site.
Differential Revision: https://phabricator.services.mozilla.com/D82221
2020-07-11 19:32:57 +00:00
Valentin Gosu
05e121315d
Bug 1650356 - Make the TRRBLStorage a hashtable r=dragana,necko-reviewers
...
We also wrap it in a DataMutex to allow use on any thread
Differential Revision: https://phabricator.services.mozilla.com/D82220
2020-07-11 19:32:45 +00:00
Valentin Gosu
0606ff0236
Bug 1650356 - Rename TRR Blacklist to TRR blocklist r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82219
2020-07-11 19:32:27 +00:00
Valentin Gosu
b91c38a902
Bug 1650356 - Clear TRR blocklist when confirmation is done r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82218
2020-07-11 19:32:15 +00:00
Valentin Gosu
b04567bbc7
Bug 1649143 - Just call NativeLookup when retrying for TTL r=dragana,necko-reviewers
...
There is done in order to make sure we don't go though NameLookup again
and try to figure out why skipped TRR again.
Differential Revision: https://phabricator.services.mozilla.com/D82169
2020-07-11 19:32:07 +00:00
Valentin Gosu
4106c61ff1
Bug 1649143 - Record telemetry with reason we fell back to Do53 r=dragana,necko-reviewers
...
This patch attempts to record the reason why we fall back to DNS.
I considered using categorical probes for this, but they have a max limit of
20 categories, so we have to use a linear probe. I chose 50 buckets to allow
us to add more failure reasons in the future.
The recorded values are defined in nsHostRecord::TRRSkippedReason.
nsHostRecord::RecordReason is called whenever we encounter a condition that
will cause us to skip TRR in nsHostResolver.
For failures that occur inside TRR.cpp, each TRR object holds its own reason
that is recorded in a similar way. When all TRR requests are complete we
report the one that failed (or if both failed we report the one for the A
request).
Due to the fact that we might also follow CNAME requests, and the final
TRR request might not be the one that was issued at first, TRR requests
must pass back the reason as an argument to CompleteLookup.
Finally, this patch records the reason in two probes:
TRR_SKIP_REASON_TRR_FIRST - only reported in TRR-first mode
TRR_SKIP_REASON_DNS_WORKED - only reported in TRR-first mode when the
fallback DNS request succeeded. This allows us to filter for complete
network failures.
Differential Revision: https://phabricator.services.mozilla.com/D82168
2020-07-11 19:32:05 +00:00
Kris Maglione
b6be72f351
Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00
Kris Maglione
9d78661f88
Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Liang-Heng Chen
e03242ddb4
Bug 1647732 - isolate font cache; r=baku,jfkthame,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82034
2020-07-10 10:28:40 +00:00
Narcis Beleuzu
f2ba920b49
Backed out 2 changesets (bug 1635828) for mochitest failures on test_sts_privatebrowsing_perwindowpb.html . CLOSED TREE
...
Backed out changeset 52be379dbb20 (bug 1635828)
Backed out changeset c410710919ab (bug 1635828)
2020-07-10 18:43:37 +03:00
Narcis Beleuzu
d27be427c9
Backed out changeset 83749e9e67bd (bug 1220810) for bc failures on browser_fall_back_to_https.js . CLOSED TREE
2020-07-10 18:42:17 +03:00
Andrea Marchesini
205db37114
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 1 - implementation, r=timhuang,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D74077
2020-07-10 14:33:06 +00:00
Andrea Marchesini
23052342cb
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 14:30:58 +00:00
Mihai Alexandru Michis
b62be4d15f
Backed out changeset 1b035d80fb9f (bug 1220810) for causing bustages in netwerk/dns/DNS.cpp
...
CLOSED TREE
2020-07-10 17:17:20 +03:00
Andrea Marchesini
f498accc17
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 13:08:14 +00:00
Mihai Alexandru Michis
44cad01e29
Backed out changeset 1b44f13206d0 (bug 1220810) for causing gecko decision task bustages.
...
CLOSED TREE
2020-07-10 15:37:45 +03:00
Andrea Marchesini
2144af13e9
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 12:23:46 +00:00
Andrea Marchesini
7e5c0a3709
Bug 1649673 - Isolate speculative connections per first-party when privacy.partition.network_state is set to true, r=mayhemer,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D81810
2020-07-10 11:54:34 +00:00
Mihai Alexandru Michis
61006875dd
Backed out changeset 36f368ba214c (bug 1220810) for causing gecko decision task bustages.
...
CLOSED TREE
2020-07-10 15:00:15 +03:00
Andrea Marchesini
f36d351374
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 11:34:10 +00:00
Honza Bambas
2b6e822019
Bug 1650613 - Fix about:cache appcache listing, let AppCacheStorage be visited with null load context info, r=michal,necko-reviewers
...
Depends on D81885
Differential Revision: https://phabricator.services.mozilla.com/D82542
2020-07-10 11:21:14 +00:00
Dragana Damjanovic
6621d5958e
Bug 1642559 - Initiate a variable to fix SPDY_REQUEST_PER_CONN_2 r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D80413
2020-06-23 02:53:52 +00:00
Dragana Damjanovic
7ab560a9be
Bug 1651489 - Update neqo. r=agrover
...
Bug 1651489 - Update neqo_glue to support new neqo API(neqo version 0.4.6).
Differential Revision: https://phabricator.services.mozilla.com/D82932
2020-07-10 04:35:17 +00:00
Kris Maglione
a1cb850855
Bug 1464542: Part 3c - Change Services.jsm to use the C++-implemented services cache. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D81420
2020-07-09 21:42:53 +00:00
Kris Maglione
6a39211860
Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 21:42:25 +00:00
Kris Maglione
4200cb539c
Bug 1464542: Part 2 - Add infrastructure for defining named services exposed to JS. r=mccr8
...
This builds on the existing static components infrastructure to allow defining
a Services.jsm-type services cache with no runtime memory overhead for any
services until they're accessed.
Any class entry with a 'js_name' attribute automatically becomes available on
the services cache with that name, and any interfaces listed in its
'interfaces' list are automatically queried on it.
Differential Revision: https://phabricator.services.mozilla.com/D81417
2020-07-09 20:42:50 +00:00
Andrea Marchesini
3c1b71a6e4
Bug 1651618 - Use cookie 'SameSite' attribute with capital 'S' everywhere, r=flod,fluent-reviewers,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,whimboo,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D82872
2020-07-09 20:40:15 +00:00
Dimi Lee
c8306bf2d9
Bug 1447935 - P2. Use fission-compatible third-party checks r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D80187
2020-07-09 20:10:18 +00:00
Dimi Lee
5c5dfa4064
Bug 1447935 - P1. CreatePairwiseEntitylist uses loading principal when a channel doesn't have an associated top-level window r=baku
...
loads in appcache doesn't have a top-level window, use loading principal
instead.
Differential Revision: https://phabricator.services.mozilla.com/D80186
2020-07-09 20:10:16 +00:00
Csoregi Natalia
b355fcc4bf
Backed out 6 changesets (bug 1464542) for xpcshell failures on test_Services.js. CLOSED TREE
...
Backed out changeset b50af9005851 (bug 1464542)
Backed out changeset 9d3a0ea2cf65 (bug 1464542)
Backed out changeset 71c3475fcbc2 (bug 1464542)
Backed out changeset 51ff93220a95 (bug 1464542)
Backed out changeset e84de1547c09 (bug 1464542)
Backed out changeset bbecc16d08eb (bug 1464542)
2020-07-09 23:19:26 +03:00
Kris Maglione
b787b84e52
Bug 1464542: Part 3c - Change Services.jsm to use the C++-implemented services cache. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D81420
2020-07-09 17:59:22 +00:00
Kris Maglione
d09458dc51
Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 17:59:16 +00:00
Kris Maglione
0ae37bde4e
Bug 1464542: Part 2 - Add infrastructure for defining named services exposed to JS. r=mccr8
...
This builds on the existing static components infrastructure to allow defining
a Services.jsm-type services cache with no runtime memory overhead for any
services until they're accessed.
Any class entry with a 'js_name' attribute automatically becomes available on
the services cache with that name, and any interfaces listed in its
'interfaces' list are automatically queried on it.
Differential Revision: https://phabricator.services.mozilla.com/D81417
2020-07-09 17:59:11 +00:00
James Willcox
ea767e5869
Bug 1626335 - Don't treat any URI as third party for system principal r=baku,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D78151
2020-07-09 09:23:52 +00:00
Kershaw Chang
b280988bb5
Bug 1647759
- P3: Send init attributes to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82353
2020-07-09 15:15:13 +00:00
Kershaw Chang
18a55ef0fd
Bug 1647759
- P2: Send connectivity status to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82352
2020-07-09 12:56:00 +00:00
Kershaw Chang
3e2bb60df1
Bug 1647759
- P1: Make nsIOService::mOffline and nsIOService::mConnectivity atomic r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82351
2020-07-09 12:56:03 +00:00
Andrea Marchesini
9d5e2e6db9
Bug 1650211 - Ignore cookie settings during the shutdown, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D82498
2020-07-09 14:14:41 +00:00
Lennart Grahl
c1c91eceec
Bug 1646715 - Bump usrsctp version to ea345b6d0c8a0f8701cf49445dba5ec8d34e2305 r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D81713
2020-07-09 13:24:23 +00:00
Lennart Grahl
6fd4323032
Bug 1646715 - Simplify usrsctp build file and remove unused Android patch r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D81712
2020-07-09 13:24:23 +00:00
Andrea Marchesini
c69f56d7dd
Bug 1650656 - Call CookieCommons::SchemeToSchemeType only when the scheme is supported, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D82491
2020-07-09 11:05:58 +00:00
Razvan Maries
cb161b6b55
Backed out 2 changesets (bug 1447935) for perma failures on test_headless.js. CLOSED TREE
...
Backed out changeset 0332d1b01f63 (bug 1447935)
Backed out changeset bcf6ab4e4f50 (bug 1447935)
2020-07-09 15:53:12 +03:00
Razvan Maries
ab9f3eb05b
Backed out 3 changesets (bug 1647759
) for GTest perma failures. CLOSED TREE
...
Backed out changeset 94c175860a86 (bug 1647759
)
Backed out changeset e7d8a7d2bdf1 (bug 1647759
)
Backed out changeset 2972984413b8 (bug 1647759
)
2020-07-09 15:41:22 +03:00
Dimi Lee
84e027594f
Bug 1447935 - P2. Use fission-compatible third-party checks r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D80187
2020-07-09 11:32:45 +00:00
Dimi Lee
3f4421f020
Bug 1447935 - P1. CreatePairwiseEntitylist uses loading principal when a channel doesn't have an associated top-level window r=baku
...
loads in appcache doesn't have a top-level window, use loading principal
instead.
Differential Revision: https://phabricator.services.mozilla.com/D80186
2020-07-09 11:32:37 +00:00
Kershaw Chang
9c8f0c8d00
Bug 1647759
- P3: Send init attributes to socket process r=dragana
...
Depends on D82352
Differential Revision: https://phabricator.services.mozilla.com/D82353
2020-07-07 11:51:17 +00:00
Kershaw Chang
6cb09fb6f3
Bug 1647759
- P2: Send connectivity status to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82352
2020-07-06 18:26:49 +00:00
Kershaw Chang
18ea12a27d
Bug 1647759
- P1: Make nsIOService::mOffline and nsIOService::mConnectivity atomic r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82351
2020-07-06 18:26:16 +00:00
Matt Woodrow
17fbf88433
Bug 1649879 - Handle URIFixup that happens on a failed channel in DocumentLoadListener if available, rather than waiting for it to reach nsDocShell. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D81947
2020-07-08 23:38:22 +00:00
Nika Layzell
3f8ded27c9
Bug 1650163 - Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D82106
2020-07-08 20:16:04 +00:00
Nika Layzell
22a65a237e
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 20:15:59 +00:00
Mihai Alexandru Michis
1ba2a3f6f6
Backed out 3 changesets (bug 1650163) for causing bustages in nsContentSecurityManager.cpp
...
CLOSED TREE
Backed out changeset 51d7c644a1e6 (bug 1650163)
Backed out changeset 3d2b6908447a (bug 1650163)
Backed out changeset 79141707d47b (bug 1650163)
2020-07-08 21:18:44 +03:00
Nika Layzell
64031d88e9
Bug 1650163 - Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D82106
2020-07-08 01:13:45 +00:00
Nika Layzell
c850a94434
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 14:54:48 +00:00
Junior Hsu
acc77fd89e
Bug 1649965 - only waiting for main thread OnStartRequestSent for LOAD_DOCUMENT_NEEDS_COOKIE, r=mayhemer,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D80682
2020-07-08 15:47:36 +00:00
Kershaw Chang
c87cb10f45
Bug 1527256 - P4: Enable about:networking tests r=dragana
...
Depends on D82320
Differential Revision: https://phabricator.services.mozilla.com/D82321
2020-07-08 10:28:53 +00:00