Closed Bug 1146522 Opened 9 years ago Closed 9 years ago

It seems there is no way to chancel IndexedDB.

Categories

(Firefox :: Untriaged, defect)

36 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1047098

People

(Reporter: czoeke, Unassigned)

Details

Attachments

(1 file)

Attached file SindexedDB.html
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2200.0 Iron/41.0.2200.0 Safari/537.36

Steps to reproduce:

I wrote a HTML5 (JavaScript) file and tested it local and located on a server.
(file is attached - Always press the "Open DB" button first. "name" is the content, "email" the key. With "Add" add your input, with "FindAll" you see the it below the last horizontal row.)


Actual results:

After canceling all the internet data (cookies, cache, offline-data, etc.) you can open this file (and open the DB), all the input is still there. Dosen't make a difference, if you test it local, or from a server.


Expected results:

If the user cancels offline-date, the indexedDB should also be cleared.
By the way, Safari, Chrome, Opera does it.
Thanks for the report! Could you be more specific with your steps to reproduce, actual and expected results?

https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines#str
Flags: needinfo?(czoeke)
(In reply to Nickolay_Ponomarev from comment #1)
> Thanks for the report! Could you be more specific with your steps to
> reproduce, actual and expected results?
> 
> https://developer.mozilla.org/en-US/docs/Mozilla/QA/
> Bug_writing_guidelines#str

Hi Nickolay,

just open the HTML file with firefox and press the "Open DB" button first. Than write some text in the "name:" textarea and a keyword in the "email:" textfield.
Finish by pressing the "Add" button.

You can see the input in two ways: If you write the keyword in the "email:" textfield and press "Find", or just simple press "FindAll".

If you now close the tab and cancel all the internet data (cookies, cache, offline-data, etc.) in firefox, your input will still be there. If you open the HTML file again, press the "Open DB" button and the "FindAll" button - and you will see your text! (You can also write the keyword in the "email:" textfield and press "Find".)

The expected results for me is, that specially after canceling the offline-data in a web browser, not only cookies and local storage should be gone, also all indexedDBs...!?

Best regards
Flags: needinfo?(czoeke)
"cancel all the internet data (cookies, cache, offline-data, etc.) in firefox" - what specifically are talking about? "History -> Clear recent history" menu? That would be bug 1047098.
Flags: needinfo?(czoeke)
Ah, okay, we have a different wording, because I have a German surface and translate it by myself, but don't know the english surface. So thinking "History -> Clear recent history" menu is what I mean.

I have had a look at the bug 1047098 - don't know asm.js and read "QuotaManager" the first time in my life.
But yes, it looks like a description of a quite similar bug - just another point of view.

What I don't understand is that such a security issue isn't fixed asap. Particularly with regard to the other web browser.
Flags: needinfo?(czoeke)
Thanks for confirming! You can cite the German names along with the translation, this allows for looking up the original English name.

QuotaManager is the internal mechanism managing IndexedDB data; asm.js is another thing it manages, so I'll mark this as a duplicate of bug 1047098.

Yes, it's unfortunate this is still not fixed, but I prefer not to argue about priorities with people who're actually implementing the fixes.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
This was my first indication of a bug, and I'm happy, that you supported me!
If I ever find another bug, I'll try to make it a bit better.
Glad to help. Keep the good bug reports coming!
Flags: needinfo?(czoeke)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: