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

24976 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu 760557f1bd Backed out changeset 9b71e3543b10 (bug 1828537) for bc failure on HttpChannelChild.cpp . CLOSED TREE 2023-05-17 18:22:20 +03:00
Kershaw Chang 95a22f0f74 Bug 1828537 - Add assertion to check if HttpChannelChild is released on main thread, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D178159
2023-05-17 14:15:37 +00:00
Hannah Peuckmann 8f842fce3b Bug 1832456 - Remove HTTP_AUTH_TYPE_STATS probe. r=pbz
See [D169894](https://phabricator.services.mozilla.com/D169894#change-Jv3lqGYCtjyN) for the changes that were made when the probe was added.

Differential Revision: https://phabricator.services.mozilla.com/D178277
2023-05-17 11:48:49 +00:00
Andreas Farre da19cc5609 Bug 1827684 - Allow audio/aac. r=sefeng,necko-reviewers
It's possible for a streaming server to not start at an ADTS header
sync marker. We need a sliding window sniffer to be able to handle
this, until then we'll include audio/aac in the gradual ORB
transition.

Differential Revision: https://phabricator.services.mozilla.com/D178177
2023-05-17 09:03:42 +00:00
Valentin Gosu c73dbc7f69 Bug 1831467 - netwerk/test/unit/test_http_sfv.js avoid holding mutable borrow/ref of SFV object r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D178175
2023-05-17 08:20:03 +00:00
Cosmin Sabou 358d69b8ab Backed out changeset f76409005dd4 (bug 1827684) for causing audio/mpegurl related wpt failures. CLOSED TREE 2023-05-17 02:59:20 +03:00
Andreas Farre b1c0972fc4 Bug 1827684 - Allow audio/aac. r=sefeng,necko-reviewers
It's possible for a streaming server to not start at an ADTS header
sync marker. We need a sliding window sniffer to be able to handle
this, until then we'll include audio/aac in the gradual ORB
transition.

Differential Revision: https://phabricator.services.mozilla.com/D178177
2023-05-16 21:40:47 +00:00
Andreas Farre 97ee97f4a7 Bug 1823817 - Process cross origin security headers from nsHttpChannel::OnAuthCancelled. r=necko-reviewers,valentin
nsHttpChannel::OnAuthCancelled calls nsHttpChannel::CallOnStartRequest
directly, effectively bypassing
HttpBaseChannel::ProcessCrossOriginSecurityHeaders, which is needed to
get CORP handling right.

Differential Revision: https://phabricator.services.mozilla.com/D177778
2023-05-16 14:55:23 +00:00
nicklas boman 5e31225558 Bug 1724649 - Followup to remove #include plstr.h r=necko-reviewers,xpcom-reviewers,valentin,nika
Differential Revision: https://phabricator.services.mozilla.com/D177690
2023-05-15 14:53:02 +00:00
sunil mayya a31948b568 Bug 1818394 - make nsHttpTransaction::mCaps and HttpTransactionParent::mCaps atomic. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D177279
2023-05-15 10:45:07 +00:00
Hannah Peuckmann 49d880b2fc Bug 1778454 - Properly reflect the hsts status in the securityInfo object. r=keeler,robwu
Differential Revision: https://phabricator.services.mozilla.com/D173267
2023-05-15 09:31:49 +00:00
Em Zhan cf3f789fba Bug 1425310 - Implement modulepreload for link rel. r=yulia,smaug,jonco
Does perform the optional step of fetching descendants and linking:
https://html.spec.whatwg.org/multipage/webappapis.html#fetching-scripts:fetch-the-descendants-of-and-link-a-module-script-2

Partially implements some new destinations ("as" attribute values) for
modulepreload only (not for preload or link attribute reflection)

Differential Revision: https://phabricator.services.mozilla.com/D172368
2023-05-14 10:49:46 +00:00
Natalia Csoregi e0961833bd Backed out changeset 3bb8a8b46f3c (bug 1425310) for causing failures on /preload/modulepreload.html. CLOSED TREE 2023-05-13 21:02:02 +03:00
David Parks 603d89ce81 Bug 1810421: Only scan wifi when the network changes or when on mobile r=necko-reviewers,kershaw a=reland CLOSED TREE
Simplifies the concurrent operations of wifi scanning and reduces the
frequency in common cases.  Wifi scanning when on mobile is reduced from
every 5 seconds to every minute.  Wifi scans will also happen whenever
a new listener is registered.

Differential Revision: https://phabricator.services.mozilla.com/D176200
2023-05-13 00:36:01 +00:00
David Parks 61ef08e50a Bug 1810421: Refactor wifi scanning to consolidate generic code r=necko-reviewers,kershaw,valentin a=reland CLOSED TREE
Reorganizes the wifi-scanning code and makes more of it platform-generic
to ease the transition from polling the wifi to usually scanning only on
network changes.  This is essentially just moving files/code around and
promoting nsWifiMonitor::DoScan to be platform-independent.

Differential Revision: https://phabricator.services.mozilla.com/D176199
2023-05-13 00:36:00 +00:00
Em Zhan 23e08c0b13 Bug 1425310 - Implement modulepreload for link rel. r=yulia,smaug,jonco
Does perform the optional step of fetching descendants and linking:
https://html.spec.whatwg.org/multipage/webappapis.html#fetching-scripts:fetch-the-descendants-of-and-link-a-module-script-2

Partially implements some new destinations ("as" attribute values) for
modulepreload only (not for preload or link attribute reflection)

Differential Revision: https://phabricator.services.mozilla.com/D172368
2023-05-13 16:09:03 +00:00
Noemi Erli 130ecb18fc Backed out 2 changesets (bug 1810421) for causing failures in test_stickyprefs.js CLOSED TREE
Backed out changeset 028af3d71e19 (bug 1810421)
Backed out changeset 35c408b9531d (bug 1810421)
2023-05-13 15:51:53 +03:00
David Parks ce4a1d3478 Bug 1810421: Only scan wifi when the network changes or when on mobile r=necko-reviewers,kershaw
Simplifies the concurrent operations of wifi scanning and reduces the
frequency in common cases.  Wifi scanning when on mobile is reduced from
every 5 seconds to every minute.  Wifi scans will also happen whenever
a new listener is registered.

Differential Revision: https://phabricator.services.mozilla.com/D176200
2023-05-13 00:36:01 +00:00
David Parks 7043482ed4 Bug 1810421: Refactor wifi scanning to consolidate generic code r=necko-reviewers,kershaw,valentin
Reorganizes the wifi-scanning code and makes more of it platform-generic
to ease the transition from polling the wifi to usually scanning only on
network changes.  This is essentially just moving files/code around and
promoting nsWifiMonitor::DoScan to be platform-independent.

Differential Revision: https://phabricator.services.mozilla.com/D176199
2023-05-13 00:36:00 +00:00
Kershaw Chang cace8b2cdf Bug 1829169 - Clear IS_SPECULATIVE_CONNECTION for backup connection, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D177609
2023-05-11 07:35:02 +00:00
dylan 65bbeede9b Bug 1823893 - removed method nsBaseChannel::PushStreamConverter r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D177548
2023-05-11 07:30:49 +00:00
dylan 73d5d1ddc9 Bug 998736 removed NS_ENSURE_SUCCESS to avoid spamming mochitests. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D177662
2023-05-11 07:25:38 +00:00
Cristian Tuns af5d0c02f1 Backed out 2 changesets (bug 1810421) for causing build bustages in TestWifiMonitor.cpp CLOSED TREE
Backed out changeset 1cf92ef74fb4 (bug 1810421)
Backed out changeset afd62e82fe83 (bug 1810421)
2023-05-10 17:31:15 -04:00
David Parks 02027ae51d Bug 1810421: Only scan wifi when the network changes or when on mobile r=necko-reviewers,kershaw
Simplifies the concurrent operations of wifi scanning and reduces the
frequency in common cases.  Wifi scanning when on mobile is reduced from
every 5 seconds to every minute.  Wifi scans will also happen whenever
a new listener is registered.

Differential Revision: https://phabricator.services.mozilla.com/D176200
2023-05-10 19:46:29 +00:00
David Parks 4b6d4e388a Bug 1810421: Refactor wifi scanning to consolidate generic code r=necko-reviewers,kershaw,valentin
Reorganizes the wifi-scanning code and makes more of it platform-generic
to ease the transition from polling the wifi to usually scanning only on
network changes.  This is essentially just moving files/code around and
promoting nsWifiMonitor::DoScan to be platform-independent.

Differential Revision: https://phabricator.services.mozilla.com/D176199
2023-05-10 19:46:29 +00:00
Cristian Tuns e106133337 Backed out changeset 0054de12b39c (bug 1425310) while the issue is being investigated(Bug 1832361) CLOSED TREE 2023-05-10 14:49:41 -04:00
Andreas Farre 1125476080 Bug 1828375 - Do gradual ORB transition. r=sefeng,necko-reviewers
Add a separate check for spec breaking allows of certain MIME
types. Having this separated out means that we can make the rest of
the implementation behave exactly like spec.

Some tradeoffs that we need in the current state are:

* Allowing "application/dash+xml"
* Allowing "application/vnd.apple.mpegurl"
* Allowing "text/vtt"
* Allow all MIME types beginning with "audio/mpeg"
* Allow "text/plain" when there is a no-sniff header.

Differential Revision: https://phabricator.services.mozilla.com/D176821
2023-05-10 14:35:52 +00:00
Andreas Farre 476835e1c7 Bug 1823877 - Part 1: Filter opaque results from fetch() in the parent for ORB. r=sefeng,smaug,necko-reviewers,edenchuang,valentin
We make sure to not send any data to the content process in case of
fetching an opaque resource. This is way to remain more web
compatible, but is also in conflict with the ORB specification.

Differential Revision: https://phabricator.services.mozilla.com/D173454
2023-05-10 14:35:52 +00:00
Valentin Gosu a016cc0079 Bug 1831272 - Change NS_NET_STATUS_* to success codes to avoid clashing with other nsresult values r=necko-reviewers,kershaw,devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D177146
2023-05-10 10:17:26 +00:00
Em Zhan 1fb37f2836 Bug 1425310 - Implement modulepreload for link rel. r=yulia,smaug,jonco
Does perform the optional step of fetching descendants and linking:
https://html.spec.whatwg.org/multipage/webappapis.html#fetching-scripts:fetch-the-descendants-of-and-link-a-module-script-2

Partially implements some new destinations ("as" attribute values) for
modulepreload only (not for preload or link attribute reflection)

Differential Revision: https://phabricator.services.mozilla.com/D172368
2023-05-09 12:35:52 +00:00
Noemi Erli cd34e6e230 Backed out changeset 1ef27d4a851e (bug 1425310) for causing build bustages in nsHtml5TreeBuilderCppSupplement.h 2023-05-08 18:08:45 +03:00
Em Zhan aa8c113862 Bug 1425310 - Implement modulepreload for link rel. r=yulia,smaug,jonco
Does perform the optional step of fetching descendants and linking:
https://html.spec.whatwg.org/multipage/webappapis.html#fetching-scripts:fetch-the-descendants-of-and-link-a-module-script-2

Partially implements some new destinations ("as" attribute values) for
modulepreload only (not for preload or link attribute reflection)

Differential Revision: https://phabricator.services.mozilla.com/D172368
2023-05-08 13:12:30 +00:00
ffxbld ec966db095 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D177372
2023-05-08 12:27:01 +00:00
Valentin Gosu 838a716b00 Bug 1793597 - Also update the default port when changing the scheme of a URL r=tschuster,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D177048
2023-05-08 08:26:28 +00:00
Randell Jesup e4c7bf565a Bug 1831635: don't try to processed deferred WebTransport CreateStreams if connection is closed/refused r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D177316
2023-05-06 01:47:07 +00:00
Randell Jesup 397a32e2a9 Bug 1831131: Handle WebTransport createUni/BidirectionalStream before ready r=necko-reviewers,kershaw
creating streams is allowed before a transport is ready, and should fail
with InvalidStateError if the stream goes to closed or failed.

Differential Revision: https://phabricator.services.mozilla.com/D177108
2023-05-05 15:28:58 +00:00
Eden Chuang da9145b668 Bug 1819570 - P2 Save worker's associated BrowsingContextID in channel's LoadInfo for the netmonitor. r=necko-reviewers,valentin
After PFetch is enabled, fetch() call in workers will not create a channel in the content process anymore.
Although netmonitor also watches the channels in the parent process, the created channel still loses the BrowsingContext information for netmonitor to connect the network event and the channel.

In P1, https://phabricator.services.mozilla.com/D174249, we propagate the BrowsingContext ID through PFetch.
In this patch, we need to save it in channel's LoadInfo for netmonitor.

In order not to confuse with nsILoadInfo's BrowsingContextID, we create a new attribute WorkerAssociatedBrowsingContextID in nsILoadInfo.

Depends on D174249

Differential Revision: https://phabricator.services.mozilla.com/D174441
2023-05-05 15:24:09 +00:00
Andrew McCreight c8c32ddc29 Bug 1760018 - Clean up networking registrars earlier to avoid leaks. r=necko-reviewers,kershaw
These registrars can hold channels alive, which can hold listeners alive,
which can hold cycle collected things alive. By clearing the registrars
before the final CC instead of after the final CC, we can avoid spurious
leaks.

It would make more logical sense to do this earlier, at net teardown,
but I've made the minimal change to try to avoid stirring up weird
shutdown issues.

Differential Revision: https://phabricator.services.mozilla.com/D177182
2023-05-05 15:04:46 +00:00
Valentin Gosu dce50dc1f5 Bug 1822709 - test_trr_noPrefetch.js - return same skipreason for both A and AAAA r=necko-reviewers,kershaw
This test was intermittent because sometimes we'd pick up the rcode for the A request, and sometimes for the AAAA request.
This test change makes sure we always have a consistent value for the skip reason.

Differential Revision: https://phabricator.services.mozilla.com/D177150
2023-05-05 07:43:06 +00:00
Kershaw Chang 952ba710e6 Bug 1818756 - Propagate stream error code from server to client, r=jesup,necko-reviewers,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D174237
2023-05-04 13:40:59 +00:00
Kershaw Chang 7f20106a49 Bug 1818756 - Propagate stream error code from client to server, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171267
2023-05-04 13:40:59 +00:00
Jan Varga ccf2da1129 Bug 1781201 - Adjust NS_NewURI implementation to create nsStandardURL for uuid schemes; r=necko-reviewers,valentin
Otherwise BasePrincipal::CreateContentPrincipal would create null principals
for uuid schemes.

Differential Revision: https://phabricator.services.mozilla.com/D176880
2023-05-04 04:50:44 +00:00
Iulian Moraru 021d7987c7 Backed out 5 changesets (bug 1819570) for causing dt failures on browser_net_worker_stacks.js. CLOSED TREE
Backed out changeset e73379145f9a (bug 1819570)
Backed out changeset addc41903c2f (bug 1819570)
Backed out changeset c8534cf58f86 (bug 1819570)
Backed out changeset 81e926cf92dc (bug 1819570)
Backed out changeset 7d73ec5415a4 (bug 1819570)
2023-05-04 07:19:13 +03:00
Eden Chuang 8e679fa457 Bug 1819570 - P2 Save worker's associated BrowsingContextID in channel's LoadInfo for the netmonitor. r=necko-reviewers,valentin
After PFetch is enabled, fetch() call in workers will not create a channel in the content process anymore.
Although netmonitor also watches the channels in the parent process, the created channel still loses the BrowsingContext information for netmonitor to connect the network event and the channel.

In P1, https://phabricator.services.mozilla.com/D174249, we propagate the BrowsingContext ID through PFetch.
In this patch, we need to save it in channel's LoadInfo for netmonitor.

In order not to confuse with nsILoadInfo's BrowsingContextID, we create a new attribute WorkerAssociatedBrowsingContextID in nsILoadInfo.

Depends on D174249

Differential Revision: https://phabricator.services.mozilla.com/D174441
2023-05-04 02:46:31 +00:00
Natalia Csoregi b8b793fec3 Backed out 13 changesets (bug 1831040, bug 1829814, bug 1831046, bug 1831039, bug 1781201, bug 1829819, bug 1830887) for causing failures on test_upgrade_add_index.html. CLOSED TREE
Backed out changeset 0c3955157c7b (bug 1830887)
Backed out changeset 4f0b25db66d8 (bug 1831040)
Backed out changeset c503469bc048 (bug 1829814)
Backed out changeset 1a3dbef50207 (bug 1829819)
Backed out changeset 2c78a126281e (bug 1831046)
Backed out changeset 37aede27e09d (bug 1831039)
Backed out changeset bafee1f02404 (bug 1781201)
Backed out changeset 11c291dd3fb0 (bug 1781201)
Backed out changeset 2b8747b30bba (bug 1781201)
Backed out changeset 2b8e694fbfb9 (bug 1781201)
Backed out changeset e4ac26a5b071 (bug 1781201)
Backed out changeset a3ae636a90fe (bug 1781201)
Backed out changeset 236d1112bc5b (bug 1781201)
2023-05-04 02:27:58 +03:00
Andrew Creskey cccc2a3121 Bug 1830918 - Provide a mechanism to disable the forcing of the tcp send buffer size on http/2 uploads r=necko-reviewers,valentin
In Bug 1596576 we will disable by default the forcing of tcp send buffer sizes on http/2 uploads.
This provides a mechanism for users to test early.

Differential Revision: https://phabricator.services.mozilla.com/D176927
2023-05-03 19:27:26 +00:00
Jan Varga 91d41ee53a Bug 1781201 - Adjust NS_NewURI implementation to create nsStandardURL for uuid schemes; r=necko-reviewers,valentin
Otherwise BasePrincipal::CreateContentPrincipal would create null principals
for uuid schemes.

Differential Revision: https://phabricator.services.mozilla.com/D176880
2023-05-03 18:36:09 +00:00
Noemi Erli e509de74ef Backed out changeset 47909f2d0ba7 (bug 1830918) for causing bustage in ttp2StreamBase.cpp CLOSED TREE 2023-05-03 19:30:37 +03:00
Andrew Creskey 937483ada1 Bug 1830918 - Provide a mechanism to disable the forcing of the tcp send buffer size on http/2 uploads r=necko-reviewers,valentin
In Bug 1596576 we will disable by default the forcing of tcp send buffer sizes on http/2 uploads.
This provides a mechanism for users to test early.

Differential Revision: https://phabricator.services.mozilla.com/D176927
2023-05-03 15:12:08 +00:00
Valentin Gosu 5c922d8b93 Bug 1818714 - Remove cachePurge lock file after running BackgroundTask_removeDirectory r=necko-reviewers,saschanaz,jesup
Differential Revision: https://phabricator.services.mozilla.com/D176548
2023-05-03 12:40:54 +00:00
Kershaw Chang 43975ce600 Bug 1831041 - Onle record TRR telemetry when DoH mode is 2 or 3, r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176988
2023-05-03 08:34:08 +00:00
Valentin Gosu 6250f03723 Bug 1828126 - Test for cookie timestamp fixup r=pbz,cookie-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176022
2023-05-03 08:30:51 +00:00
Valentin Gosu 8b6cf1971b Bug 1828126 - Add a mechanism to fix cookies with invalid future createdAt timestamp r=pbz,edgul,cookie-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175589
2023-05-03 08:30:50 +00:00
Kershaw Chang 0ad6584639 Bug 1825538 - Retry TRR request on on main thread when proxy connection failed, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D176621
2023-05-02 13:00:27 +00:00
Kershaw Chang 8f95e3fca6 Bug 1808323 - Add telemetry for the page load time and the time to first paint for sites that supports Early Hints response, r=manuel,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D165966
2023-05-02 08:08:44 +00:00
Andrew Creskey 70448c5643 Bug 1830087 - Add http upload performance telemetry r=necko-reviewers,jesup
We want to monitor existing upload performance and also observe the impact of the fix for Bug 1596576.

Differential Revision: https://phabricator.services.mozilla.com/D176554
2023-05-01 13:46:01 +00:00
Noemi Erli 3288860e0f Backed out changeset 7c343aa2fe80 (bug 1818714) for causing marionette failures CLOSED TREE 2023-04-28 19:54:57 +03:00
Valentin Gosu 418bf22f37 Bug 1818714 - Remove cachePurge lock file after running BackgroundTask_removeDirectory r=necko-reviewers,saschanaz,jesup
Differential Revision: https://phabricator.services.mozilla.com/D176548
2023-04-28 15:30:49 +00:00
Robert Longson 332b093789 Bug 1676651 - don't warn to console if a cookie is deleted r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D175563
2023-04-28 14:33:34 +00:00
Makoto Kato e6c76d4fee Bug 1812356 - Part 1. Add SubstitutingJARURIParams to serialize SubstitutingJARURI. r=nika,necko-reviewers,valentin
GeckoView supports resource://android/ URL to access package root. But when
using this URL, `nsDocShellLoadState::ValidateWithOriginalState` returns URI
mismatch because `SubstitutingJARURI` is serialized to other type.

So `SubstitutingJARURI` should be serialized to same type.

To serialize this via IPC, we return Mutator type. But this doesn't allow
to modify properties except for IPC serialization. But some Set* can return
`NS_OK` when having same value for `ContentPrincipal::GetSiteOriginNoSuffix`.

Differential Revision: https://phabricator.services.mozilla.com/D175765
2023-04-28 05:40:41 +00:00
Bilal 76a6a97929 Bug 1816987 - ESMified browser/components/enterprisepolicies/schemas r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D174495
2023-04-27 19:23:00 +00:00
Kershaw Chang bdf74a52b8 Bug 1830096 - Allow to create streams before WebTransportSessionProxyState::ACTIVE, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176640
2023-04-27 16:24:46 +00:00
Narcis Beleuzu 82030e5f73 Backed out 2 changesets (bug 1830096) for xpc failures on test_webtransport_simple.js. CLOSED TREE
Backed out changeset 54cc048fd39a (bug 1830096)
Backed out changeset 7337707e8b32 (bug 1830096)
2023-04-27 18:31:49 +03:00
Kershaw Chang 42658ed53a Bug 1830096 - Allow to create streams before WebTransportSessionProxyState::ACTIVE, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176640
2023-04-27 14:03:57 +00:00
Stanca Serban 18b9a1123b Backed out 2 changesets (bug 1828126) for causing xpcshell failures in test_timestamp_fixup.js. CLOSED TREE
Backed out changeset 66859868cbe0 (bug 1828126)
Backed out changeset bf9de9179b04 (bug 1828126)
2023-04-27 16:59:43 +03:00
Valentin Gosu 3ed266ca7d Bug 1828126 - Test for cookie timestamp fixup r=pbz,cookie-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176022
2023-04-27 12:59:12 +00:00
Valentin Gosu 90caf4fa95 Bug 1828126 - Add a mechanism to fix cookies with invalid future createdAt timestamp r=pbz,edgul,cookie-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175589
2023-04-27 12:59:12 +00:00
ffxbld 0c8279cac8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D176632
2023-04-27 12:13:02 +00:00
Geoff Lankow 0f4bb93b27 Bug 1830201 - Override Telemetry products check in test_trr_telemetry.js. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D176607
2023-04-27 07:55:32 +00:00
Kershaw Chang f36e52228b Bug 1828944 - Add TRR mode into TRR provider key, r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176122
2023-04-26 09:16:41 +00:00
Norisz Fay 998dd1e8c0 Backed out changeset 223b31352e55 (bug 1828944) for causing failures on TRRService.cpp 2023-04-25 16:19:26 +03:00
Kershaw Chang ff56cbffb1 Bug 1828944 - Add TRR mode into TRR provider key, r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176122
2023-04-25 11:22:17 +00:00
Cristina Horotan 82a7ee4839 Backed out changeset b288a387f790 (bug 1425310) for causing Reflection related failures. CLOSED TREE 2023-04-21 18:37:11 +03:00
Em Zhan 3005df8d1d Bug 1425310 - Implement modulepreload for link rel. r=yulia,smaug,jonco
Does perform the optional step of fetching descendants and linking:
https://html.spec.whatwg.org/multipage/webappapis.html#fetching-scripts:fetch-the-descendants-of-and-link-a-module-script-2

Differential Revision: https://phabricator.services.mozilla.com/D172368
2023-04-21 14:32:30 +00:00
Nika Layzell 3c0edc896e Bug 1824465 - Part 19: Make PSocketProcessBridge refcounted, r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173734
2023-04-19 22:10:10 +00:00
Nika Layzell 373efd85f0 Bug 1824465 - Part 18: Make PSocketProcess refcounted, r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173733
2023-04-19 22:10:10 +00:00
Nika Layzell 2adcc178cd Bug 1824465 - Part 17: Make ProxyAutoConfigChild refcounted, r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173732
2023-04-19 22:10:09 +00:00
Manuel Bucher c18f7f98e5 Bug 1809966 - Fix Intermittent netwerk/test/browser/browser_103_cleanup.js r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D166935
2023-04-19 14:00:03 +00:00
Dana Keeler 0840631ebd Bug 1813618 - buffer client auth certificate selection UI for speculative connections r=valentin,jschanck,necko-reviewers,kershaw
When necko makes a speculative connection, the peer may ask for a client
authentication certificate. This patch makes it so that when this happens,
no certificate selection UI will be shown until the connection is claimed (as
in, it is no longer merely speculative).

Differential Revision: https://phabricator.services.mozilla.com/D175528
2023-04-18 17:52:49 +00:00
sunil mayya c61d129742 Bug 1819642 - replace GetHeader with GetOriginalHeader in nsHttpResponseHead::GetContentTypeOptionsHeader. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D175506
2023-04-18 08:38:58 +00:00
Emilio Cobos Álvarez 0277d1fb8f Bug 1826304 - Update base64 in some in-tree crates. r=glandium,webdriver-reviewers,necko-reviewers,supply-chain-reviewers,jesup,jgraham,emilio
Patch old base64 0.13 to 0.21 to avoid introducing the dup dependency.

Differential Revision: https://phabricator.services.mozilla.com/D175116
2023-04-17 21:12:47 +00:00
ffxbld 38571e8257 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D175624
2023-04-17 13:13:37 +00:00
Sandor Molnar eb2de1ef8a Backed out changeset 694a4c9a4085 (bug 1826304) for causing xpc failures in security/manager/ssl/tests/unit/test_cert_storage.js CLOSED TREE 2023-04-14 18:09:53 +03:00
Sandor Molnar 0f674185af Backed out changeset a6dadf64c1e0 (bug 1819529) for causing bug 1827669 2023-04-14 16:59:32 +03:00
Emilio Cobos Álvarez a3c219bee7 Bug 1826304 - Update base64 in some in-tree crates. r=glandium,webdriver-reviewers,necko-reviewers,supply-chain-reviewers,jesup,jgraham,emilio
Patch old base64 0.13 to 0.21 to avoid introducing the dup dependency.

Differential Revision: https://phabricator.services.mozilla.com/D175116
2023-04-14 13:50:45 +00:00
Kai Engert 899e773917 Bug 1826661 - Add null checks in CacheOutputCloseListener to gracefully handle being called during XPCOM shutdown. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D174931
2023-04-13 10:18:42 +00:00
Valentin Gosu 401d933a4f Bug 1827504 - Remove last files of netwerk/cache/ r=sunil,geckoview-reviewers,zeid,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D175177
2023-04-13 09:04:24 +00:00
Tom Schuster c86335b0e3 Bug 1804684 - Fragment navigation may change document URI scheme from https to http. r=ckerschb,nika,smaug
Differential Revision: https://phabricator.services.mozilla.com/D165282
2023-04-12 12:35:18 +00:00
Gijs Kruitbosch b02fe6e1e2 Bug 1691658 - block http redirects to data: protocol, r=necko-reviewers,ckerschb,valentin
This also adds a network.allow_redirect_to_data pref in case we need to turn
this back on for compat reasons.

Differential Revision: https://phabricator.services.mozilla.com/D173988
2023-04-12 09:43:00 +00:00
Iulian Moraru bc5aeba27c Backed out changeset ad22661fac08 (bug 1691658) for causing wpt failures on browser_datauri.js. CLOSED TREE 2023-04-11 17:25:27 +03:00
Gijs Kruitbosch d0b8081ec4 Bug 1691658 - block http redirects to data: protocol, r=necko-reviewers,ckerschb,valentin
This also adds a network.allow_redirect_to_data pref in case we need to turn
this back on for compat reasons.

Differential Revision: https://phabricator.services.mozilla.com/D173988
2023-04-11 10:58:09 +00:00
Valentin Gosu 8929cad58c Bug 1610741 - Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod
- Patch changes TRRService::MaybeSetPrivateURI so that it doesn't bail
  if the URL is invalid. That could lead us into a state where the
  network.trr.uri pref has been set to some invalid URL, but we continue
  using the previous domain (or even the default TRR provider) instead.
- Updates the DoH settings UI to not set the network.trr.uri pref to "",
  as that will cause the TRRService to use the value of
  the network.trr.default_provider_uri pref instead.

Differential Revision: https://phabricator.services.mozilla.com/D174111
2023-04-11 09:57:29 +00:00
Valentin Gosu 61f06999fa Bug 1610741 - DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod
- The patch saves the confirmation channel's status and skipReason in the TRR Service
- The UI queries the status and displays the stringified version in the Not Available (reason) label
- Introduces doh-status-label CSS rule so the Learn-More link isn't off center

Differential Revision: https://phabricator.services.mozilla.com/D174110
2023-04-11 09:57:28 +00:00
Valentin Gosu 543de31004 Bug 1610741 - DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod
Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ
Figma: https://www.figma.com/file/qE8FEIOv2Q0pm8e1euItd1/DoH-UI-Improvements?node-id=15%3A3479&t=8tJjft2zfvDJcV2N-0


This change adds a DNS over HTTPS section to about:preferences#privacy
The UI is intended to have the same style as the Enhanced Tracking Protection
choices.
The old DoH UI is going to be removed in a followup patch.

Differential Revision: https://phabricator.services.mozilla.com/D172966
2023-04-11 09:57:27 +00:00
ffxbld 5b0c0c8f92 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D174869
2023-04-07 02:31:04 +00:00
Cosmin Sabou 904ab94a50 Backed out 7 changesets (bug 1816948, bug 1596847, bug 1610741) for causing build bustages on TRRService.cpp. CLOSED TREE
Backed out changeset a7341379f263 (bug 1610741)
Backed out changeset 5689f1b0d016 (bug 1816948)
Backed out changeset 7746c3a39e92 (bug 1596847)
Backed out changeset 8e85f984f46c (bug 1610741)
Backed out changeset b9b738076d55 (bug 1610741)
Backed out changeset 403f22e3a0a0 (bug 1610741)
Backed out changeset 8ec3cfe29b61 (bug 1610741)
2023-04-07 00:45:15 +03:00
Mark Banner 474708c181 Bug 1826702 - Convert PermissionTestUtils to an ES module. r=permissions-reviewers,settings-reviewers,media-playback-reviewers,pbz,padenot
Differential Revision: https://phabricator.services.mozilla.com/D174846
2023-04-06 15:07:56 +00:00
Valentin Gosu d735948483 Bug 1610741 - Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod
- Patch changes TRRService::MaybeSetPrivateURI so that it doesn't bail
  if the URL is invalid. That could lead us into a state where the
  network.trr.uri pref has been set to some invalid URL, but we continue
  using the previous domain (or even the default TRR provider) instead.
- Updates the DoH settings UI to not set the network.trr.uri pref to "",
  as that will cause the TRRService to use the value of
  the network.trr.default_provider_uri pref instead.

Differential Revision: https://phabricator.services.mozilla.com/D174111
2023-04-06 12:57:51 +00:00
Valentin Gosu 986296c556 Bug 1610741 - DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod
- The patch saves the confirmation channel's status and skipReason in the TRR Service
- The UI queries the status and displays the stringified version in the Not Available (reason) label
- Introduces doh-status-label CSS rule so the Learn-More link isn't off center

Differential Revision: https://phabricator.services.mozilla.com/D174110
2023-04-06 12:57:50 +00:00
Valentin Gosu 24453f2c09 Bug 1610741 - DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod
Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ
Figma: https://www.figma.com/file/qE8FEIOv2Q0pm8e1euItd1/DoH-UI-Improvements?node-id=15%3A3479&t=8tJjft2zfvDJcV2N-0


This change adds a DNS over HTTPS section to about:preferences#privacy
The UI is intended to have the same style as the Enhanced Tracking Protection
choices.
The old DoH UI is going to be removed in a followup patch.

Differential Revision: https://phabricator.services.mozilla.com/D172966
2023-04-06 12:57:49 +00:00