Marian-Vasile Laza
1004df96d4
Backed out changeset 0ef0b43b28f1 (bug 1736844) for causing gtest failures. CLOSED TREE
2022-02-16 09:27:30 +02:00
Haiyang Xu
4f8cc77665
Bug 1736844 - Add interrupt flag to storage service methods opening database; r=dom-storage-reviewers,mak,janv
...
* The same flags can be used to enable other features such as extented error codes
Differential Revision: https://phabricator.services.mozilla.com/D129023
2022-02-16 06:08:11 +00:00
Kershaw Chang
ff7137a093
Bug 1754508 - P2: Add some checkes to avoid creating SocketProcessBridge when content process is destroyed, r=necko-reviewers,valentin
...
1. Check if NeckoParent is still able to send IPC before creating SocketProcessBridge
2. Make sure mPendingEvents always be cleared after launching socket process
Differential Revision: https://phabricator.services.mozilla.com/D138487
2022-02-15 19:18:11 +00:00
Kershaw Chang
eec2793ed4
Bug 1754508 - P1: Make PNecko refcounted, r=necko-reviewers,dragana
...
This is the rebased version of D138486.
This patch is supposed to be landed on nightly and D138486 is for beta.
Differential Revision: https://phabricator.services.mozilla.com/D138755
2022-02-15 19:18:11 +00:00
Nika Layzell
de1e97c891
Bug 1754040 - Clean up common shared WriteSegments helper functions, r=necko-reviewers,xpcom-reviewers,mccr8
...
These helper methods are similar to the related ones for
nsIInputStream::ReadSegments, and can be used to implement
nsIOutputStream::Write and nsIOutputStream::WriteFrom in terms of
WriteSegments.
There were various places which used manual copies of these methods, which are
being unified.
Differential Revision: https://phabricator.services.mozilla.com/D138334
2022-02-14 23:59:35 +00:00
ffxbld
79d6ccf336
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D138643
2022-02-14 17:57:46 +00:00
Cristian Tuns
3419e72275
Backed out 4 changesets (bug 1600309) for causing networking crashes CLOSED TREE
...
Backed out changeset ae7282e60012 (bug 1600309)
Backed out changeset 0d8b02a8db17 (bug 1600309)
Backed out changeset c7262d966a28 (bug 1600309)
Backed out changeset e5503a84beea (bug 1600309)
2022-02-12 05:00:04 -05:00
Marian-Vasile Laza
6730dca994
Bug 1749786 - lint fix r=fix CLOSED TREE
2022-02-11 19:41:54 +02:00
Randell Jesup
84be70e93b
Bug 1749786 - websocketchannel cleanup r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D135727
2022-02-11 17:14:07 +00:00
Nika Layzell
001c77587c
Bug 1746115 - Perform data URI blocking from DocumentLoadListener, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D138213
2022-02-11 16:34:24 +00:00
Florian Quèze
7b45ca4063
Bug 1754519 - Add missing profiler_thread_sleep annotations, r=gerald,necko-reviewers,kershaw.
...
Differential Revision: https://phabricator.services.mozilla.com/D138341
2022-02-11 15:19:46 +00:00
Kershaw Chang
3140afb3e0
Bug 1600309 - P4: Avoid creating data bridge channel after crashes, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D134906
2022-02-11 10:55:54 +00:00
Kershaw Chang
d4ad673efa
Bug 1600309 - P3: Avoid observing duplicate topics, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D134905
2022-02-11 10:55:53 +00:00
Kershaw Chang
769849b41a
Bug 1600309 - P2: Don't use socket porcess when it crashes too many times, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D134904
2022-02-11 10:55:53 +00:00
Kershaw Chang
65317775b5
Bug 1600309 - P1: Restart socket proces after crash, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D134903
2022-02-11 10:55:53 +00:00
Kershaw Chang
ef25b1a6f3
Bug 1734470 - Add MITIGATION_DYNAMIC_CODE_DISABLE back to socket process sandboxing, r=bobowen,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D138204
2022-02-10 09:09:59 +00:00
Nika Layzell
dabb46c84d
Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8
...
The changes to ipdl actors were mechanical, and largely automated using
a script.
Differential Revision: https://phabricator.services.mozilla.com/D137237
2022-02-09 17:29:47 +00:00
Nika Layzell
91ec85c593
Bug 1752444 - Part 2: Rewrite direct_call.py protocols to use {Parent,Child}Impl attributes, r=ipc-reviewers,media-playback-reviewers,alwu,mccr8
...
This is a mechanical change which was performed by a script based on the
contents of direct_call.py, and then manually checked over to fix
various rewriting bugs caused by my glorified sed script. See the
previous part for more context on the change.
Differential Revision: https://phabricator.services.mozilla.com/D137227
2022-02-09 17:29:46 +00:00
Kershaw Chang
3d0ac481f0
Bug 1753440 - Ensure mTargetThread is locked, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D138003
2022-02-09 08:43:14 +00:00
Nika Layzell
486c5fc2c4
Bug 1751071 - Correctly forward-declare/import included but unused types in ipdlh headers, r=ipc-reviewers,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D137164
2022-02-08 23:53:44 +00:00
Andreea Pavel
949b3b04d8
Bug 1742311 - disable test_udp_multicast.js on win10_2004 r=necko-reviewers,valentin DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D138127
2022-02-08 11:53:54 +00:00
Kershaw Chang
f59d3b0ba1
Bug 1753875 - Set speculative connection limit before starting the test, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D138124
2022-02-08 11:20:37 +00:00
Chris Peterson
a0c975962b
Bug 1753805 - Add pref for enterprise users to override the User-Agent string's Firefox version. r=necko-reviewers,valentin
...
Firefox version 100 will ship on 2022-05-03. The Webcompat team can use Firefox's site interventions to spoof a version 99 UA for individual sites broken by a three-digit version number. But Firefox’s site interventions can’t override the UA for enterprise intranet sites we don't know about.
This patch adds a new "network.http.useragent.forceVersion" pref that enterprise admins can set to a known-good UA version (like 99) in an enterprise policy file. If the pref has a non-zero value, then override the User-Agent string's Firefox version. The value 0 means use the default Firefox version.
We can remove this pref in Firefox 103 after the next ESR is branched (version 102 on 2022-06-28). Enterprise users can use ESR 102 with forceVersion pref = 99 until the next ESR in mid-2023. Hopefully they can fix their broken intranet sites by that time.
Differential Revision: https://phabricator.services.mozilla.com/D137929
2022-02-08 05:03:10 +00:00
Kershaw Chang
b111fc0b0a
Bug 1747497 - Allow only one PAC execution at a time, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D134849
2022-02-07 21:24:04 +00:00
Dan Minor
01831135cc
Bug 1751936 - Update users of SharedPreferenceSerializer to pass ShouldSyncPreference; r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D137476
2022-02-07 16:44:18 +00:00
Kershaw Chang
8dee9057db
Bug 1753954 - Normalize single number with trailing dot correctly, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D138004
2022-02-07 14:50:24 +00:00
Christian Holler
4b6489f389
Bug 1753941 - Export FuzzingStreamListener. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D137983
2022-02-07 09:58:55 +00:00
Valentin Gosu
613521582a
Bug 1564310 - Allow fallback in strict mode for request timeouts r=necko-reviewers,kershaw
...
We don't actually want to fail requests that time out. So if the retry
also times out we just fallback to native as usual.
Depends on D137931
Differential Revision: https://phabricator.services.mozilla.com/D137932
2022-02-07 09:04:45 +00:00
Valentin Gosu
5337335d54
Bug 1564310 - Increase the DoH timeout period in strict fallback mode r=necko-reviewers,kershaw
...
The new default is 6 seconds.
Differential Revision: https://phabricator.services.mozilla.com/D137931
2022-02-07 09:04:44 +00:00
ffxbld
8eeb283be2
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D137731
2022-02-04 19:26:02 +00:00
Kershaw Chang
7578361b62
Bug 1750413 - Make it possible to test DnsAndConnectSocket, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D137266
2022-02-04 12:11:45 +00:00
Kershaw Chang
382ed5aa31
Bug 1750413 - Make speculative connection use ech, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D137140
2022-02-04 12:11:44 +00:00
Kershaw Chang
38dd45cdd7
Bug 1750413 - Give http3 and http2 more priority when selecting alpn, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D137139
2022-02-04 12:11:44 +00:00
Sylvestre Ledru
caaedeee98
Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Kershaw Chang
51dc9d5f66
Bug 1752329 - Re-enable some http3 tests, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D137747
2022-02-03 14:37:56 +00:00
Valentin Gosu
bffafcd7c0
Bug 1752320 - Add U+007F to the invalid host characters list r=necko-reviewers,kershaw
...
Tests will be merged from upstream WPT:
https://github.com/web-platform-tests/wpt/pull/32524
Differential Revision: https://phabricator.services.mozilla.com/D137739
2022-02-03 13:38:06 +00:00
Chris Peterson
2ae60bead7
Bug 1744425 - Replace nsContentUtils::GenerateUUID() to nsID::GenerateUUID(). r=nika
...
Bug 1723674 added a new nsID::GenerateUUID() static factory function to generate UUIDs without the overhead of querying and instantiating an nsIUUIDGenerator object. nsContentUtils::GenerateUUID() is a utility function that amortizes that overhead by holding an nsIUUIDGenerator singleton. That's no longer necessary because code that calls nsContentUtils::GenerateUUID() can now just call nsID::GenerateUUID(). No nsIUUDGenerator is needed.
Differential Revision: https://phabricator.services.mozilla.com/D132866
2022-02-03 04:39:34 +00:00
Bob Owen
48e1837edd
Bug 1751367: Delay loading winmm.dll, so it loads after COM initialization. r=cmartin,media-playback-reviewers,alwu
...
This is to prevent user32.dll from loading before COM initialization on earlier
version of windows.
Differential Revision: https://phabricator.services.mozilla.com/D136936
2022-02-02 13:43:51 +00:00
Manuel Bucher
09804348ad
Bug 1730852 - Fix classOfService information being lost when redirecting to InterceptedHttpChannel r=necko-reviewers,valentin
...
`nsCOMPtr<nsIClassOfService> cos(do_QueryInterface(newChannel));`[1] was
previously returning a nullptr for objects of the class InterceptedHttpChannel.
Therefore the classOfService flags weren't set after the redirect to the
InterceptedChannel[2].
[1]: https://searchfox.org/mozilla-central/rev/66e59131c1c76fe486424dc37f0a8a399ca874d4/netwerk/protocol/http/HttpBaseChannel.cpp#4186
[2]: https://searchfox.org/mozilla-central/rev/66e59131c1c76fe486424dc37f0a8a399ca874d4/netwerk/protocol/http/nsHttpChannel.cpp#714
Differential Revision: https://phabricator.services.mozilla.com/D137175
2022-02-02 09:06:47 +00:00
Valentin Gosu
dd3f215688
Bug 1750989 - Add Shaw to the TRR telemetry keys r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D136378
2022-02-01 21:08:03 +00:00
Dragana Damjanovic
85327ac928
Bug 1751170 - Rename http3.enabled pref r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D137192
2022-02-01 12:04:40 +00:00
ffxbld
ebd97d7fe2
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D137436
2022-01-31 14:29:01 +00:00
Randell Jesup
36bb99c076
Bug 1750032: Clean up nsAsyncStreamCopier r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D137445
2022-01-31 13:52:00 +00:00
Kershaw Chang
f73fac8381
Bug 1752100 - Make sure nsWSAdmissionManager::ConnectNext is called on main thread, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D137267
2022-01-31 11:11:53 +00:00
Dragana Damjanovic
2185d4ea34
Bug 1752117 - Neqo version 0.5.7 r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D137254
2022-01-31 05:17:42 +00:00
Chris Peterson
ee7c342835
Bug 1748798 - Add 'forceVersion100' pref to make user testing of Firefox 100 UA string easier. r=preferences-reviewers,necko-reviewers,Gijs,valentin
...
Monitor Firefox 100 experiment enrollment in the parent process. If the user gets enrolled in the experiment, the parent process will set the forceVersion100 pref in other processes. The forceVersion100 pref can also be set by the "Firefox 100" option in the Nightly Experiments settings.
Chrome has a similar chrome://flags/#force-major-version-to-100 flag for testing a Chrome 100 UA.
Differential Revision: https://phabricator.services.mozilla.com/D135315
2022-01-30 00:38:31 +00:00
Iulian Moraru
07ff452d48
Backed out changeset d06323898333 (bug 1751170) for causing multiple build bustages on StaticPrefListAll.h.stub. CLOSED TREE
2022-01-29 00:15:20 +02:00
Dragana Damjanovic
b8b1d555dc
Bug 1751170 - Rename http3.enabled pref r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D137192
2022-01-28 21:55:45 +00:00
Benjamin VanderSloot
03548cb3ae
Bug 1752539 - srcdoc iframes are always treated as third-party, r=timhuang
...
- Add new function to netwerk utils to check for about:srcdoc URIs, mirroring the function for about:blank.
- When performing check whether or not a Window is third-party, check if the URI is about:srcdoc when you check if the URI is about:blank.
- When computing whether a channel is third-party to the top window, if the channel's URI is about:srcdoc, use its parent context's origin.
Differential Revision: https://phabricator.services.mozilla.com/D137286
2022-01-28 18:27:06 +00:00
Kershaw Chang
6505532d4e
Bug 1752529 - Use StaticPrefs::network_process_enabled() everywhere, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D137278
2022-01-28 12:56:43 +00:00