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 23385 - When a Blob/File is neutered through the close() method throw a DataCloneError. Maybe best to extract the neuter check to just in memory check at the start of the internal structured cloning algorithm.
Summary: When a Blob/File is neutered through the close() method throw a DataCloneErro...
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-27 21:39 UTC by contributor
Modified: 2013-10-02 01:20 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-09-27 21:39:28 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html
Multipage: http://www.whatwg.org/C#safe-passing-of-structured-data
Complete: http://www.whatwg.org/c#safe-passing-of-structured-data
Referrer: http://wiki.ecmascript.org/doku.php?id=strawman:structured_clone

Comment:
When a Blob/File is neutered through the close() method throw a
DataCloneError. Maybe best to extract the neuter check to just in memory check
at the start of the internal structured cloning algorithm.

Posted from: 67.243.22.65 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:27.0) Gecko/20100101 Firefox/27.0
Comment 1 Anne 2013-09-27 21:41:57 UTC
I.e. as step 2 of the internal structured cloning algorithm have "if input is neutered, throw ..."
Comment 2 Ian 'Hixie' Hickson 2013-10-01 20:39:09 UTC
Anne, did our IRC conversation change your opinion here?
Comment 3 Anne 2013-10-02 01:20:22 UTC
Yeah, filed bug 23416.