Open
Bug 988815
Opened 10 years ago
Updated 2 years ago
Memory mapping array buffer for blobs coming from IndexedDB
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: swu, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
Follow up from bug 945152 comment 27.
Reporter | ||
Comment 1•10 years ago
|
||
This patch enhances FileReader API to support memory-mapped array buffer when calling .readAsArrayBuffer() from blob, and the blob is a file. One thing to note: The FileReader API is asyncronous, but it sends progress event is syncronously. When the load event is sent quickly, the onload() event will be triggered before the readAsArrayBuffer() finished. Because memory mapping triggers load event quickly, it caused below error in the mochitest: Got exception: TypeError: already executing generator The test case in the patch uses a workaround to avoid such problem.
Assignee: nobody → swu
Reporter | ||
Comment 2•8 years ago
|
||
I am not actively working on this, unassign myself.
Assignee: swu → nobody
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•