Closed Bug 1967261 Opened 10 months ago Closed 10 months ago

Create icon channels with the correct LoadInfo from the beginning

Categories

(Core :: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: tschuster, Assigned: tschuster)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files)

The GTK nsIconChannel implementation first creates a channel using a dummy LoadInfo and immediately afterwards the actual LoadInfo is set. The Android implementation works similarly.

We do the same thing in the somewhat unrelated PageIconProtocolHandler. There was some discussion about this behavior when fixing a null deref in bug 1627644. I don't really see any real justification for why we don't just create the channel with the correct LoadInfo directly there either.

Assignee: nobody → tschuster
Status: NEW → ASSIGNED
Attachment #9488853 - Attachment description: WIP: Bug 1967261 - Create channel with the correct nsILoadInfo from the beginning in PageIconProtocolHandler. r?#necko-reviewers → Bug 1967261 - Create channel with the correct nsILoadInfo from the beginning in PageIconProtocolHandler. r?#necko-reviewers
Severity: -- → N/A
Priority: -- → P2
Whiteboard: [necko-triaged]
Pushed by tschuster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ed3f79cc6c40 Create nsIconChannel with the correct nsILoadInfo from the beginning. r=necko-reviewers,kershaw https://hg.mozilla.org/integration/autoland/rev/16681958c0ea Create channel with the correct nsILoadInfo from the beginning in PageIconProtocolHandler. r=necko-reviewers,places-reviewers,kershaw,Standard8
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: