Opened 18 months ago

Last modified 3 months ago

#26463 reopened defect

IndexedDB doesn't work in TorBrowser

Reported by: luka-magnotta Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

So, I've read #16528 and #1633, but I'm still unclear if the current state of IndexedDB being broken is intended or not.

Just to be clear: TB 7.5.5 (FF 52.8.1), IndexedDB doesn't work at all. It exhibits symptoms similar to vanilla FF in Private Mode -- the API appears to exist, but the first call to "open" fails with InvalidStateError. TB has a 'dom.indexedDB.enabled` config boolean. It's set to enabled, yet it doesn't help at all.

On firefox side of things, there's https://bugzilla.mozilla.org/show_bug.cgi?id=781982 - they break IndexedDB in private mode *on purpose* and plan to fix this sometime in the future. There's also a bug/workaround - IndexedDB in FF private mode is still accessible from WebWorkers. Similar fix/workaround IS not applicable in TB - again, on purpose, from #16333.

So, I'm quite unsure what the status here is, but it would be great to fix and enable IndexedDB once and for all, as more and more sites rely on it.

Child Tickets

Change History (4)

comment:1 in reply to:  description ; Changed 18 months ago by teor

Replying to luka-magnotta:

So, I've read #16528 and #1633, but I'm still unclear if the current state of IndexedDB being broken is intended or not.

Just to be clear: TB 7.5.5 (FF 52.8.1), IndexedDB doesn't work at all. It exhibits symptoms similar to vanilla FF in Private Mode -- the API appears to exist, but the first call to "open" fails with InvalidStateError.

Tor Browser runs all windows in private browsing mode by default.

So IndexedDB probably needs to get fixed in Firefox before it will be fixed in TBB. Even then, TBB will need to make sure that it respects domain isolation.

comment:2 in reply to:  1 ; Changed 18 months ago by gk

Component: - Select a componentApplications/Tor Browser
Owner: set to tbb-team
Resolution: invalid
Status: newclosed

Replying to teor:

Replying to luka-magnotta:

So, I've read #16528 and #1633, but I'm still unclear if the current state of IndexedDB being broken is intended or not.

Just to be clear: TB 7.5.5 (FF 52.8.1), IndexedDB doesn't work at all. It exhibits symptoms similar to vanilla FF in Private Mode -- the API appears to exist, but the first call to "open" fails with InvalidStateError.

Tor Browser runs all windows in private browsing mode by default.

So IndexedDB probably needs to get fixed in Firefox before it will be fixed in TBB.

Indeed, see: https://bugzilla.mozilla.org/show_bug.cgi?id=781982.

comment:3 in reply to:  2 Changed 18 months ago by luka-magnotta

Replying to teor:

Tor Browser runs all windows in private browsing mode by default.

So IndexedDB probably needs to get fixed in Firefox before it will be fixed in TBB. Even then, TBB will need to make sure that it respects domain isolation.

I see, thanks for clearing this up.

Replying to gk:

Indeed, see: https://bugzilla.mozilla.org/show_bug.cgi?id=781982.

Right, I'll keep a close eye on that ticket.

comment:4 Changed 3 months ago by cypherpunks

Resolution: invalid
Status: closedreopened
Note: See TracTickets for help on using tickets.