localForage / localForage/localForage
Blob mimetype not saved consistently across drivers
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 25.8k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
As discussed on #322, WebSql and localStorage drivers lose the mimetype of Blobs. It works just on IndexedDB.
Keep in mind that PhantomJS < 2.0 does not support the Blob constructor.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WebSQL and localStorage drivers described in the issue, comparing their Blob handling with IndexedDB and reviewing the discussion in #322. Confirm the behavior in supported environments, account for PhantomJS versions below 2.0 lacking the Blob constructor, and consider the work done when Blob mimetypes are preserved consistently across the affected drivers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100