Kershaw Chang
e9599d34ea
Bug 1892325 - Introduce WebTransportSessionEventListenerInternal, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D207919
2024-04-22 08:57:42 +00:00
Kagami Sascha Rosylight
e57e4b6fa0
Bug 1863765 - Part 1: Wrap WriteCallback in UnderlyingSinkAlgorithmsWrapper r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D193092
2024-04-04 17:50:10 +00:00
Marten Richter
ca85c42741
Bug 1873263 - WebTransport: Fix serverCertificateHashes Implementation r=kershaw,necko-reviewers,keeler
...
The current serverCertificateHashes implementation does not follow the
WebTransport specification, that introduced serverCertificateHashes
as a tool to replace certificate chain verification.
Instead it introduced the hashes as an additional check.
This patch moves the check to the Http3Session object and modifies
the connection manager' hashes to prevent crossSite certificate
poisoning. It is - as the WebTransport Implementation in Firefox -
currently limited to http3 only.
However, since the hashes live on the ConnectionEntries,
it should be possible to extend this in the future.
Differential Revision: https://phabricator.services.mozilla.com/D197857
2024-03-05 10:39:29 +00:00
Sandor Molnar
72866aa04b
Backed out changeset b2dd957f853b (bug 1873263) for causing xpc failures @ netwerk/test/unit/test_webtransport_simple.js CLOSED TREE
2024-03-04 14:35:05 +02:00
Marten Richter
5ef566ca7f
Bug 1873263 - WebTransport: Fix serverCertificateHashes Implementation r=kershaw,necko-reviewers,keeler
...
The current serverCertificateHashes implementation does not follow the
WebTransport specification, that introduced serverCertificateHashes
as a tool to replace certificate chain verification.
Instead it introduced the hashes as an additional check.
This patch moves the check to the Http3Session object and modifies
the connection manager' hashes to prevent crossSite certificate
poisoning. It is - as the WebTransport Implementation in Firefox -
currently limited to http3 only.
However, since the hashes live on the ConnectionEntries,
it should be possible to extend this in the future.
Differential Revision: https://phabricator.services.mozilla.com/D197857
2024-03-04 10:54:09 +00:00
Randell Jesup
b6d9e456cb
Bug 1880338: null-check child ptr in WebTransport shutdown r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D201849
2024-02-14 20:54:15 +00:00
Nika Layzell
ad9bb1e2c4
Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D195485
2024-01-18 23:07:18 +00:00
edgul
d943fc10ac
Bug 1824376 - Instantiate the DNS service to prevent rare intermittent webtransport connection rejection. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D197806
2024-01-18 18:33:43 +00:00
Natalia Csoregi
b2289eef93
Backed out changeset 9c4ce17422de (bug 1867360) for causing crashes on PRemoteQuotaObjectChild. CLOSED TREE
2024-01-08 23:18:19 +02:00
Nika Layzell
c4aa6e4813
Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D195485
2024-01-08 19:48:23 +00:00
Javier Fernández García-Boente
70946a6c9f
Bug 1806693 - Implement the serverCertificateHashes option r=necko-reviewers,kershaw,jesup
...
This change implements the serverCertificateHashes option from the
Web Transport specification [1].
It includes an additional verification step in the OnStartRequest
callback after the web transpostion session has been negotiated, so
that we can be sure the certificate has been set in the security
info data structure.
[1] https://w3c.github.io/webtransport/#dom-webtransportoptions-servercertificatehashes
Differential Revision: https://phabricator.services.mozilla.com/D195966
2024-01-03 18:02:51 +00:00
Butkovits Atila
a28566bdd4
Backed out changeset 30210e0efac1 (bug 1867360) for causing failures at PIPDLUnitTestChild.cpp. CLOSED TREE
2023-12-19 02:28:52 +02:00
Nika Layzell
3bf610ffc2
Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D195485
2023-12-18 23:24:26 +00:00
Peter Van der Beken
44a577eec3
Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh
...
Differential Revision: https://phabricator.services.mozilla.com/D191418
2023-11-11 08:24:05 +00:00
Peter Van der Beken
29a54c8a17
Bug 1849037 - Pass objects that support conversion to a Span directly to TypedArray::Create as a Span. r=necko-reviewers,extension-reviewers,media-playback-reviewers,profiler-reviewers,farre,padenot,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D191416
2023-11-11 08:24:04 +00:00
Randell Jesup
3e19daaab6
Bug 1853444: Set/Get SendOrder for WebTransportSendStreams r=kershaw,necko-reviewers,webidl,smaug
...
Allow dynamic changes to steram sendOrder to comply with updated
spec.
Differential Revision: https://phabricator.services.mozilla.com/D188377
2023-11-09 16:02:46 +00:00
Stanca Serban
2685d35c49
Backed out 3 changesets (bug 1849037) for causing mochitests failures in test_gamepad_extensions.html.
...
Backed out changeset 27fd9f6f57ea (bug 1849037)
Backed out changeset 89aa49de2473 (bug 1849037)
Backed out changeset c336a8c78928 (bug 1849037)
2023-11-08 17:12:40 +02:00
Peter Van der Beken
2b267480e6
Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D191418
2023-11-08 11:29:05 +00:00
Peter Van der Beken
7cb765ad2c
Bug 1849037 - Pass objects that support conversion to a Span directly to TypedArray::Create as a Span. r=necko-reviewers,extension-reviewers,media-playback-reviewers,profiler-reviewers,farre,padenot,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D191416
2023-11-08 11:29:04 +00:00
Iulian Moraru
ab0ad23e9c
Backed out changeset 6ac3819ddc53 (bug 1853444) for causing wpt failures on sendorder.https.any.js. CLOSED TREE
2023-11-06 09:57:05 +02:00
Randell Jesup
bc13d2a850
Bug 1853444: Set/Get SendOrder for WebTransportSendStreams r=kershaw,necko-reviewers,webidl,smaug
...
Allow dynamic changes to steram sendOrder to comply with updated
spec.
Differential Revision: https://phabricator.services.mozilla.com/D188377
2023-11-06 03:51:56 +00:00
Natalia Csoregi
c913384416
Backed out changeset a47a1ff34d2a (bug 1853444) for causing failures on /webtransport/. CLOSED TREE
2023-10-30 21:20:48 +02:00
Randell Jesup
10b97b77c6
Bug 1853444: Set/Get SendOrder for WebTransportSendStreams r=kershaw,necko-reviewers,webidl,smaug
...
Allow dynamic changes to steram sendOrder to comply with updated
spec.
Differential Revision: https://phabricator.services.mozilla.com/D188377
2023-10-30 14:22:50 +00:00
Tom Marble
9a53e8dcde
Bug 1855298 - convert .ini manifests to .toml: batch 10 dom/[t-z]**/mochitest.ini r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D190089
2023-10-25 15:54:48 +00:00
Narcis Beleuzu
346566085d
Backed out changeset eac298199d7b (bug 1855298) for Linting failure. CLOSED TREE
2023-10-12 01:44:24 +03:00
Tom Marble
8518f990ca
Bug 1855298 - convert .ini manifests to .toml: batch 10 dom/[t-z]**/mochitest.ini r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D190089
2023-10-11 20:51:09 +00:00
Emilio Cobos Álvarez
25c0d10932
Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu
...
Sorry this is not a particularly easy patch to review. But it should be
mostly straight-forward.
I kept Document::Dispatch mostly for convenience, but could be
cleaned-up too / changed by SchedulerGroup::Dispatch. Similarly maybe
that can just be NS_DispatchToMainThread if we add an NS_IsMainThread
check there or something (to preserve shutdown semantics).
Differential Revision: https://phabricator.services.mozilla.com/D190450
2023-10-10 08:51:12 +00:00
Peter Van der Beken
c49b5c3f78
Bug 1690111 - Use new TypedArray APIs for creating a container with a copy of the data. r=necko-reviewers,farre,kershaw
...
Depends on D152496
Differential Revision: https://phabricator.services.mozilla.com/D152497
2023-09-20 09:42:02 +00:00
Andrew Creskey
aaedb8e230
Bug 1840626 - Fix debug Crash [@ mozilla::dom::ReadableStream::CloseNative] r=saschanaz
...
The assertion dereferences Algorithms(), which could have been freed, so only assert if it exists.
Differential Revision: https://phabricator.services.mozilla.com/D187149
2023-09-13 14:16:41 +00:00
Cosmin Sabou
680b4364c7
Backed out 13 changesets (bug 1690111) for causing fetch related crashes.
...
Backed out changeset 5f2c25d194ad (bug 1690111)
Backed out changeset 76c408bcd053 (bug 1690111)
Backed out changeset 6d0649fdafff (bug 1690111)
Backed out changeset c1330b5e8c43 (bug 1690111)
Backed out changeset 5fa36d8fd2a5 (bug 1690111)
Backed out changeset daf7d747853a (bug 1690111)
Backed out changeset f70e09a7f5c6 (bug 1690111)
Backed out changeset 40c6d6eed7f8 (bug 1690111)
Backed out changeset 692f2a759573 (bug 1690111)
Backed out changeset 7140866dd9f6 (bug 1690111)
Backed out changeset 2865fe682139 (bug 1690111)
Backed out changeset 9dcd2416f8a5 (bug 1690111)
Backed out changeset 9c411bf84079 (bug 1690111)
2023-09-11 17:55:24 +03:00
Peter Van der Beken
176d24acb3
Bug 1690111 - Use new TypedArray APIs for creating a container with a copy of the data. r=necko-reviewers,farre,kershaw
...
Depends on D152496
Differential Revision: https://phabricator.services.mozilla.com/D152497
2023-09-11 12:52:20 +00:00
Markus Stange
fa8bfb6bc7
Bug 1851263 - Rename nsIGlobalObject::AsInnerWindow to GetAsInnerWindow because it can return null. r=smaug
...
This is also the name that was originally suggested in https://bugzilla.mozilla.org/show_bug.cgi?id=218415#c53 .
Differential Revision: https://phabricator.services.mozilla.com/D187340
2023-09-04 04:06:30 +00:00
Randell Jesup
8f84afb9b3
Bug 1816925: Implement WebTransport SendOrder at the DOM level r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D178491
2023-08-31 20:51:49 +00:00
Natalia Csoregi
f09dafe309
Backed out changeset cd2b009cdee4 (bug 1816925) for causing bustage on Http3Session.cpp. CLOSED TREE
2023-08-31 21:38:14 +03:00
Randell Jesup
0d5b60fd40
Bug 1816925: Implement WebTransport SendOrder at the DOM level r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D178491
2023-08-31 17:58:51 +00:00
Randell Jesup
b8af5a77f1
Bug 1841290: implement 'cleanly' parameter for WebTransport session shutdown r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D182603
2023-08-04 23:19:44 +00:00
Randell Jesup
d20dedb441
Bug 1841133: Add null-checks for mTransport in WebTransport r=necko-reviewers,kershaw DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D182573
2023-06-30 20:34:54 +00:00
Mark Banner
6725448902
Bug 1834176 - Convert consumers of NetUtil.jsm to import the ES module directly. 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-06-07 08:42:36 +00:00
Kagami Sascha Rosylight
ff5f4bdbb7
Bug 1819124 - Mark "native" stream constructors as MOZ_CAN_RUN_SCRIPT_BOUNDARY r=smaug
...
It's marked as can-run-script because of StartCallback, but Underlying{Source/Sink}AlgorithmsWrapper::StartCallback is empty and thus can't run any scripts.
Differential Revision: https://phabricator.services.mozilla.com/D178356
2023-06-06 13:07:45 +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
sunil mayya
f393cecbd4
Bug 1818763 - retrieve maxdatagram size from necko stack via IPC. r=necko-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D174875
2023-05-15 18:35:54 +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
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
Randell Jesup
3af42f039e
Bug 1830096: Allow calling createUni/BidirectionalStream() before ready r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D176571
2023-05-02 15:18:15 +00:00
Natalia Csoregi
cf0b52fe8b
Backed out changeset b01a70f3bfd6 (bug 1830096) for causing failures on /webtransport/datagrams. CLOSED TREE
2023-05-01 17:18:32 +03:00
Randell Jesup
45a8d40782
Bug 1830096: Allow calling createUni/BidirectionalStream() before ready r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D176571
2023-05-01 12:01:44 +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