Closed Bug 1895198 Opened 21 days ago Closed 20 days ago

Move the assert !LoadWasOpened() in HttpBaseChannel::ExplicitSetUploadStreamLength to HttpChannelChild

Categories

(Core :: Networking, task, P2)

task
Points:
2

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m11][necko-triaged])

Attachments

(1 file)

For WebDriver BiDi, we need to modify the request body late (currently in http-on-before-connect), but this currently fails on the following assert:
https://searchfox.org/mozilla-central/rev/e69f323af80c357d287fb6314745e75c62eab92a/netwerk/protocol/http/HttpBaseChannel.cpp#1323

After discussing with :valentin, since BiDi only ever calls this from the parent process and this assert is only relevant for the content process, we should be able to split the implementation between HttpBaseChannel and HttpChannelChild, and only keep the assert in the Child version.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Component: WebDriver BiDi → Networking
Product: Remote Protocol → Core
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ead376db22e7
Add ExplicitSetUploadStreamLength to HttpChannelChild and move LoadWasOpened assert r=valentin,necko-reviewers
Severity: -- → N/A
Whiteboard: [webdriver:m11] → [webdriver:m11][necko-triaged]
Points: --- → 2
Status: ASSIGNED → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: