Closed
Bug 823484
Opened 12 years ago
Closed 3 years ago
Implement structured cloning to workers for FileList (DataCloneError passing a FileList to a worker)
Categories
(Core :: DOM: Workers, defect, P5)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
People
(Reporter: algirdas.jarockis, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121129162756
Steps to reproduce:
It's bug in javascript:
var files = evt.dataTransfer.files||evt.target.files;
// FileList object.
worker.postMessage({
'files' : files
});
Actual results:
Code above produces 'DataCloneError: The object could not be cloned.'
Expected results:
Code above should succeed
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM
Ever confirmed: true
OS: Linux → All
Product: Firefox → Core
Hardware: x86 → All
Version: 17 Branch → Trunk
![]() |
||
Comment 1•12 years ago
|
||
Looks like bug 664783 didn't implement structured cloning for FileList?
Component: DOM → DOM: Workers
Depends on: 664783
Summary: DataCloneError: The object could not be cloned. when passing FileList to Webworker → Implement structured cloning to workers for FileList (DataCloneError passing a FileList to a worker)
It doesn't still work in Firefox 29.
You can find a real test case just here : http://www.html5rocks.com/en/tutorials/file/filesystem-sync/#toc-readingsync
Updated•7 years ago
|
Priority: -- → P5
Comment 3•3 years ago
|
||
Pretty sure this works now.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•