Bug 1753720 [wpt PR 32698] - [FedCM] Perform CSP checks on the provider URL, a=testonly
[gecko.git] / toolkit / xre / components.conf
blob45fbe18717c82aeab5a5df3755c3335f065e63af
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 if defined('MOZ_CRASHREPORTER'):
8     crash_reporter = ['@mozilla.org/toolkit/crash-reporter;1']
9 else:
10     crash_reporter = []
12 Classes = [
13     {
14         'js_name': 'appinfo',
15         'cid': '{95d89e3e-a169-41a3-8e56-719978e15b12}',
16         'contract_ids': [
17             '@mozilla.org/xre/app-info;1',
18             '@mozilla.org/xre/runtime;1',
19         ] + crash_reporter,
20         'interfaces': ['nsIXULRuntime', 'nsIXULAppInfo'],
21         'legacy_constructor': 'mozilla::AppInfoConstructor',
22         'headers': ['nsAppRunner.h'],
23         'processes': ProcessSelector.ALLOW_IN_SOCKET_PROCESS,
24         'overridable': True,
25     },
26     {
27         'cid': '{471f4944-1dd2-11b2-87ac-90be0a51d609}',
28         'contract_ids': ['@mozilla.org/embedcomp/rangefind;1'],
29         'type': 'nsFind',
30         'headers': ['/toolkit/components/find/nsFind.h'],
31     },
32     {
33         'cid': '{7e677795-c582-4cd1-9e8d-8271b3474d2a}',
34         'contract_ids': ['@mozilla.org/embedding/browser/nsWebBrowserPersist;1'],
35         'type': 'nsWebBrowserPersist',
36         'headers': ['/dom/webbrowserpersist/nsWebBrowserPersist.h'],
37     },
38     {
39         'js_name': 'ww',
40         'cid': '{a21bfa01-f349-4394-a84c-8de5cf0737d0}',
41         'contract_ids': ['@mozilla.org/embedcomp/window-watcher;1'],
42         'interfaces': ['nsIWindowWatcher'],
43         'type': 'nsWindowWatcher',
44         'headers': ['nsWindowWatcher.h'],
45         'init_method': 'Init',
46         'overridable': True,
47     },
48     {
49         'cid': '{5573967d-f6cf-4c63-8e0e-9ac06e04d62b}',
50         'contract_ids': ['@mozilla.org/xre/directory-provider;1'],
51         'singleton': True,
52         'type': 'nsXREDirProvider',
53         'constructor': 'nsXREDirProvider::GetSingleton',
54         'headers': ['/toolkit/xre/nsXREDirProvider.h'],
55     },
56     {
57         'cid': '{4e4aae11-8901-46cc-8217-dad7c5415873}',
58         'contract_ids': ['@mozilla.org/embedcomp/dialogparam;1'],
59         'type': 'nsDialogParamBlock',
60         'headers': ['/toolkit/components/windowwatcher/nsDialogParamBlock.h'],
61     },