window.URL.revokeObjectURL

Summary

Releases an existing object URL which was previously created by calling window.URL.createObjectURL() .  Call this method when you've finished using a object URL, in order to let the browser know it doesn't need to keep the reference to the file any longer.

Syntax

window.URL.revokeObjectURL(objectURL);
Note: This method is prefixed in Chrome and Webkit as window.webkitURL.revokeObjectURL().

Specification

Browser compatibility

  • Desktop
  • Mobile

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 8 4 --- --- Nightly build
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

Tags (2)

Edit tags

Attachments (0)

 

Attach file