Closed
Bug 1652189
Opened 4 years ago
Closed 4 years ago
have a way to pass cookie to child process for LOAD_DOCUMENT_NEEDS_COOKIE
Categories
(Core :: Networking: HTTP, enhancement, P1)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
mozilla80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: CuveeHsu, Assigned: CuveeHsu)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
bug 1651973 comment 3 shows we could have a performance gain
Assignee | ||
Comment 1•4 years ago
|
||
We should make something like PCookieServiceParent::SendTrackCookiesLoad and set it through background
Therefore, extract the document cookie in HttpChannelParent and set the cookie array and the origin attribute via PHttpBackgroundChannel::OnStartRequest
Updated•4 years ago
|
Severity: -- → S3
Priority: P2 → P1
Assignee | ||
Comment 2•4 years ago
|
||
Even if loadflag contains LOAD_DOCUMENT_NEEDS_COOKIE, we update cookie only for
the main documen
https://searchfox.org/mozilla-central/rev/9b282b34b5aa0f836beb735656c55efb2cc4c617/dom/ipc/ContentParent.cpp#5704
Hence, we don't need to wait for main thread IPC to proceed HttpChannelChild::OnStartRequest
Pushed by juhsu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/502c4fb165fc SendOnStartRequestSent only for main document, r=mayhemer,necko-reviewers
Comment 4•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•