Closed
Bug 869812
Opened 11 years ago
Closed 11 years ago
Podcasts encounters error on download to indexeddb
Categories
(Marketplace Graveyard :: Reference Apps, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-06-06
People
(Reporter: tofumatt, Assigned: tofumatt)
References
Details
(Whiteboard: u=user c=refapps p=5 s=2013.9)
It seems like saving the request.response of certain very large podcasts causes IndexedDB and the app to crash on a Unagi device. This cannot be replicated on the simulator, but happens with relative ease on device.
It seems I'll need to write the file with a buffer or use the Devicestorage/File API to save these large files.
This is the only current blocker to the app being on the marketplace.
Assignee | ||
Comment 1•11 years ago
|
||
Moving this to the next sprint, as it's turned out to be a bit of a beast. I'll need to save the download in chunks in order to free up memory and not hit out-of-memory errors.
Whiteboard: u=user c=refapps p=3 s=2013.7 → u=user c=refapps p=5 s=2013.8
Assignee | ||
Comment 2•11 years ago
|
||
It seems there is NO way to get this functionality on 1.0.x, but I'm hoping a minimum version option in Marketplace (bug 879641) will allow me to submit this app to the Marketplace.
Depends on: 879641
Whiteboard: u=user c=refapps p=5 s=2013.8 → u=user c=refapps p=5 s=2013.9
Comment 3•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/high-fidelity
https://github.com/mozilla/high-fidelity/commit/fd9ed092b9ba13a837b3c6c5f79959c578ffc9e3
Save episodes in chunks (Fix bug 869812)
This saves podcast episodes in a crude-yet-simply-effective way to IndexedDB.
Retrieving the stored arrayBuffers from IndexedDB and assembling a new `Blob`
object from them SEEMS not to OOM the app on phones, though it still spikes
memory usage.
Also fixes some type hacks used previously.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → 2013-06-06
You need to log in
before you can comment on or make changes to this bug.
Description
•