Indexeddb

Discussion of bugs in Mozilla Firefox
Post Reply
Juhak
Posts: 3
Joined: August 4th, 2016, 3:36 am

Indexeddb

Post by Juhak »

I am trying to clear data of Indexeddb from browser history and also trying emptying data from offline storage-option but data is still under

C:\Users\user\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\storage - folder

Only way to remove it is remove databases manually from that folder. Firefox also doesnt ask when Indexeddb save content to computer, despite that option is selected.

Firefox version is 48.0 and same happen two different computers.

Is this feature or bug?
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Indexeddb

Post by therube »

Are you expecting that the /storage/ directory is not even (re)created?
Likewise particular .sqlite files?

I would expect the directory structures to automatically be created.
And any associated .sqlite files too, though with no "history" data being written to them?
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Juhak
Posts: 3
Joined: August 4th, 2016, 3:36 am

Re: Indexeddb

Post by Juhak »

When open page which have Indexeddb, it still show old data despite that i clean everything except folder.

Have to look file inside folder, what data it have.
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Indexeddb

Post by therube »

> When open page which have Indexeddb

URL where that happens?
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
morat
Posts: 6429
Joined: February 3rd, 2009, 6:29 pm

Re: Indexeddb

Post by morat »

I cannot clear the data with the clear all history window or the cookies page.

IndexedDB Example
http://jsfiddle.net/n6gLd5kw/

SQLite Command Line Utility
http://www.sqlite.org/download.html

Command Prompt:

Code: Select all

cd storage\default\http+++fiddle.jshell.net\idb
sqlite3.exe example.sqlite .dump > example.sql
notepad++.exe example.sql
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Indexeddb

Post by therube »

I can't seem to get it to work?
I put in a wish for gummybears, but I got no gummybears nor any [newly created] indexeddb...

Ah, wait, I was looking in /permanent/...
OK its there & it says I should be getting gummybears (but I still don't seem them - though I do have fruitfills, fruit, heh).


Developer Tools -> Storage, I see jsfiddle.net (& headwayapp.co ?) but I'm not sure if I should be seeing more (additional data about them) or not (& I am not)?


Using sqlite3, I see what seem to be "addtions" to the sqlite file, but not deletions (& again assuming that I even know what I'm looking at). (Second go around, I added lollypops to my Wish.)
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
morat
Posts: 6429
Joined: February 3rd, 2009, 6:29 pm

Re: Indexeddb

Post by morat »

Here is how I test the bug.

* remove http+++fiddle.jshell.net folder in command prompt
* open browser
* open example page
* add wish to database
* close example page
* history > clear recent history
* set time range to everything, check all options, click clear now
* restart browser
* open example page

The data isn't cleared.
Juhak
Posts: 3
Joined: August 4th, 2016, 3:36 am

Re: Indexeddb

Post by Juhak »

Here is another example: http://tokkamobile.fi/tk2.html

- Read all -> it will show 3 entries
- Add -> database have 4 entries
- Clear browser history, also clear offline content.
- When Read all, 4 still in there

Only way to clear it is delete msqlite - database file from C:\Users\user\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\storage - folder

Edit: Also test this in Ubuntu with Firefox 41.0.1 and same happen. Seems also that option "Tell me when a website asks to store data for offline use" doesnt work. Data is stored without asking.
morat
Posts: 6429
Joined: February 3rd, 2009, 6:29 pm

Re: Indexeddb

Post by morat »

I cannot clear the data on the tokka mobile site with the clear all history window.

I can clear the data in the page info window.

Tools > Page Info > Permissions > Maintain Offline Storage

I can also clear the data using the web console.

Tools > Web Developer > Web Console

Code: Select all

indexedDB.deleteDatabase("testikanta");
Clear Recent History doesn't remove Offline Storage Data
http://bugzilla.mozilla.org/show_bug.cgi?id=602743
http://bugzilla.mozilla.org/show_bug.cgi?id=1047098

For reading only as Bugzilla is not a forum.
Post Reply