tor-browser

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

components.conf (3055B)


      1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
      2 # vim: set filetype=python:
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      6 
      7 Classes = [
      8     {
      9         'cid': '{5d0ce354-df01-421a-83fb-7ead0990c24e}',
     10         'contract_ids': [
     11             '@mozilla.org/browser/clh;1',
     12             '@mozilla.org/uriloader/content-handler;1?type=application/http-index-format',
     13             '@mozilla.org/uriloader/content-handler;1?type=application/xhtml+xml',
     14             '@mozilla.org/uriloader/content-handler;1?type=image/bmp',
     15             '@mozilla.org/uriloader/content-handler;1?type=image/gif',
     16             '@mozilla.org/uriloader/content-handler;1?type=image/jpeg',
     17             '@mozilla.org/uriloader/content-handler;1?type=image/jpg',
     18             '@mozilla.org/uriloader/content-handler;1?type=image/png',
     19             '@mozilla.org/uriloader/content-handler;1?type=image/svg+xml',
     20             '@mozilla.org/uriloader/content-handler;1?type=image/vnd.microsoft.icon',
     21             '@mozilla.org/uriloader/content-handler;1?type=image/x-icon',
     22             '@mozilla.org/uriloader/content-handler;1?type=text/css',
     23             '@mozilla.org/uriloader/content-handler;1?type=text/html',
     24             '@mozilla.org/uriloader/content-handler;1?type=text/plain',
     25             '@mozilla.org/uriloader/content-handler;1?type=text/rdf',
     26             '@mozilla.org/uriloader/content-handler;1?type=text/xml',
     27         ],
     28         'esModule': 'resource:///modules/BrowserContentHandler.sys.mjs',
     29         'constructor': 'nsBrowserContentHandler',
     30         'processes': ProcessSelector.MAIN_PROCESS_ONLY,
     31         'categories': {
     32             'command-line-handler': 'm-browser',
     33             'command-line-validator': 'b-browser',
     34         },
     35     },
     36     {
     37         'cid': '{47cd0651-b1be-4a0f-b5c4-10e5a573ef71}',
     38         'contract_ids': ['@mozilla.org/browser/final-clh;1'],
     39         'esModule': 'resource:///modules/BrowserContentHandler.sys.mjs',
     40         'processes': ProcessSelector.MAIN_PROCESS_ONLY,
     41         'constructor': 'nsDefaultCommandLineHandler',
     42         'categories': {'command-line-handler': 'x-default'},
     43     },
     44     {
     45         'cid': '{eab9012e-5f74-4cbc-b2b5-a590235513cc}',
     46         'contract_ids': ['@mozilla.org/browser/browserglue;1'],
     47         'esModule': 'resource:///modules/BrowserGlue.sys.mjs',
     48         'constructor': 'BrowserGlue',
     49     },
     50 ]
     51 
     52 if (buildconfig.substs.get('MOZ_DEBUG') or
     53         buildconfig.substs.get('MOZ_DEV_EDITION') or
     54         buildconfig.substs.get('NIGHTLY_BUILD')):
     55     Classes += [
     56         {
     57             'cid': '{11c095b2-e42e-4bdf-9dd0-aed87595f6a4}',
     58             'contract_ids': ['@mozilla.org/test/startuprecorder;1'],
     59             'esModule': 'resource:///modules/StartupRecorder.sys.mjs',
     60             'constructor': 'StartupRecorder',
     61             'categories': {'app-startup': 'startupRecorder'},
     62             'processes': ProcessSelector.MAIN_PROCESS_ONLY,
     63         },
     64     ]