Notice:
The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

ObjectURLOptions

< apis‎ | file
Jump to: navigation, search

ObjectURLOptions

This article is Ready to Use.

W3C Working Draft

Summary

Provides the oneTimeOnly property for use with the createObjectURL method.


Properties

No properties.

Methods

No methods.

Events

No events.

Examples

JavaScript

oURL = URL.createObjectURL(file, {oneTimeOnly: true});


The ObjectURLOptions object provides the oneTimeOnly property, which specifies whether an object created with createObjectURL is only used once, and thus does not need revokeObjectURL run against it.

Related specifications

Specification Status Related Changes
W3C File API Specification W3C Working Draft

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: Windows Internet Explorer API reference Article