hasStorageAccess method
The hasStorageAccess()
method of the Document interface returns a
Promise
that resolves with a boolean value indicating whether the
document has access to
third-party,
unpartitioned
cookies.
This method is part of the Storage Access API.
Note: This method is another name for Document.hasUnpartitionedCookieAccess. There are no current plans to remove this method in favor of Document.hasUnpartitionedCookieAccess.
Implementation
external JSPromise<JSBoolean> hasStorageAccess();