Kagami Sascha Rosylight
857db85b03
Bug 1809408 - Part 3: Move TransformStream internal algorithms to internal namespace r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D167929
2023-02-07 11:56:06 +00:00
Marian-Vasile Laza
c81ee207b9
Backed out 3 changesets (bug 1809408) for bustages on ReadableStreamBYOBRequest.cpp. CLOSED TREE
...
Backed out changeset 7b9ab840dcf1 (bug 1809408)
Backed out changeset 38da95750e3f (bug 1809408)
Backed out changeset 7bc810a8e68a (bug 1809408)
2023-02-06 17:23:47 +02:00
Kagami Sascha Rosylight
522eb49150
Bug 1809408 - Part 3: Move TransformStream internal algorithms to internal namespace r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D167929
2023-02-06 13:12:54 +00:00
Kagami Sascha Rosylight
98c86fef45
Bug 1811538 - Part 3: Remove ErrorResult that became redundant r=smaug
...
Some spec comments now matches the implementations (as `Perform ! Foo()` means Foo can't fail).
This only covers a small part of actual redundant ErrorResult parameters because:
1. This patch stack only covers Promise::CreateFallible and does not cover helper functions e.g. Promise::CreateResolvedWithUndefined.
2. All callback calls still require ErrorResult as the IDL layer uses the existing Promise::Create
Differential Revision: https://phabricator.services.mozilla.com/D167701
2023-01-31 19:21:35 +00:00
Iulian Moraru
a8e5bce81b
Backed out 3 changesets (bug 1811538) for causing build bustages on Promise.cpp. CLOSED TREE
...
Backed out changeset 0a665be7896a (bug 1811538)
Backed out changeset b949053bae31 (bug 1811538)
Backed out changeset 57d4dbe88611 (bug 1811538)
2023-01-31 19:00:59 +02:00
Kagami Sascha Rosylight
19a91ef6e4
Bug 1811538 - Part 3: Remove ErrorResult that became redundant r=smaug
...
Some spec comments now matches the implementations (as `Perform ! Foo()` means Foo can't fail).
This only covers a small part of actual redundant ErrorResult parameters because:
1. This patch stack only covers Promise::CreateFallible and does not cover helper functions e.g. Promise::CreateResolvedWithUndefined.
2. All callback calls still require ErrorResult as the IDL layer uses the existing Promise::Create
Differential Revision: https://phabricator.services.mozilla.com/D167701
2023-01-31 15:49:08 +00:00
Kagami Sascha Rosylight
bb449a5649
Bug 1486949 - Part 3: Refactor TransformerAlgorithms to allow subclassing r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D153974
2022-08-12 15:59:04 +00:00
Kagami Sascha Rosylight
034516b498
Bug 1486949 - Part 2: Convert TransformStreamSetBackpressure to a method r=smaug
...
This way SetBackpressureChangePromise can be removed which is only exposed for that function.
Differential Revision: https://phabricator.services.mozilla.com/D153973
2022-08-12 15:59:03 +00:00
Csoregi Natalia
3f2ae76b30
Backed out 6 changesets (bug 1486949) for causing hazard bustage on TextDecoderStream.cpp. CLOSED TREE
...
Backed out changeset e3dc48b94eef (bug 1486949)
Backed out changeset 57edeeebac29 (bug 1486949)
Backed out changeset f86c3b21e21c (bug 1486949)
Backed out changeset 862135f6c27f (bug 1486949)
Backed out changeset 8dd9f5b9e042 (bug 1486949)
Backed out changeset 7cb29e4feb27 (bug 1486949)
2022-08-12 06:36:41 +03:00
Kagami Sascha Rosylight
9f255d1c04
Bug 1486949 - Part 3: Refactor TransformerAlgorithms to allow subclassing r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D153974
2022-08-11 21:16:17 +00:00
Kagami Sascha Rosylight
f8a781d3fd
Bug 1486949 - Part 2: Convert TransformStreamSetBackpressure to a method r=smaug
...
This way SetBackpressureChangePromise can be removed which is only exposed for that function.
Differential Revision: https://phabricator.services.mozilla.com/D153973
2022-08-11 21:16:17 +00:00
Noemi Erli
a73776af50
Backed out 6 changesets (bug 1486949) for causing failures in test_serviceworker_interfaces.html CLOSED TREE
...
Backed out changeset 73cb8cf7a3f0 (bug 1486949)
Backed out changeset 91adc5cca2e6 (bug 1486949)
Backed out changeset 89137ad4e5c6 (bug 1486949)
Backed out changeset 74ca8f06eb06 (bug 1486949)
Backed out changeset 00f43009d419 (bug 1486949)
Backed out changeset 9c38a30397bd (bug 1486949)
2022-08-11 18:00:55 +03:00
Kagami Sascha Rosylight
d785180b3c
Bug 1486949 - Part 3: Refactor TransformerAlgorithms to allow subclassing r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D153974
2022-08-11 13:54:15 +00:00
Kagami Sascha Rosylight
c1e74f646e
Bug 1486949 - Part 2: Convert TransformStreamSetBackpressure to a method r=smaug
...
This way SetBackpressureChangePromise can be removed which is only exposed for that function.
Differential Revision: https://phabricator.services.mozilla.com/D153973
2022-08-11 13:54:14 +00:00
Kagami Sascha Rosylight
71c589edd6
Bug 1765832 - Part 2: Remove redundant MOZ_KNOWN_LIVE in dom/streams r=smaug
...
Those are indeed not being mutated during the object's lifetime before
CC, but currently the initialization is being done outside of the
constructor and that violates the newly proposed rule.
The only affected use is TransformStreamDefaultController::mStream
though, as others are exposed by public getters which does not support
MOZ_KNOWN_LIVE yet (and thus MOZ_KnownLive() is used by callers).
Ideally those should be refactored to be initialized within the
constructor, but I'll do that separately.
Differential Revision: https://phabricator.services.mozilla.com/D146209
2022-05-18 18:07:01 +00:00
criss
441a887295
Backed out 3 changesets (bug 1765832) for causing build bustages on Transferable.cpp
...
Backed out changeset c7c5a5208d60 (bug 1765832)
Backed out changeset 05a53421e1d8 (bug 1765832)
Backed out changeset 87cf3ec70aab (bug 1765832)
2022-05-18 16:28:24 +03:00
Kagami Sascha Rosylight
8d91e7379d
Bug 1765832 - Part 2: Remove redundant MOZ_KNOWN_LIVE in dom/streams r=smaug
...
Those are indeed not being mutated during the object's lifetime before
CC, but currently the initialization is being done outside of the
constructor and that violates the newly proposed rule.
The only affected use is TransformStreamDefaultController::mStream
though, as others are exposed by public getters which does not support
MOZ_KNOWN_LIVE yet (and thus MOZ_KnownLive() is used by callers).
Ideally those should be refactored to be initialized within the
constructor, but I'll do that separately.
Differential Revision: https://phabricator.services.mozilla.com/D146209
2022-05-18 12:57:44 +00:00
Kagami Sascha Rosylight
5bf1db4f71
Bug 1769290 - Part 1: Apply mozilla-js-handle-rooted-typedef against dom/streams r=smaug
...
Changes done by `./mach static-analysis check --checks="-*,mozilla-js-handle-rooted-typedef" --fix --header-filter=dom dom/streams; ./mach clang-format --outgoing`.
Differential Revision: https://phabricator.services.mozilla.com/D146329
2022-05-18 08:43:08 +00:00
Kagami Sascha Rosylight
0dd4d4b972
Bug 1763142 - Implement transform sink/source algorithms r=mgaudet,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D142228
2022-04-06 18:01:28 +00:00
Iulian Moraru
a5c24d7dff
Backed out changeset 2a6a62b9c73d (bug 1763142) for causing build bustages on TransformStream.cpp. CLOSED TREE
2022-04-06 19:36:40 +03:00
Kagami Sascha Rosylight
fc00d06eab
Bug 1763142 - Implement transform sink/source algorithms r=mgaudet,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D142228
2022-04-06 13:09:54 +00:00
Kagami Sascha Rosylight
def205fdcd
Bug 1734886 - Part 8: Implement TransformStreamDefaultController methods r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D142013
2022-03-30 06:31:58 +00:00
Kagami Sascha Rosylight
ffbb9e4fc5
Bug 1734886 - Part 7: Implement TransformStreamDefaultController::GetDesiredSize r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D141975
2022-03-25 11:22:41 +00:00
Kagami Sascha Rosylight
691275db53
Bug 1734886 - Part 6: Store FlushCallback in TransformStream r=mgaudet
...
This itself does not provide any additional feature, since nothing uses the callbacks yet.
Differential Revision: https://phabricator.services.mozilla.com/D141974
2022-03-25 11:22:41 +00:00
criss
79c266123a
Backed out 2 changesets (bug 1734886) for causing hybrid bustages in TransformerCallbackHelpers. CLOSED TREE
...
Backed out changeset e02ef90f9411 (bug 1734886)
Backed out changeset b01ead158136 (bug 1734886)
2022-03-25 09:27:19 +02:00
Kagami Sascha Rosylight
9fd10f1f1a
Bug 1734886 - Part 7: Implement TransformStreamDefaultController::GetDesiredSize r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D141975
2022-03-24 23:57:34 +00:00
Kagami Sascha Rosylight
7db2329705
Bug 1734886 - Part 6: Store FlushCallback in TransformStream r=mgaudet
...
This itself does not provide any additional feature, since nothing uses the callbacks yet.
Differential Revision: https://phabricator.services.mozilla.com/D141974
2022-03-24 23:57:34 +00:00
Kagami Sascha Rosylight
36f686b84b
Bug 1734886 - Part 4: Add missing reference symbol & CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D139781
2022-02-26 00:25:38 +00:00
Kagami Sascha Rosylight
331f36183b
Bug 1734886 - Part 3: Add [[transformAlgorithm]] internal slot r=mgaudet
...
Depends on D138869
Differential Revision: https://phabricator.services.mozilla.com/D139308
2022-02-25 22:58:49 +00:00
Kagami Sascha Rosylight
6f1148ff06
Bug 1734886 - Part 2: Initialize [[controller]] slot of TransformStream r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D138826
2022-02-17 01:40:08 +00:00
Butkovits Atila
03a020af3e
Backed out 2 changesets (bug 1734886) for causing Hazard bustages at TransformStream.cpp. CLOSED TREE
...
Backed out changeset 874b3fe4de86 (bug 1734886)
Backed out changeset 9d43d0e3ba23 (bug 1734886)
2022-02-17 01:18:31 +02:00
Kagami Sascha Rosylight
a14deb0e24
Bug 1734886 - Part 2: Initialize [[controller]] slot of TransformStream r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D138826
2022-02-16 20:40:03 +00:00
Kagami Sascha Rosylight
a7a6e060cf
Bug 1755335 - Add skeleton code for TransformStream{,DefaultController} r=mgaudet,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D138672
2022-02-15 01:43:00 +00:00
Noemi Erli
dde4c6d4c6
Backed out changeset c5467bc3fb5a (bug 1755335) for causing bustage in WritableStreamDefaultWriter.cpp CLOSED TREE
2022-02-15 02:28:30 +02:00
Kagami Sascha Rosylight
48750a127c
Bug 1755335 - Add skeleton code for TransformStream{,DefaultController} r=mgaudet,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D138672
2022-02-14 23:35:53 +00:00
Cristian Tuns
de7fa4b360
Backed out changeset b2749184f16a (bug 1755335) for causing build bustages on TransformStream.webidl CLOSED TREE
2022-02-14 17:43:19 -05:00
Kagami Sascha Rosylight
93f704f156
Bug 1755335 - Add skeleton code for TransformStream{,DefaultController} r=mgaudet,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D138672
2022-02-14 22:25:11 +00:00