This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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