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

25003 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 12fd335873 Bug 1834640 - Part 1: Add threadsafety annotations to nsSocketTransportService, r=jesup,necko-reviewers
While looking at the relevant code, I noticed the unannotated mutex, and added
some annotations to it. The minor changes I had to do to keep the tree
building after the annotations shouldn't be actual threadsafety issues, as
most of it is either dead code, or exclusively called from the only mutating
thread.

Differential Revision: https://phabricator.services.mozilla.com/D178867
2023-05-26 16:50:22 +00:00
Mark Banner 8b4f426ecf Bug 1834204 - Update more consumers to import ES modules directly. r=kpatenio,geckoview-reviewers,whimboo,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D178590
2023-05-26 11:36:33 +00:00
Harshit Sohaney 677b6a70ce Bug 1826418 - Part 2: Added a clause to check for replaced shims scripts when classifying for other event types. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D178853
2023-05-26 08:10:50 +00:00
Harshit Sohaney 817e228ec3 Bug 1826418 - Added a new event to categorize replaced shims scripts for fingerprinting. Replaced shims for fingerprinting are counted in about:protections too now. r=timhuang,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178324
2023-05-26 08:10:50 +00:00
Valentin Gosu fae6be53bb Bug 1835060 - Failed assertion in ChildDNSService::GetSingleton r=necko-reviewers,kershaw
Instead of instantiating a ChildDNSService, we should instantiate the correct
object for the current process, which may very well be the main process.

Differential Revision: https://phabricator.services.mozilla.com/D179093
2023-05-26 08:01:02 +00:00
Noemi Erli 06b68d0d45 Backed out 4 changesets (bug 1648545) for causing mass failures
Backed out changeset ac3d639547fa (bug 1648545)
Backed out changeset f63760c845f3 (bug 1648545)
Backed out changeset 652b48b10d37 (bug 1648545)
Backed out changeset 1ca7abd873d1 (bug 1648545)
2023-05-26 02:12:58 +03:00
Kris Maglione f3218c1a70 Bug 1648545: Part 4 - Move ContentPage.spawn to use SpecialPowers rather than ContentTask. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D119451
2023-05-25 22:04:32 +00:00
Cristian Tuns 37fe791779 Backed out changeset 65db9227c38c (bug 1815925) for causing wpt failures in a-element-xhtml.xhtml CLOSED TREE 2023-05-25 13:54:43 -04:00
Kershaw Chang 6043d575b4 Bug 1687364 - Telemetry probe for the outcomes of Authorization header, r=freddyb,necko-reviewers,valentin
Depends on D178043

Differential Revision: https://phabricator.services.mozilla.com/D178151
2023-05-25 15:41:33 +00:00
Kershaw Chang d8e56007c1 Bug 1687364 - Authorization header can't be wildcarded for Access-Control-Allow-Headers, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102932
2023-05-25 15:41:33 +00:00
Mark Banner 45f372eae2 Bug 1834176 - Convert NetUtil.jsm to an ES module. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D178954
2023-05-25 14:12:12 +00:00
dylan a7e60c4dc9 Bug 1815925 - Removed second colon check in URL parser. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178563
2023-05-25 13:26:40 +00:00
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