Closed Bug 1734886 Opened 3 years ago Closed 2 years ago

Implement DOM TransformStreams

Categories

(Core :: DOM: Streams, task, P3)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- affected

People

(Reporter: mgaudet, Assigned: saschanaz)

References

Details

Attachments

(8 files, 3 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
No description provided.
Blocks: 1730586
No longer blocks: 1730584
Severity: -- → S3
Priority: -- → P3

I sort of stopped working on this when I realized I would have to go add all UnderlyingSink, UnderlyingSource and probably also UnderlyingTransformer.

Intend to work on this, but feel free to take this if anyone wants to start working on this this week.

Assignee: nobody → krosylight
Depends on: 1755335
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9d43d0e3ba23
Part 1: Throw when readably/writableType fields exist r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/874b3fe4de86
Part 2: Initialize [[controller]] slot of TransformStream r=mgaudet
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bf03d2b9d9fd
Part 1: Throw when readably/writableType fields exist r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/3d025c374794
Part 2: Initialize [[controller]] slot of TransformStream r=mgaudet
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Flags: needinfo?(krosylight)
Keywords: leave-open
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #9260290 - Attachment is obsolete: true
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/77ca7fd5a9d1
Part 3: Add [[transformAlgorithm]] internal slot r=mgaudet
Pushed by smolnar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/034dd1b461f5
Part 4: Add missing reference symbol & CLOSED TREE
Depends on: 1757808
Attachment #9266554 - Attachment description: WIP: Bug 1734886 - Part 5: Implement InitializeTransformStream → Bug 1734886 - Part 5: Implement InitializeTransformStream r=evilpie,mgaudet
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/32e1a02fdd2c
Part 5: Implement InitializeTransformStream r=mgaudet
Flags: needinfo?(krosylight)
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/544d6892423d
Part 5: Implement InitializeTransformStream r=mgaudet
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ff5b26e3dd36
Part 5: Implement InitializeTransformStream r=mgaudet

This itself does not provide any additional feature, since nothing uses the callbacks yet.

Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b01ead158136
Part 6: Store FlushCallback in TransformStream r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/e02ef90f9411
Part 7: Implement TransformStreamDefaultController::GetDesiredSize r=mgaudet

Backed out for causing hybrid bustages in TransformerCallbackHelpers. CLOSED TREE

Backout link : https://hg.mozilla.org/integration/autoland/rev/867b48058bde75ef267dc0620b39b3398a56989d

Push with failures : https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=e02ef90f9411820401760d22809ad467f2c07ade&selectedTaskRun=KYmQSj8gQnajI_TwsOM5XA.0

Link to failure log:
https://treeherder.mozilla.org/logviewer?job_id=372302250&repo=autoland&lineNumber=22740
https://treeherder.mozilla.org/logviewer?job_id=372302240&repo=autoland&lineNumber=26069

Failure message:
/builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:49:37: error: member access into incomplete type 'mozilla::dom::TransformStream'
gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:660: TransformerCallbackHelpers.obj] Error 1

Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ff46ecafba0c
Part 6: Store FlushCallback in TransformStream r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/c2c4e6832c5e
Part 7: Implement TransformStreamDefaultController::GetDesiredSize r=mgaudet
Flags: needinfo?(krosylight)
Attachment #9269525 - Attachment description: WIP: Bug 1734886 - Part 9: Implement transform sink/source algorithms → Bug 1734886 - Part 9: Add Promise::ThenWithCycleCollectedArgsJS r=smaug!,mgaudet!

If we don't get all the patches on this bug landed before the release split, I'd recommend we close this and open another, to avoid having a bug with patches crossing releases.

Does it matter when none of them are enabled in the release? 👀

It's not a hard and fast rule, but personally I like it; allows easier reasoning about what's in what release.

If you'd prefer to keep everything here, that's fine (by me).

I'd like to keep them here, given that it hasn't been enabled anywhere and thus has nothing to do with "what's in what release". Splitting would be kinda confusing IMO at this point.

(But I generally agree with that)

Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c2efe409b3da
Part 8: Implement TransformStreamDefaultController methods r=mgaudet
Depends on: 1762661

Even though I said comment #33, I actually want to split the promise part to bug 1762661 and the last patch 10 to another new one. I'll close this.

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Keywords: leave-open
Resolution: --- → FIXED

Comment on attachment 9269525 [details]
Bug 1734886 - Part 9: Add Promise::ThenWithCycleCollectedArgsJS r=smaug!,mgaudet!

Revision D142151 was moved to bug 1762661. Setting attachment 9269525 [details] to obsolete.

Attachment #9269525 - Attachment is obsolete: true

Comment on attachment 9269696 [details]
Bug 1734886 - Part 10: Implement transform sink/source algorithms r=mgaudet,evilpie

Revision D142228 was moved to bug 1763142. Setting attachment 9269696 [details] to obsolete.

Attachment #9269696 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: