[fission] Remove nsIWritablePropertyBag/nsIWritablePropertyBag2 support from DocumentChannelChild
Categories
(Core :: Networking, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: jya, Assigned: jya)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(5 files)
DocumentChannelChild implements nsIWritablePropertyBag/nsIWritablePropertyBag2 via nsHashPropertyBag.
Those properties are set by nsDocShell in the content process and aren't passed to the parent.
If a change of process occurs the nsIChannel in the new content process won't have those properties set.
Currently this problem is hidden as the test only occurs where there's no process switch involved.
We do not need to set those properties on the DocumentChannel (neither Child nor Parent) ; only on the final channel. We should transmit those over IPC instead.
By removing nsHashPropertyBag inheritance from DocumentChannelChild we can simplify it and make those tests work with fission.
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Only nsIURI are handled for the nsIVariant::GetAsInterface().
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D53922
Assignee | ||
Comment 3•5 years ago
|
||
Rather that setting the property bag on both the child and parent from the docshell; we first set it on the parent instead, and once the redirect (or process switch) has completed we carry that bag across.
Depends on D53923
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D53924
Assignee | ||
Comment 5•5 years ago
|
||
The previous site URI is now only written on the parent and sent back to the child once all redirects have completed.
In a follow up we will also transfer this information when a process switch occur as it's currently broken.
Depends on D53925
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d328964a7526
https://hg.mozilla.org/mozilla-central/rev/452793927396
https://hg.mozilla.org/mozilla-central/rev/4bd5a9363b0d
https://hg.mozilla.org/mozilla-central/rev/4949c8e7623b
https://hg.mozilla.org/mozilla-central/rev/5ccb0dc150d1
Description
•