tor-browser

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

serviceContainer.js (688B)


      1 /* Any copyright is dedicated to the Public Domain.
      2   http://creativecommons.org/publicdomain/zero/1.0/ */
      3 
      4 "use strict";
      5 
      6 module.exports = {
      7  attachRefToWebConsoleUI: () => {},
      8  emitForTests: () => {},
      9  onViewSourceInDebugger: () => {},
     10  onViewSourceInStyleEditor: () => {},
     11  openNetworkPanel: () => {},
     12  resendNetworkRequest: () => {},
     13  sourceMapURLService: {
     14    subscribeByURL: () => {
     15      return () => {};
     16    },
     17    subscribeByID: () => {
     18      return () => {};
     19    },
     20    subscribeByLocation: () => {
     21      return () => {};
     22    },
     23  },
     24  openLink: () => {},
     25  // eslint-disable-next-line react/display-name
     26  createElement: tagName => document.createElement(tagName),
     27 };