tor-browser

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

toolbox-window.js (593B)


      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 /* eslint-disable no-unused-vars */
      5 
      6 "use strict";
      7 
      8 var { XPCOMUtils } = ChromeUtils.importESModule(
      9  "resource://gre/modules/XPCOMUtils.sys.mjs"
     10 );
     11 
     12 // Make some `topBrowsingContext.topChromeWindow` properties available in
     13 // separate devtools window.
     14 //
     15 // (see bug 1659618)
     16 XPCOMUtils.defineLazyScriptGetter(
     17  this,
     18  "ZoomManager",
     19  "chrome://global/content/viewZoomOverlay.js"
     20 );