Bug 1721904 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

We received a bug report from someone who mentioned that they mostly work in private mode, but are seeing the storage used by Firefox grow.

I think this needs a bigger investigation, for which I filed bug #1234

In my own limited exploration I have found one case where sensitive cached data from private mode is left behind when the application is killed.

Steps to reproduce:

1. Open some tabs in private mode
2. Kill Firefox (I used `kill -9` from a root shell - swiping the app away may not work)
3. Start Firefox again

Expected:

No private tabs are open and cache directories are empty.

Actual:

No private tabs are open, but I did see the following data on disk:

```
taimen:/data/data/org.mozilla.firefox/cache # find .
.
./gecko_temp
./mozac_browser_thumbnails
./mozac_browser_thumbnails/thumbnails
./mozac_browser_thumbnails/thumbnails/789b065e-fb9b-4373-b47a-ee39dc95b12c.0
./mozac_browser_thumbnails/thumbnails/e6a057a2-b438-4a08-a7b8-5cfa501b5e08.0
./mozac_browser_thumbnails/thumbnails/5171ea7f-9278-42c4-8eae-15073f66ca08.0
./jna-3506402
./kfz44b8d.default
./kfz44b8d.default/cache2
./kfz44b8d.default/cache2/doomed
./kfz44b8d.default/cache2/entries
./kfz44b8d.default/cache2/entries/342AC7BEC15653F647CF0E081A0209627846056F
```

The `cache2/entries` is a Nimbus JSON file. I assume that is fine. But the three files in `mozac_browser_thumbnails` are full screen screenshots of the tabs I had open in private mode.

Restarting Firefox does not make these go away. They stick around.
We received a bug report from someone who mentioned that they mostly work in private mode, but are seeing the storage used by Firefox grow.

I think this needs a bigger investigation, for which I filed bug 1721905

In my own limited exploration I have found one case where sensitive cached data from private mode is left behind when the application is killed.

Steps to reproduce:

1. Open some tabs in private mode
2. Kill Firefox (I used `kill -9` from a root shell - swiping the app away may not work)
3. Start Firefox again

Expected:

No private tabs are open and cache directories are empty.

Actual:

No private tabs are open, but I did see the following data on disk:

```
taimen:/data/data/org.mozilla.firefox/cache # find .
.
./gecko_temp
./mozac_browser_thumbnails
./mozac_browser_thumbnails/thumbnails
./mozac_browser_thumbnails/thumbnails/789b065e-fb9b-4373-b47a-ee39dc95b12c.0
./mozac_browser_thumbnails/thumbnails/e6a057a2-b438-4a08-a7b8-5cfa501b5e08.0
./mozac_browser_thumbnails/thumbnails/5171ea7f-9278-42c4-8eae-15073f66ca08.0
./jna-3506402
./kfz44b8d.default
./kfz44b8d.default/cache2
./kfz44b8d.default/cache2/doomed
./kfz44b8d.default/cache2/entries
./kfz44b8d.default/cache2/entries/342AC7BEC15653F647CF0E081A0209627846056F
```

The `cache2/entries` is a Nimbus JSON file. I assume that is fine. But the three files in `mozac_browser_thumbnails` are full screen screenshots of the tabs I had open in private mode.

Restarting Firefox does not make these go away. They stick around.

Back to Bug 1721904 Comment 0