This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24453 - Expose interfaces to workers
Summary: Expose interfaces to workers
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: File API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Arun
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-31 08:47 UTC by Simon Pieters
Modified: 2014-02-27 23:19 UTC (History)
1 user (show)

See Also:


Attachments

Description Simon Pieters 2014-01-31 08:47:41 UTC
FileList, Blob, File and FileReader should have [Exposed=Window,Worker] webidl annotations so that they're usable in workers. (FileList and Blob/File already survive structured clone.)
Comment 1 Arun 2014-02-27 23:19:06 UTC
Fixed. The only interface which isn't annotated is the partial URL interface, but I think appropriate annotations (and decisions on whether it should be exposed on Workers) should happen as part of the URL spec.

Relevant changes are:

1. http://dev.w3.org/2006/webapi/FileAPI/#blob
2. http://dev.w3.org/2006/webapi/FileAPI/#file
3. http://dev.w3.org/2006/webapi/FileAPI/#filelist-section (which isn't long for this world, and is likely to get replaced by an Array soon).
4. http://dev.w3.org/2006/webapi/FileAPI/#APIASynch
5. http://dev.w3.org/2006/webapi/FileAPI/#readingOnThreads