WebExtensions request does not contain cookies even for visited sites when 'from visited' setting is enabled, in Private Browsing mode
Categories
(Core :: Networking: Cookies, defect, P2)
Tracking
()
People
(Reporter: arz.giyan, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [necko-triaged] triaged)
Attachments
(3 files)
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Updated•8 years ago
|
Updated•8 years ago
|
Reporter | ||
Comment 2•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Comment 15•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 16•8 years ago
|
||
Comment 17•8 years ago
|
||
Comment 18•8 years ago
|
||
Comment 19•8 years ago
|
||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Updated•7 years ago
|
Comment 23•7 years ago
|
||
Updated•7 years ago
|
Comment 24•7 years ago
|
||
Comment 25•6 years ago
|
||
Comment 26•6 years ago
|
||
Comment hidden (obsolete) |
Comment 28•6 years ago
|
||
Comment 29•6 years ago
|
||
This has probably sat untouched since it remained assigned (to me) when moved to core:networking. I'd like to get input from that team and see if we can move this forward.
Selena, can you help find someone to poke at this?
Comment 30•6 years ago
|
||
:miket, :ddurst -- Can you both weigh in on the prioritization of this? From my viewpoint the end state of this seems confusing for a user in private browsing mode, but it appears that the Chrome extensions API supports it, making it a potentially ambitious webcompat/add-ons crossover.
Comment 32•6 years ago
|
||
If the OP still holds (manually visiting the site appends the cookies, but requests from an extension context do not append the cookies), then I think we should P2 this, as the reasonable assertion is that the content blocking settings are respected, even when in private browsing mode. [Or, to put it another way, that content blocking wouldn't be different in some contexts when in private browsing mode.]
Comment 33•6 years ago
|
||
From the perspective of add-ons interop (which might lead people to think pages are broken), it seems reasonable to match Chrome here.
Comment 34•5 years ago
|
||
I agree with David and Mike that fixing this to match Chrome and meet the expectation of users seems the right approach.
Comment 35•5 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Assignee | ||
Comment 37•5 years ago
|
||
I can definitely take a look. The first step for me is to understand what the broken behaviour is. I'm a bit stuck on that for now...
Shane, I'm going off of your test case in attachment 8827265 [details] [diff] [review]. In that test, I do not see where the bug is. We open http://mochi.test:8888/..../file_sample.html, it tries to set a cookie using document.cookie
, that fails because cookieBehavior == 3
(since there are no existing cookies from mochi.test
) and then the rest of the test fails.
Can you please clarify what is the exact set of steps that are expected to work, and why do we expect them to work? Thanks!
Assignee | ||
Comment 38•5 years ago
|
||
Oh wait, I think I misunderstood the bug originally. This bug actually isn't related to web extensions at all. The implementation of the "from visited" cookie policy is just broken under private browsing mode it seems! It was just noticed with WebExtensions...
Assignee | ||
Comment 39•5 years ago
|
||
Comment 40•5 years ago
|
||
Comment 41•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•