Ensure CreateFromLoadURIOptions passes the appropriate PRIVATE flag to URIFixup
Categories
(Core :: DOM: Navigation, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Bug 1578624 moved the urifixup call from the docshell to CreateFromLoadURIOptions, that is now also invoked by BrowsingContext.
That code must pass FIXUP_FLAG_PRIVATE_CONTEXT to URIFixup when appropriate.
We need a test that goes through both branches in CreateFromLoadURIOptions, either if the consumer is a DocShell or if it's an EmbedderElement.
The DocShell has information about PB mode.
Assignee | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
It seems like private browsing state should be stored on the BrowsingContext itself (or the BC Group?), which would then make this super easy to fix.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #1)
It seems like private browsing state should be stored on the BrowsingContext itself (or the BC Group?), which would then make this super easy to fix.
Oh sorry, I didn't see your comment before attaching this, do you have a simple proposal to implement? Would my patch be ok in the meanwhile, or is the "proper" fix straight-forward enough? We need this fix in Firefox 71.
Assignee | ||
Comment 4•5 years ago
|
||
Kris reviewed the current patch, I'm happy to file a follow-up for a broader fix if you think it would be cleaner long term, just let me know.
Comment 5•5 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #1)
It seems like private browsing state should be stored on the BrowsingContext itself (or the BC Group?), which would then make this super easy to fix.
For what it's worth, this is already on the TODO list, along with storing the entire OriginAttributes for a DocShell on the BrowsingContext. I'd be happy to accept a patch for either or both.
Comment 6•5 years ago
|
||
I think I'll need both of those for 'start parent initiated loads from the parent process' anyway, so I can look in them.
Comment 8•5 years ago
|
||
bugherder |
Description
•