Backed out 2 changesets (bug 1874186, bug 1822097) for causing mochitests failures...
[gecko.git] / browser / components / components.conf
blobd41b1d2fb822e75aac894b8558efcb5e278b9610
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/.
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         'cid': '{d8903bf6-68d5-4e97-bcd1-e4d3012f721a}',
52         'contract_ids': ['@mozilla.org/content-permission/prompt;1'],
53         'esModule': 'resource:///modules/BrowserGlue.sys.mjs',
54         'constructor': 'ContentPermissionPrompt',
55     },
58 if (buildconfig.substs.get('MOZ_DEBUG') or
59         buildconfig.substs.get('MOZ_DEV_EDITION') or
60         buildconfig.substs.get('NIGHTLY_BUILD')):
61     Classes += [
62         {
63             'cid': '{11c095b2-e42e-4bdf-9dd0-aed87595f6a4}',
64             'contract_ids': ['@mozilla.org/test/startuprecorder;1'],
65             'esModule': 'resource:///modules/StartupRecorder.sys.mjs',
66             'constructor': 'StartupRecorder',
67             'categories': {'app-startup': 'startupRecorder'},
68             'processes': ProcessSelector.MAIN_PROCESS_ONLY,
69         },
70     ]