Commit Graph

54 Commits

Author SHA1 Message Date
Peter Van der Beken
87d44d16e4 Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz. 2012-12-03 17:07:49 +01:00
Robert O'Callahan
6d9c8b7b58 Bug 792675. Part 6: Extend createObjectURL to support MediaStreams. r=sicking 2012-09-25 15:24:45 +12:00
Robert O'Callahan
7bf10781dc Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
2012-09-25 15:24:44 +12:00
Robert O'Callahan
bac0aef69c Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz 2012-09-25 15:24:43 +12:00