tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ExtensionProxy.webidl (1215B)


      1 /*
      2 *  THIS IS AN AUTOGENERATED FILE.  DO NOT EDIT
      3 *
      4 *  The content of this file has been generated based on the WebExtensions API
      5 *  JSONSchema using the following command:
      6 *
      7 *  export SCRIPT_DIR="toolkit/components/extensions/webidl-api"
      8 *  mach python $SCRIPT_DIR/GenerateWebIDLBindings.py -- proxy
      9 *
     10 *  More info about generating webidl API bindings for WebExtensions API at:
     11 *
     12 *  https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/webidl_bindings.html
     13 */
     14 
     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/.
     18 *
     19 * You are granted a license to use, reproduce and create derivative works of
     20 * this document.
     21 */
     22 
     23 // WebIDL definition for the "proxy" WebExtensions API
     24 [Exposed=(ServiceWorker), LegacyNoInterfaceObject]
     25 interface ExtensionProxy {
     26  // API events.
     27 
     28  [Replaceable, SameObject]
     29  readonly attribute ExtensionEventManager onRequest;
     30 
     31  [Replaceable, SameObject]
     32  readonly attribute ExtensionEventManager onError;
     33 
     34  // API properties.
     35 
     36  [Replaceable]
     37  readonly attribute ExtensionSetting settings;
     38 };