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 18579 - window.URL.createObjectURL() it not defined
Summary: window.URL.createObjectURL() it not defined
Status: VERIFIED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Aaron Colwell (c)
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-15 15:58 UTC by Philip Jägenstedt
Modified: 2012-08-27 09:50 UTC (History)
3 users (show)

See Also:


Attachments

Description Philip Jägenstedt 2012-08-15 15:58:28 UTC
http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#mediasource-algorithms

"MediaSource object URLs are created by passing a MediaSource object to window.URL.createObjectURL()."

AFAICT, createObjectURL is defined by http://dev.w3.org/2006/webapi/FileAPI/#dfn-createObjectURL but that only handled Blob objects.

(This is somewhere between editorial and spec lawyering, since it's not hard to figure out what to actually implement.)
Comment 1 Aaron Colwell (c) 2012-08-17 22:25:35 UTC
(In reply to comment #0)
> http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#mediasource-algorithms
> 
> "MediaSource object URLs are created by passing a MediaSource object to
> window.URL.createObjectURL()."
> 
> AFAICT, createObjectURL is defined by
> http://dev.w3.org/2006/webapi/FileAPI/#dfn-createObjectURL but that only
> handled Blob objects.
> 
> (This is somewhere between editorial and spec lawyering, since it's not hard to
> figure out what to actually implement.)

You're right. I don't mind adding a section with the partial interface definition.
Comment 2 Philip Jägenstedt 2012-08-20 09:20:54 UTC
It looks like the WebRTC editors have done just that:

http://dev.w3.org/2011/webrtc/editor/getusermedia.html#url
Comment 3 Aaron Colwell (c) 2012-08-24 22:43:57 UTC
Changes committed.
http://dvcs.w3.org/hg/html-media/rev/ca093bbbbefb