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 23763 - Separate MIME type from Stream or not
Summary: Separate MIME type from Stream or not
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Streams API (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Takeshi Yoshino
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-07 20:25 UTC by Takeshi Yoshino
Modified: 2014-01-30 06:31 UTC (History)
2 users (show)

See Also:


Attachments

Description Takeshi Yoshino 2013-11-07 20:25:50 UTC
Currently Stream includes type attribute in it. We could split it from it unlike Blob.

- Get from XHR separately
- Pass to createObjectURL as a second argument

Thoughts?
Comment 1 Takeshi Yoshino 2013-11-13 17:12:39 UTC
Moved type attribute from ByteStream to ReadableByteStream in preview ver
https://dvcs.w3.org/hg/streams-api/raw-file/tip/preview.html
Comment 2 Takeshi Yoshino 2014-01-30 06:31:28 UTC
Separated type from the core ReadableStream so that the base interfaces can be used out of browser world.