Open Bug 1541864 Opened 5 years ago Updated 2 years ago

Blob object is dead if it was taken from indexedDB and deleted

Categories

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

67 Branch
defect

Tracking

()

People

(Reporter: eight04, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

Steps to reproduce:

I found this bug when I tried to use indexedDB as a file cache in my extension.

  1. Copy the code from https://gist.github.com/eight04/c432b082c4134420bc008b53b3720f6f
  2. Go to https://example.com.
  3. Press F12 to open the console.
  4. Paste the code and run.

Actual results:

The blob object is dead. Any operation trying to read the data will fail. Including webextension downloads API.

Expected results:

Deleting the instance inside indexedDB shouldn't affect the blob object. It works fine on Chrome.

Tested on Firefox Developer Edition v67.0b7.

The priority flag is not set for this bug.
:overholt, could you have a look please?

Flags: needinfo?(overholt)

Eden, can you take a look?

Flags: needinfo?(overholt) → needinfo?(echuang)
Priority: -- → P2
Assignee: nobody → echuang
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(echuang)
Assignee: echuang → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.