revokeObjectURL
Summary
Revokes a URL from a document and frees the object associated with that URL.
Method of apis/file/URLapis/file/URL
Syntax
URL.revokeObjectURL(objectURL);
Parameters
objectURL
- Data-type
- String
String that indicates the URL to revoke from the document.
Return Value
No return value
Notes
This method does not need to be called on a URL object that was created using oneTimeOnly set to true. If a URL object is created and not used, this method must be called to revoke it. All URLs that are not revoked will be destroyed when the markup that created them is torn down.
Related specifications
- W3C File API Specification
- W3C Working Draft
Attributions
Microsoft Developer Network: Windows Internet Explorer API reference Article