revokeObjectURL method

Revokes a URL from a document and frees the object associated with that URL.

Internet Explorer 10

 

Syntax

var retval = URL.revokeObjectURL(url);

Parameters

url [in]

Type: String

String that indicates the URL to revoke from the document.

Return value

This method does not return a value.

Remarks

This method does not need to be called on a URL object that was created using oneTimeOnly set to true, providing it is used. 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.

See also

URL
ObjectURLOptions
oneTimeOnly
createObjectURL

 

 

Show:
© 2014 Microsoft