Closed Bug 1861742 Opened 2 years ago Closed 2 years ago

Traverse ReadableByteStreamQueueEntry and PullIntoDescriptor instead of manual tracing

Categories

(Core :: DOM: Streams, task)

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox-esr115 --- fixed
firefox120 --- fixed
firefox121 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

Details

Attachments

(2 files)

We won't need the "important:" warning comments that way.

And also move the classes into cpp, because those are not being used elsewhere.

Attachment #9360692 - Attachment description: WIP: Bug 1861742 - Traverse ReadableByteStreamQueueEntry and PullIntoDescriptor → Bug 1861742 - Part 2: Traverse ReadableByteStreamQueueEntry and PullIntoDescriptor r=evilpie,smaug
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e5b3b79c88c5 Part 1: Move ReadableByteStreamQueueEntry and PullIntoDescriptor to cpp r=smaug https://hg.mozilla.org/integration/autoland/rev/5acc492e809d Part 2: Traverse ReadableByteStreamQueueEntry and PullIntoDescriptor r=smaug
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch

Quick question: Does this patch stack mean that we no longer need to have an explicit buffer clears here?

(In reply to Matthew Gaudet (he/him) [:mgaudet] from comment #5)

Quick question: Does this patch stack mean that we no longer need to have an explicit buffer clears here?

Good question... Let me try removing it in a separate patch.

Comment on attachment 9360692 [details]
Bug 1861742 - Part 2: Traverse ReadableByteStreamQueueEntry and PullIntoDescriptor r=evilpie,smaug

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Crash fix
  • User impact if declined: Users may experience unexpected crashes.
  • Fix Landed on Version: 121.0a1
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): It only changes how JS objects are traced by following the well-established existing pattern.

Beta/Release Uplift Approval Request

  • User impact if declined: (See the ESR request)
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): (See the ESR request)
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9360692 - Flags: approval-mozilla-esr115?
Attachment #9360692 - Flags: approval-mozilla-beta?
Attachment #9360979 - Flags: approval-mozilla-beta?

Comment on attachment 9360979 [details]
Bug 1861742 - Part 1: Move ReadableByteStreamQueueEntry and PullIntoDescriptor to cpp r=evilpie,smaug

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration:
  • User impact if declined:
  • Fix Landed on Version:
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
Attachment #9360979 - Flags: approval-mozilla-esr115?

Comment on attachment 9360979 [details]
Bug 1861742 - Part 1: Move ReadableByteStreamQueueEntry and PullIntoDescriptor to cpp r=evilpie,smaug

Approved for 120.0b7

Attachment #9360979 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9360692 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9360692 [details]
Bug 1861742 - Part 2: Traverse ReadableByteStreamQueueEntry and PullIntoDescriptor r=evilpie,smaug

Approved for 115.5esr.

Attachment #9360692 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Attachment #9360979 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: