Closed Bug 1595637 Opened 5 years ago Closed 5 years ago

Remove nsBaseChannel inheritance from DocumentChannelChild

Categories

(Core :: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla72
Fission Milestone M5
Tracking Status
firefox72 --- fixed

People

(Reporter: jya, Assigned: jya)

Details

(Whiteboard: [necko-triaged])

Attachments

(7 files)

DocumentChannelChild inherits from nsBaseChannel (nsIChannel/nsIRequest) and because of it we end up doing a lot of things that serve no purpose in the context of the DocumentChannel.

Matt is also working on having the ability to start the DocumentChannelParent directly from a parent load.

This task will help getting the above done.

This expose that some methods aren't doing anything. We will address those in a follow-up change.

It was only needed when used with DocumentChannelChild.

Depends on D52783

They don't need to be set on the DocumentChannelChild as they are never read.

Depends on D52784

Attachment #9108298 - Attachment description: Bug 1595637 - P3. Only set contentType and contentDisposition in the parent. → Bug 1595637 - P3. Only set contentType, contentDisposition and originalURI in the parent.
Priority: -- → P2
Whiteboard: [necko-triaged]

There was no need for the ChannelEventQueue and GetNeckoTarget() was always retuning the main thread anyway.

Tentatively moving all bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to the "?" triage milestone.

This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:

0ee3c76a-bc79-4eb2-8d12-05dc0b68e732

Fission Milestone: --- → ?
Attachment #9108929 - Attachment description: Bug 1595637 - P5. Remove depency on ChannelEventQueue and NeckoTargetHolder from DocumentChannelChild. r?mayhemer → Bug 1595637 - P6. Remove depency on ChannelEventQueue and NeckoTargetHolder from DocumentChannelChild. r?mayhemer
Status: NEW → ASSIGNED
Fission Milestone: ? → M5
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/68a387538d04
P1. Don't have DocumentChannelChild inherit from nsBaseChannel. r=mayhemer
https://hg.mozilla.org/integration/autoland/rev/b1ee11c554be
P2. Remove nsIIdentChannel from nsBaseChannel. r=mayhemer
https://hg.mozilla.org/integration/autoland/rev/12366029e685
P3. Only set contentType, contentDisposition and originalURI in the parent. r=kmag,mayhemer
https://hg.mozilla.org/integration/autoland/rev/8e5a13009c6e
P4. Assert that DCC non-functional methods are never called. r=mayhemer
https://hg.mozilla.org/integration/autoland/rev/af11c7f18fb0
P5. Remove Suspend/Resume methods from PDocumentChannel. r=mattwoodrow
https://hg.mozilla.org/integration/autoland/rev/919240f3ee34
P6. Remove depency on ChannelEventQueue and NeckoTargetHolder from DocumentChannelChild. r=mayhemer
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d964fa16f33
P0. Remove use of NS_IF_ADDREF macro. r=mayhemer
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: