Contents

hasRequestedOptionalAccessToAllHosts

A Boolean value indicating if the extension has requested optional access to all hosts.

Declaration

var hasRequestedOptionalAccessToAllHosts: Bool { get set }

Discussion

If this property is YES, the extension has asked for access to all hosts in a call to browser.runtime.permissions.request(), and future permission checks will present discrete hosts for approval as being implicitly requested. This value should be saved and restored as needed by the app.