W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2014

[Bug 24576] New: Calling URL.createObjectURL() on a closed Blob

From: <bugzilla@jessica.w3.org>
Date: Fri, 07 Feb 2014 09:54:15 +0000
To: public-webapps@w3.org
Message-ID: <bug-24576-2927@http.www.w3.org/Bugs/Public/>

            Bug ID: 24576
           Summary: Calling URL.createObjectURL() on a closed Blob
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
          Assignee: arun@mozilla.com
          Reporter: sof@opera.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: public-webapps@w3.org

What is the required behavior for

 var blob = new Blob(); blob.close(); URL.createObjectURL(blob);

Failure (what exception, if so?), or observably equal to

 var blob = new Blob(); URL.createObjectURL(blob);

http://dev.w3.org/2006/webapi/FileAPI/#close-method says 

  "..once close() has been called on a Blob, that Blob cannot be used again."

unclear what that means exactly in this context. A clarification would be

You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 7 February 2014 09:54:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:21 UTC