tor-browser

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

manifest.js (528B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 "use strict";
      5 
      6 const {
      7  generateActorSpec,
      8  RetVal,
      9 } = require("resource://devtools/shared/protocol.js");
     10 
     11 const manifestSpec = generateActorSpec({
     12  typeName: "manifest",
     13  methods: {
     14    fetchCanonicalManifest: {
     15      request: {},
     16      response: RetVal("json"),
     17    },
     18  },
     19 });
     20 
     21 exports.manifestSpec = manifestSpec;