2 * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT
4 * The content of this file has been generated based on the WebExtensions API
5 * JSONSchema using the following command:
7 * export SCRIPT_DIR="toolkit/components/extensions/webidl-api"
8 * mach python $SCRIPT_DIR/GenerateWebIDLBindings.py -- proxy
10 * More info about generating webidl API bindings for WebExtensions API at:
12 * https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html
15 /* This Source Code Form is subject to the terms of the Mozilla Public
16 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
17 * You can obtain one at http://mozilla.org/MPL/2.0/.
19 * You are granted a license to use, reproduce and create derivative works of
23 // WebIDL definition for the "proxy" WebExtensions API
24 [Exposed=(ServiceWorker), LegacyNoInterfaceObject]
25 interface ExtensionProxy {
28 [Replaceable, SameObject]
29 readonly attribute ExtensionEventManager onRequest;
31 [Replaceable, SameObject]
32 readonly attribute ExtensionEventManager onError;
37 readonly attribute ExtensionSetting settings;