URL.revokeObjectURL() static method releases an existing object URL which was previously created by calling
URL.createObjectURL(). Call this method when you've finished using an object URL to let the browser know not to keep the reference to the file any longer.
You can call
revokeObjectURL() any time after
sourceopen is handled. This is because
createObjectURL() is merely a means of connecting a media element's
src attribute with a
MediaSource instance. Calling
revokeObjectURL() leaves the underlying objects in place and allows the platform to handle garbage collection at an appropriate time.
- is a
DOMStringrepresenting the object URL that was created by calling
The definition of 'URL' in that specification.
|Working Draft||Initial definition|
|Feature||Android webview||Chrome for Android||Edge mobile||Firefox for Android||Opera Android||iOS Safari||Samsung Internet|
1. Supported as