Open
Bug 1204531
Opened 9 years ago
Updated 2 years ago
Add UITest that verifies cookies are not stored on disk for PBMode
Categories
(Firefox for iOS :: Build & Test, defect)
Tracking
()
NEW
People
(Reporter: sleroux, Unassigned)
References
Details
Attachments
(1 file)
Creating a separate bug for write a test that checks that while in PBMode, any cookies that we get don't get saved to disk. According to the apple docs, they shouldn't because we're using the non-persistent data store but it would be nice to have a test that verifies this. One of the challenges I ran into while trying to write a test is that cookies are stored in memory first before they get written to disk. We can check to see if a cookie is on disk by calling NSHTTPCookieStorage.sharedHTTPCookieStorage().cookies but I can't seem to find when the WKWebView flushes the cookies to disk because if I try a series of events like removing the tab/navigating to a new url, the cookie exists in memory but not in disk.
Reporter | ||
Comment 1•9 years ago
|
||
Attaching WIP patch for some of the attempts I tried if someone wants to pick this up.
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Reporter | ||
Updated•8 years ago
|
Assignee: sleroux → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•