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 24339 - File API should specify Blob.close() with a state in the model and influence on read methods
Summary: File API should specify Blob.close() with a state in the model and influence ...
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: 24072
  Show dependency treegraph
 
Reported: 2014-01-20 19:45 UTC by Arun
Modified: 2014-02-27 22:27 UTC (History)
2 users (show)

See Also:


Attachments

Description Arun 2014-01-20 19:45:13 UTC
Currently, Blob.close() is specified to throw an error on read methods, but the Blob model doesn't mention a potentially closed state, and how that might be processed, including on Blob URLs.

This bug is to:

1. Include Blob.close in the model for the File API, such as a "closed state."
2. Tie Blob.close with read methods based on model.
3. Determine what happens to closed Blobs as Blob URLs.  The model favors treating "closed state" blobs as having no bytes.