Open Bug 1217257 Opened 9 years ago Updated 2 years ago

[indexedDB]UnknownError is thrown from indexedDB when 2 different Firefox coexist

Categories

(Core :: Storage: IndexedDB, defect, P5)

38 Branch
All
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: peina, Unassigned)

Details

Attachments

(1 file)

Attached file firefoxbug.html
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7

Steps to reproduce:

There are 2 Firefox apps on my Mac: One is IBM-Firefox.app which version is 38.1, the other is Firefox.app which version is 40.

I used Firefox 38 to create an indexedDB, then use Firefox 40 to open it. The indexedDB is opened successfully.

But when I quite Firefox 40, get back to Firefox 38 and try to open the same indexedDB, 'UnknownError' is thrown. The error message is 'The operation failed for reasons unrelated to the database itself and not covered by any other error code.'

It is supported on Mac to have several Firefox apps in the same system, so many people may encounter this issue. People even can't delete the database in Firefox 38, indexedDB.deleteDatabase also thrown UnknownError.

I created a sample to demonstrate this issue.

Steps:
1. Open firefoxbug.html in Firefox 38, it created a test database.
2. Open firefoxbug.html in Firefox 40, the console shows 'onsuccess', which means indexedDB is opened successfully.
3. Open firefoxbug.html in Firefox 38 again, UnknownError shows in console.
Severity: normal → major
Component: Untriaged → General
OS: Unspecified → Mac OS X
Hardware: Unspecified → All
Severity: major → normal
Component: General → DOM: IndexedDB
Product: Firefox → Core
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: