Closed Bug 1851992 Opened 9 months ago Closed 7 months ago

Implement interface to send data stop notification to stream listeners

Categories

(Core :: Networking: HTTP, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: smayya, Assigned: smayya)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(7 files, 4 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

We would like to send a OMT message to stream listners to notify them that there wont be any more ODA notifications sent to them and hence, they can start processing the data.
To do this we will need a new interface. This will be implemented by this bug.
For start, we will send these notifications to css and html5 listeners.

Whiteboard: [necko-triaged]
Attachment #9352327 - Attachment is obsolete: true
Attachment #9352327 - Attachment is obsolete: false
Attachment #9352686 - Attachment description: WIP: Bug 1851992 - add pref to control sending on data finished → WIP: Bug 1851992 - add pref to control sending ondata finished from HttpChannelChild and Html5Parser

Depends on D188757

Attachment #9352327 - Attachment is obsolete: true
Attachment #9351992 - Attachment description: WIP: Bug 1851992 - implement nsIOMTEventListener to send OMT data stop notification to stream listeners → Bug 1851992 - implement nsIOMTEventListener to send OMT data stop notification to stream listeners. r=#necko,jesup
Attachment #9352054 - Attachment description: WIP: Bug 1851992 - moving html5 stream parser's OnStopRequest off main thread → Bug 1851992 - moving html5 stream parser's OnStopRequest off main thread. r=#necko,jesup
Attachment #9352328 - Attachment description: WIP: Bug 1851992 - implement nsIOMTEventListener to multiple listeners → Bug 1851992 - implement nsIOMTEventListener to multiple listeners. r=#necko,jesup
Attachment #9354196 - Attachment description: WIP: Bug 1851992 - send onDataFinished notifications from nsInputStreamPump → Bug 1851992 - send onDataFinished notifications from nsInputStreamPump. r=#necko,jesup
Attachment #9352686 - Attachment is obsolete: true
Attachment #9355381 - Attachment description: WIP: Bug 1851992 - implement OnDataFinished for CSSLoader → Bug 1851992 - implement OnDataFinished for CSSLoader. r=#necko,jesup,emilio
Attachment #9352328 - Attachment description: Bug 1851992 - implement nsIOMTEventListener to multiple listeners. r=#necko,jesup → Bug 1851992 - implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=#necko,jesup
Attachment #9351992 - Attachment description: Bug 1851992 - implement nsIOMTEventListener to send OMT data stop notification to stream listeners. r=#necko,jesup → Bug 1851992 - implement nsIThreadRetargetableStreamListener::OnDataFinished to send OMT data stop notification to thread retargetable stream listeners. r=#necko,jesup
Pushed by smayya@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/03c17255f1af
implement nsIThreadRetargetableStreamListener::OnDataFinished to send OMT data stop notification to thread retargetable stream listeners. r=necko-reviewers,jesup,valentin
https://hg.mozilla.org/integration/autoland/rev/79969d9eb5cd
moving html5 stream parser's OnStopRequest off main thread. r=necko-reviewers,edgul,jesup,valentin,hsivonen
https://hg.mozilla.org/integration/autoland/rev/fa61d4e76827
implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=necko-reviewers,extension-reviewers,jesup,rpl
https://hg.mozilla.org/integration/autoland/rev/95e4df69007a
send onDataFinished notifications from nsInputStreamPump. r=necko-reviewers,jesup
https://hg.mozilla.org/integration/autoland/rev/d28399b3d947
implement empty nsIThreadRetargetableStreamListener::OnDataFinished for stream loader. r=emilio
Backout by chorotan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d354d93ae06b
Backed out 5 changesets for causing multiple failures
Flags: needinfo?(smayya)
Regressions: 1859518
Attachment #9359074 - Attachment is obsolete: true
Pushed by smayya@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/38c40d735ab7
implement nsIThreadRetargetableStreamListener::OnDataFinished to send OMT data stop notification to thread retargetable stream listeners. r=necko-reviewers,jesup,valentin
https://hg.mozilla.org/integration/autoland/rev/f9f9143ac713
moving html5 stream parser's OnStopRequest off main thread. r=necko-reviewers,edgul,jesup,valentin,hsivonen
https://hg.mozilla.org/integration/autoland/rev/46e18c56dd39
implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=necko-reviewers,extension-reviewers,jesup,rpl
https://hg.mozilla.org/integration/autoland/rev/673df3f83249
send onDataFinished notifications from nsInputStreamPump. r=necko-reviewers,jesup
https://hg.mozilla.org/integration/autoland/rev/c9d322362e22
implement empty nsIThreadRetargetableStreamListener::OnDataFinished for stream loader. r=emilio
https://hg.mozilla.org/integration/autoland/rev/3ceaf46f8f55
move assignment of mTransferSize,mEncodedBodySize from HttpChannelChild::OnStopRequest to HttpChannelChild::OnStopRequest::ProcessOnStopRequest. r=necko-reviewers,jesup
Status: RESOLVED → REOPENED
Flags: needinfo?(smayya)
Resolution: FIXED → ---
Target Milestone: 121 Branch → ---
See Also: → 1860768
Flags: needinfo?(smayya)
Depends on: 1861637
Pushed by smayya@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4517b343b411
implement nsIThreadRetargetableStreamListener::OnDataFinished to send OMT data stop notification to thread retargetable stream listeners. r=necko-reviewers,jesup,valentin
https://hg.mozilla.org/integration/autoland/rev/f7fe117ca37d
moving html5 stream parser's OnStopRequest off main thread. r=necko-reviewers,edgul,jesup,valentin,hsivonen
https://hg.mozilla.org/integration/autoland/rev/fcb29a7d62eb
implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=necko-reviewers,extension-reviewers,jesup,rpl
https://hg.mozilla.org/integration/autoland/rev/4471b2edc794
send onDataFinished notifications from nsInputStreamPump. r=necko-reviewers,jesup
https://hg.mozilla.org/integration/autoland/rev/d2e0fddb380e
implement empty nsIThreadRetargetableStreamListener::OnDataFinished for stream loader. r=emilio
https://hg.mozilla.org/integration/autoland/rev/f21cf0e9ff8e
move assignment of mTransferSize,mEncodedBodySize from HttpChannelChild::OnStopRequest to HttpChannelChild::OnStopRequest::ProcessOnStopRequest. r=necko-reviewers,jesup
https://hg.mozilla.org/integration/autoland/rev/e480891bbd3b
ensure all of the OnProgress updates are sent before triggering OnDataFinished in HttpChannelChild. r=necko-reviewers,jesup

Comment on attachment 9355381 [details]
Bug 1851992 - implement OnDataFinished for CSSLoader. r=#necko,jesup,emilio

Revision D189403 was moved to bug 1864817. Setting attachment 9355381 [details] to obsolete.

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

Attachment

General

Creator:
Created:
Updated:
Size: