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

25091 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou bb4c6b6b81 Backed out 2 changesets (bug 1834176) for having an unreferenced file in NetUtil.sys.mjs. CLOSED TREE
Backed out changeset 2cc40181bae9 (bug 1834176)
Backed out changeset f17584d19ea7 (bug 1834176)
2023-05-24 19:47:31 +03:00
Mark Banner 01907192f7 Bug 1834176 - Convert NetUtil.jsm to an ES module. r=necko-reviewers,valentin
Depends on D178588

Differential Revision: https://phabricator.services.mozilla.com/D178954
2023-05-24 16:11:15 +00:00
Sean Feng f5a6348688 Bug 1833216 - Add two more telemetry probes for ORB r=farre,necko-reviewers
Add `ORB_BLOCK_REASON` to learn more about the reasoning of orb blocking in the wild.

Add ORB_BLOCK_INITIATOR to learn about the initiators. We can add more probes in the future if we want to target a specific initiator.

Differential Revision: https://phabricator.services.mozilla.com/D178102
2023-05-23 20:42:35 +00:00
Natalia Csoregi e87ecf485e Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE
Backed out changeset 346d3a1568dd (bug 1834222)
Backed out changeset ea1d8b634bfc (bug 1834176)
Backed out changeset 74d1880272d3 (bug 1834176)
2023-05-24 04:29:45 +03:00
Mark Banner fbc15bdb60 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 19:09:29 +00:00
Noemi Erli aa2f146d78 Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Mark Banner e3e9a991b8 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +00:00
Nicklas Boman b91ba7b84e Bug 1833732 - Freebsd build error after wifi scanning refactor r=necko-reviewers,jesup DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178375
2023-05-22 22:11:08 +00:00
Johannes J. Schmidt bb1dbfa4c0 Bug 1832490 - make LoginManagerAuthPrompter promts async r=credential-management-reviewers,necko-reviewers,jesup,dimi
to use `addLoginAsync` instead of `addLogin`.

Differential Revision: https://phabricator.services.mozilla.com/D178285
2023-05-22 13:49:59 +00:00
Kershaw Chang b7200927e2 Bug 1831635 - Check WebTransportSessionProxyState before creating stream, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178219
2023-05-22 09:15:26 +00:00
Andreas Farre 58e35cde69 Bug 1833642 - Test that security headers are processed on onAuthCancelled. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D178319
2023-05-22 08:43:03 +00:00
Mark Banner 130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner 8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Pushpanjali 235f25ea9c Bug 1822010 - Convert toolkit/components/url-classifier to ES modules. r=perftest-reviewers,webcompat-reviewers,geckoview-reviewers,devtools-reviewers,twisniewski,valentin,m_kato,anti-tracking-reviewers,timhuang,sparky
Differential Revision: https://phabricator.services.mozilla.com/D173390
2023-05-18 12:21:12 +00:00
Kershaw Chang 86d59e6ff3 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 21:25:33 +00:00
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
Noemi Erli d637b3f05e Backed out 24 changesets (bug 1824465) for causing failures in nsISupportsImpl.cpp CLOSED TREE
Backed out changeset a5c8f22b7170 (bug 1824465)
Backed out changeset b551b655ac72 (bug 1824465)
Backed out changeset 0e6768a6419c (bug 1824465)
Backed out changeset fb115ebb7fe0 (bug 1824465)
Backed out changeset aaa7a2c8aa3b (bug 1824465)
Backed out changeset 7ef94bfa90b3 (bug 1824465)
Backed out changeset a4238fd6b86f (bug 1824465)
Backed out changeset 3a88e4cfbe45 (bug 1824465)
Backed out changeset 40c2467d3162 (bug 1824465)
Backed out changeset 8f900395c72c (bug 1824465)
Backed out changeset 92e4c6e4d73c (bug 1824465)
Backed out changeset 445c5d5d9661 (bug 1824465)
Backed out changeset de51ed5389d9 (bug 1824465)
Backed out changeset 72049d72bcb6 (bug 1824465)
Backed out changeset 126773c2427a (bug 1824465)
Backed out changeset 886e76bc80be (bug 1824465)
Backed out changeset a69a851411f0 (bug 1824465)
Backed out changeset 703599cf6189 (bug 1824465)
Backed out changeset 11ecb78ebc15 (bug 1824465)
Backed out changeset 563255aaa1e1 (bug 1824465)
Backed out changeset d1bf32c2a6c6 (bug 1824465)
Backed out changeset ef28b2777487 (bug 1824465)
Backed out changeset a2015d354bb1 (bug 1824465)
Backed out changeset 31d6b53fdc6a (bug 1824465)
2023-04-06 01:50:55 +03:00
Nika Layzell ba0ee3ea8d Bug 1824465 - Part 19: Make PSocketProcessBridge refcounted, r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173734
2023-04-05 21:33:43 +00:00
Nika Layzell 70b54d3677 Bug 1824465 - Part 18: Make PSocketProcess refcounted, r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173733
2023-04-05 21:33:43 +00:00
Nika Layzell 082a49dc3e Bug 1824465 - Part 17: Make ProxyAutoConfigChild refcounted, r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173732
2023-04-05 21:33:42 +00:00
Cristian Tuns 456072646e Backed out 7 changesets (bug 1610741, bug 1816948, bug 1596847) for causing xpcshell failures in test_dooh.js CLOSED TREE
Backed out changeset 8596bc4554df (bug 1610741)
Backed out changeset 1a9baaa49d3d (bug 1816948)
Backed out changeset d72b9cdfbb1e (bug 1596847)
Backed out changeset e2e564f584b3 (bug 1610741)
Backed out changeset e9e331ccc7ab (bug 1610741)
Backed out changeset 44218f91e7cf (bug 1610741)
Backed out changeset 6f296319409a (bug 1610741)
2023-04-05 15:14:36 -04:00
Valentin Gosu 30552a1a59 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-05 17:13:53 +00:00
Valentin Gosu 4122ebd649 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-05 17:13:53 +00:00
Valentin Gosu ed0851e1a3 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-05 17:13:52 +00:00
Valentin Gosu ebd2be7cc1 Bug 1800971 - Limit windows-sso to the default container tab by default r=mkaply,edgul
This patch adds a check for the pref `network.http.windows-sso.container-enabled.{containerID}`.
We also default the pref for the no-container userContextId to true.

Differential Revision: https://phabricator.services.mozilla.com/D174751
2023-04-05 14:54:26 +00:00
Manuel Bucher 0e9379cca3 Bug 1818607 - browser_103_asset.js: Request longer timeout for osx test verify chaos mode 10 runs r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D174748
2023-04-05 14:02:00 +00:00
Stanca Serban 5f18f085ee Backed out changeset 8bab888ea4d4 (bug 1691658) for causing xpcshell failures in test_redirect_different-protocol_wrap.js. CLOSED TREE 2023-04-05 04:00:14 +03:00
Gijs Kruitbosch 193d8a5b5a 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-04 21:41:12 +00:00
Ryan VanderMeulen 57c18d5d8b Bug 1826339 - Update to latest libusrsctp. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D174635
2023-04-04 14:35:25 +00:00
Cristina Horotan 7317157573 Backed out changeset 736be753a5cf (bug 1691658) for causing xpcshell failures at test_redirect_different-protocol.js CLOSED TREE 2023-04-04 18:02:15 +03:00
Gijs Kruitbosch 8bcb463d80 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-04 13:54:05 +00:00
Paul Zuehlcke c954168dcf Bug 1826293 - Remove pref privacy.partition.network_state.ws_connection_queue. r=hpeuckmann,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D174611
2023-04-04 13:32:34 +00:00
Dennis Jackson 70af44ef60 Bug 1824578: Fix misnamed pref in ECH tests r=kershaw,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D173915
2023-04-03 11:38:17 +00:00
Mark Banner 44fdf3c6b0 Bug 1825715 - Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (other). r=Gijs,necko-reviewers,credential-management-reviewers,devtools-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D174217
2023-04-01 16:40:01 +00:00
Cristian Tuns 8cca7e0d9f Backed out 3 changesets (bug 1825715) for causing node failures with checkBundles CLOSED TREE
Backed out changeset 53faa883781a (bug 1825715)
Backed out changeset 5ce3ad6ce483 (bug 1825715)
Backed out changeset 7f0b08e89cd1 (bug 1825715)
2023-03-31 17:23:28 -04:00
Mark Banner a6e7fe51aa Bug 1825715 - Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (other). r=Gijs,necko-reviewers,credential-management-reviewers,devtools-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D174217
2023-03-31 20:32:18 +00:00
Kershaw Chang a46b4ef348 Bug 1822005 - bypass client cert check for speculative connections created because of EarlyHint, r=manuel,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D173815
2023-03-31 14:29:02 +00:00
sunil mayya a35b81e828 Bug 1816918 - pass ClientInfo via IPC while creating webtransport session. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D173115
2023-03-31 03:54:20 +00:00
Mike Hommey 93784bacca Bug 1825478 - Update bindgen to 0.64. r=emilio,necko-reviewers,supply-chain-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D174054
2023-03-30 21:05:14 +00:00
Nika Layzell d57c9498f6 Bug 1825360 - Remove the NS_DISPATCH_SYNC flag, r=necko-reviewers,geckoview-reviewers,media-playback-reviewers,karlt,jesup,m_kato,emilio
This flag is not supported by most event targets and can have unexpected
side effects (namely spinning a nested event loop). All consumers have
been replaced with a new function which is more explicit about this side
effect.

Differential Revision: https://phabricator.services.mozilla.com/D173985
2023-03-30 16:53:51 +00:00
Manuel Bucher 3e41106efa Bug 1816149 - Fix Early Hints in the Firefox Profiler by not changing the channelId anymore r=necko-reviewers,jesup
The Firefox Profiler expects the channelId to not change. There is no
reason to change the channelId. It was a measure to associate the early
hint preload in devtools and profiler, but neither is the case right
now: Devtools currently don't show preloads at all and changing the
channelId messes up the profiler.

Differential Revision: https://phabricator.services.mozilla.com/D174116
2023-03-30 14:52:09 +00:00
serge-sans-paille 9a33f06436 Bug 1824513 - Make netwerk/protocol/file buildable outside of a unified build environment r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D173613
2023-03-30 13:48:33 +00:00
Sandor Molnar 5f41905362 Backed out changeset 9fda7af76207 (bug 1816918) for causing build bustage in dom/webtransport/parent/WebTransportParent.cpp CLOSED TREE 2023-03-30 08:36:21 +03:00
sunil mayya 3c35233ee6 Bug 1816918 - pass ClientInfo via IPC while creating webtransport session. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D173115
2023-03-30 04:46:54 +00:00
Ray Kraesig fbf8a777af Bug 1820268 - make nsI{Input,Output}Stream::Close() idempotent r=xpcom-reviewers,nika,necko-reviewers,valentin
The `nsIAsync{Input,Output}Stream` base classes' Close() methods are
already documented to be idempotent. Do the same for their synchronous
counterparts, and make the necessary changes to ensure this.

The only known functional change here (modulo the removal of some
uninteresting logging) is to `nsFileInputStream`, which now avoids
calling `Tell()` if the stream is already closed. (The other early-exits
added here are formally redundant, but neither obviously nor robustly
so.)

This silences some console warning spam when running a debug build from
the command line.

Differential Revision: https://phabricator.services.mozilla.com/D171615
2023-03-29 17:01:32 +00:00
Norisz Fay 0dd2f35ce7 Backed out changeset 2ce4fba56cf7 (bug 1816918) for causing bustage on WebTransportParent.cpp 2023-03-28 21:48:35 +03:00
sunil mayya 0ece05ba82 Bug 1816918 - pass ClientInfo via IPC while creating webtransport session. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D173115
2023-03-28 16:53:23 +00:00
Manuel Bucher edbda437e9 Bug 1820829 - Document EarlyHintPreloader and related classes in firefox-source-docs r=necko-reviewers,jesup DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D171881
2023-03-28 10:37:07 +00:00
Valentin Gosu ab44c45a26 Bug 1824723 - Set the content type to the proper name when ObliviousHTTPChannel is used with POST r=necko-reviewers,jesup
Depends on D173671

Differential Revision: https://phabricator.services.mozilla.com/D173690
2023-03-28 08:11:28 +00:00
Valentin Gosu 7e82d0c2c9 Bug 1824723 - Also update TRR URI if network.trr.use_ohttp has changed r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173671
2023-03-28 08:11:28 +00:00
Kershaw Chang e03137dcc6 Bug 1823480 - Don't ResetDownstreamState if a stream already received FIN, r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D173715
2023-03-28 06:50:45 +00:00
Sandor Molnar f2ead1f335 Backed out changeset db2b968157d6 (bug 1816918) for causing xpc assertion failures in mozilla/Maybe.h CLOSED TREE 2023-03-28 05:30:53 +03:00
sunil mayya 4f907068d8 Bug 1816918 - pass ClientInfo via IPC while creating webtransport session. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D173115
2023-03-28 01:39:23 +00:00
sunil mayya ddaba9c7bb Bug 1823502 - do not drop auth header for HSTS and internal redirects. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D173523
2023-03-28 00:56:23 +00:00
Kershaw Chang 5179c60a43 Bug 1824784 - Store WebTransportSessionEventListener in nsHttpChannel, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D173743
2023-03-27 17:30:58 +00:00
Randell Jesup 6ddf4bfdad Bug 1824152: Return success if SocketThreadService was already shutting down r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D173634
2023-03-27 14:54:56 +00:00
Iulian Moraru fa6cfbe289 Backed out changeset 57f13fcb6953 (bug 1816918) for causing build bustages on WebTransportParent.cpp. CLOSED TREE 2023-03-27 18:03:33 +03:00
sunil mayya 3497e2d7c9 Bug 1816918 - pass ClientInfo via IPC while creating webtransport session. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D173115
2023-03-27 12:35:44 +00:00
Andi-Bogdan Postelnicu 4efa1bd0ba Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-27 07:20:25 +00:00
Dennis Jackson 169bf38e15 Bug 1822876: Add H3 ECH Telemetry. r=kershaw,necko-reviewers
This patch adds telemetry which records when H3 connections succeed / fail
and what kind of ECH they used. Our H3 ECH tests are extended to test these
different modes and that the telemetry is recorded correctly.

Differential Revision: https://phabricator.services.mozilla.com/D172813
2023-03-26 07:31:40 +00:00
Valentin Gosu 84062fa5aa Bug 1824091 - Make sure OHTTP config gets reloaded on connectivity change if first attempt failed. r=keeler,necko-reviewers,kershaw
- Make sure the ObliviousHttpService clears the observers at shutdown
- Make the ObliviousHttpService reload the OHTTP config on connectivity change if first attempt failed
- Make the ObliviousHttpService reload the OHTTP config on TRR confirmation-fail if the first attempt failed

Differential Revision: https://phabricator.services.mozilla.com/D173412
2023-03-25 21:23:18 +00:00
Ebilite Uchenna 42085ca1e3 Bug 1823710 - Converted toolkit/components/captivedetect to ES modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D173283
2023-03-25 18:16:10 +00:00
Sandor Molnar 9db345d4c1 Backed out 2 changesets (bug 1276351) for causing build bustage in image/ClippedImage.cp CLOSED TREE
Backed out changeset e84598eb82c1 (bug 1276351)
Backed out changeset e940b0554484 (bug 1276351)
2023-03-25 14:16:43 +02:00
Andi-Bogdan Postelnicu 447f1e3358 Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-25 06:58:52 +00:00
Iulian Moraru 6d40eee997 Backed out 2 changesets (bug 1276351) for causing multiple failures.
Backed out changeset eeaf4f1e06af (bug 1276351)
Backed out changeset d44cb5704342 (bug 1276351)
2023-03-25 00:08:24 +02:00
Andi-Bogdan Postelnicu a1b827b503 Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-24 18:55:39 +00:00
Emilio Cobos Álvarez 6b6e1f6bbd Bug 1820280 - Expose chrome CSS to about: pages except srcdoc/blank. r=necko-reviewers,valentin,smaug
I believe these are the only two special-cases.

Differential Revision: https://phabricator.services.mozilla.com/D171853
2023-03-24 09:29:48 +00:00
lyavor 6996eb2bcc Bug 1722895 - Add new Telemetry for https-only/ first for LABELS_HTTP_SCHEME_UPGRADE_TYPE r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D167945
2023-03-24 08:37:08 +00:00
Sean Feng 3591a80eeb Bug 1823921 - Filter out some types of requests from the ORB_DID_EVER_BLOCK_RESPONSE probe r=farre,necko-reviewers,kershaw
Content processes can do nothing to the responses of nsIContentPolicy::TYPE_BEACON,
nsIContentPolicy::TYPE_PING and nsIContentPolicy::TYPE_CSP_REPORT requests, so filter
them out of the ORB_DID_EVER_BLOCK_RESPONSE probe to not worry them for
web compatibility.

Differential Revision: https://phabricator.services.mozilla.com/D173292
2023-03-23 13:22:19 +00:00
Kershaw Chang 6c5beed2e2 Bug 1823417 - Don't exclude Http3 origin for WebTransport, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D173039
2023-03-23 09:38:33 +00:00
Sandor Molnar 64b61e2adf Merge mozilla-central to autoland 2023-03-22 23:18:29 +02:00
Sandor Molnar 4d6a262dee Merge autoland to mozilla-central a=merge 2023-03-22 23:12:50 +02:00
edgul 5373bffa6a Bug 1818828 - Added basic DOM-using xpcshell testing for simple webtransport coverage. r=necko-reviewers,kershaw,jesup
Differential Revision: https://phabricator.services.mozilla.com/D170955
2023-03-22 18:38:00 +00:00
Emilio Cobos Álvarez 91e6e4c5d4 Bug 1823686 - Share URLExtraData between SVG attribute mapping and style attribute. r=smaug
I don't think there's ever a way these should differ.

Got some include hell from removing ReferrerInfo.h from Document.h but
hopefully should be straight-forward to review.

Depends on D173154

Differential Revision: https://phabricator.services.mozilla.com/D173155
2023-03-22 14:54:43 +00:00
Sean Feng 2b49ff1198 Bug 1804086 - Make JSValidatorChild decoding the data from other encoding into UTF8 if needed r=smaug
Depends on D172491

Differential Revision: https://phabricator.services.mozilla.com/D172492
2023-03-22 14:21:40 +00:00
Sean Feng 10b143a80e Bug 1804086 - Allow document charset to be passed from content to parent r=smaug,necko-reviewers,kershaw
This is needed for doing content decoding for ORB.

Depends on D172490

Differential Revision: https://phabricator.services.mozilla.com/D172491
2023-03-22 14:21:40 +00:00
Sean Feng b32e4554a9 Bug 1804086 - Allow classic script hint to be passed from content to parent r=smaug,necko-reviewers,kershaw
This is needed for doing content decoding for ORB.

Differential Revision: https://phabricator.services.mozilla.com/D172490
2023-03-22 14:21:39 +00:00
Randell Jesup db04b44f0e Bug 1818998: Convert nsSocketTransportService polling arrays to nsTArrays r=valentin,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D171043
2023-03-22 14:05:24 +00:00
Cristina Horotan 22f22e507d Backed out changeset 7796a0d39f43 (bug 1818828) for xpcshell failures at test_simple_conn.js CLOSED TREE 2023-03-22 15:05:16 +02:00
Cristina Horotan d00845a44a Merge autoland to mozilla-central a=merge 2023-03-22 11:35:09 +02:00
Cristina Horotan 678c52f5e7 Backed out changeset bb1f3463f21d (bug 1804684) for causing Bug 1823765 a=backout 2023-03-22 11:31:15 +02:00
Randell Jesup 02f7dcdf76 Bug 1820776: Cleanup H3Session r=kershaw,valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171900
2023-03-22 02:21:48 +00:00
Noemi Erli b4fa013c2d Backed out 3 changesets (bug 1804086) for causing failures in JSValidatorChild.cpp CLOSED TREE
Backed out changeset 12a40a80a975 (bug 1804086)
Backed out changeset 1bea9ea5e20d (bug 1804086)
Backed out changeset 00feb14e7824 (bug 1804086)
2023-03-22 03:33:43 +02:00
Sean Feng e3c15247bc Bug 1804086 - Make JSValidatorChild decoding the data from other encoding into UTF8 if needed r=smaug
Depends on D172491

Differential Revision: https://phabricator.services.mozilla.com/D172492
2023-03-21 22:55:09 +00:00
Sean Feng 0feaa2906c Bug 1804086 - Allow document charset to be passed from content to parent r=smaug,necko-reviewers,kershaw
This is needed for doing content decoding for ORB.

Depends on D172490

Differential Revision: https://phabricator.services.mozilla.com/D172491
2023-03-21 22:55:08 +00:00
Sean Feng 078281d4c2 Bug 1804086 - Allow classic script hint to be passed from content to parent r=smaug,necko-reviewers,kershaw
This is needed for doing content decoding for ORB.

Differential Revision: https://phabricator.services.mozilla.com/D172490
2023-03-21 22:55:08 +00:00
Mike Hommey 9b67b694bf Bug 1822484 - Rename IsDevelopmentBuild. r=necko-reviewers,media-playback-reviewers,padenot,emilio
Differential Revision: https://phabricator.services.mozilla.com/D172748
2023-03-21 21:54:27 +00:00
edgul 15ef80c0d9 Bug 1818828 - Added basic DOM-using xpcshell testing for simple webtransport coverage. r=necko-reviewers,kershaw,jesup
Differential Revision: https://phabricator.services.mozilla.com/D170955
2023-03-21 19:14:47 +00:00
Cristian Tuns a4c7b2f0e3 Backed out changeset dc84799cb093 (bug 1818998) for causing xpcshell failures in dom/base/test/unit_ipc/* CLOSED TREE 2023-03-21 14:53:58 -04:00
Cristian Tuns 387d191ab4 Backed out 6 changesets (bug 1820776, bug 1820434, bug 1822138, bug 1822038, bug 1821146, bug 1791835) for causing build bustages on WebTransportDatagramDuplexStream.cpp CLOSED TREE
Backed out changeset 4a866db45f1a (bug 1822038)
Backed out changeset 889174ce36fd (bug 1821146)
Backed out changeset 39f22b088301 (bug 1820434)
Backed out changeset c93fec9914f5 (bug 1822138)
Backed out changeset 914ee3f0f3ee (bug 1791835)
Backed out changeset 43beacf35d14 (bug 1820776)
2023-03-21 17:24:20 -04:00
Randell Jesup 74ba2fecf7 Bug 1820776: Cleanup H3Session r=kershaw,valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171900
2023-03-21 16:09:08 +00:00
Byron Campen b4ea94876f Bug 1699230: Decrease the SCTP MTU. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D172703
2023-03-21 15:23:47 +00:00
Randell Jesup 9b0b986c80 Bug 1818998: Convert nsSocketTransportService polling arrays to nsTArrays r=valentin,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D171043
2023-03-21 15:22:17 +00:00
Valentin Gosu b1dfac72d9 Bug 1823358 - Add new network.trr.ohttp.uri pref r=keeler,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D172988
2023-03-21 14:51:48 +00:00
Stanca Serban 7369c7013f Backed out changeset 4a7ad0b00cda (bug 1823358) for causing xpcshell failures in netwerk/test/unit/test_cookies_privatebrowsing.js. CLOSED TREE 2023-03-21 13:03:54 +02:00
Kershaw Chang 5e58575e28 Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-21 09:09:58 +00:00
Kershaw Chang b39b0bed43 Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D167515
2023-03-21 09:09:58 +00:00
Valentin Gosu e5eb61ebfc Bug 1823358 - Add new network.trr.ohttp.uri pref r=keeler,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D172988
2023-03-21 08:49:53 +00:00
Nika Layzell f686782a80 Bug 1814686 - Part 2: Make nsDocShellLoadState not-null, and simplify handling of nsDOMNavigationTiming, r=necko-reviewers,valentin,smaug
These types were already non-nullable, with the serializer implementation not
supporting nullptr values. This patch converts the uses to be explicitly
non-nullable, and adds the relevant `WrapNotNull` changes.

Differential Revision: https://phabricator.services.mozilla.com/D168890
2023-03-20 15:40:38 +00:00
Nika Layzell c4bc184bac Bug 1814686 - Part 1b: Add nullable annotations to refcounted types in ipdl, r=ipc-reviewers,mccr8
Manual changes to make all refcounted types be marked as `nullable` after the
changes in part 1a. This was done without any investigation into whether the
actual types want to be nullable, in order to avoid code changes.

Differential Revision: https://phabricator.services.mozilla.com/D168889
2023-03-20 15:40:37 +00:00
Nika Layzell f47e7d485e Bug 1607634 - Part 4b: Changes for not-nullable actor types being wrapped in NotNull, r=ipc-reviewers,necko-reviewers,mccr8
These are the code changes required by the IPDL changes in part 4a.

Differential Revision: https://phabricator.services.mozilla.com/D168887
2023-03-20 15:40:36 +00:00