<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24339</bug_id>
          
          <creation_ts>2014-01-20 19:45:13 +0000</creation_ts>
          <short_desc>File API should specify Blob.close() with a state in the model and influence on read methods</short_desc>
          <delta_ts>2014-02-27 22:27:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>File API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>24072</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Arun">arun</reporter>
          <assigned_to name="Arun">arun</assigned_to>
          <cc>annevk</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98787</commentid>
    <comment_count>0</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-01-20 19:45:13 +0000</bug_when>
    <thetext>Currently, Blob.close() is specified to throw an error on read methods, but the Blob model doesn&apos;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 &quot;closed state.&quot;
2. Tie Blob.close with read methods based on model.
3. Determine what happens to closed Blobs as Blob URLs.  The model favors treating &quot;closed state&quot; blobs as having no bytes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101542</commentid>
    <comment_count>1</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2014-02-27 22:27:58 +0000</bug_when>
    <thetext>Done. 

http://dev.w3.org/2006/webapi/FileAPI/#close-method</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>