unsupportedAPIs
Specifies unsupported APIs for this extension, making them undefined in JavaScript.
Declaration
var unsupportedAPIs: Set<String>! { get set }Discussion
This property allows the app to specify a subset of web extension APIs that it chooses not to support, effectively making these APIs undefined within the extension’s JavaScript contexts. This enables extensions to employ feature detection techniques for unsupported APIs, allowing them to adapt their behavior based on the APIs actually supported by the app. Setting is only allowed when the context is not loaded. Only certain APIs can be specified here, particularly those within the browser namespace and other dynamic functions and properties, anything else will be silently ignored.