Closed Bug 1800344 Opened 2 years ago Closed 2 years ago

Simplify nsSyncStreamListener instantiation APIs

Categories

(Core :: Networking, task)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(2 files)

Once we have bug 1800342's changes to make NS_NewPipe infallible, we can remove a few of the wrapper functions that get used for nsSyncStreamListener construction.

While we're at it: remove one layer of unnecessary error handling in
NS_NewSyncStreamListener, since it's clearer now that we'll be getting
infallible allocation.

Depends on D161948

Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d10c1c4ca176
part 1: Fold nsSyncStreamListener::Init into the constructor. r=necko-reviewers,kershaw
https://hg.mozilla.org/integration/autoland/rev/57ea39b22985
part 2: Fold nsSyncStreamListener::Create() into NS_NewSyncStreamListener(). r=necko-reviewers,kershaw
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
See Also: → 1800606
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: