web api instance method
StorageAccessHandle: revokeObjectURL() method
[!NOTE] See
revokeObjectURL()to understand usage.
Syntax
revokeObjectURL(objectURL)
Parameters
objectURL- : See
revokeObjectURL().
- : See
Return value
None (undefined).
Exceptions
SecurityErrorDomException- : Thrown if access was not granted.
Examples
document.requestStorageAccess({ revokeObjectURL: true }).then(
(handle) => {
console.log("revokeObjectURL access granted");
handle.revokeObjectURL(blob_url);
},
() => {
console.log("revokeObjectURL access denied");
},
);
[!NOTE] See Using the Storage Access API for a more complete example.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.