This page is Ready to Use

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

Summary

Provides the oneTimeOnly property for use with the createObjectURL method.

Properties

No properties.

Methods

No methods.

Events

No events.

Examples

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

W3C File API Specification
W3C Working Draft

Attributions