summaryrefslogtreecommitdiffstats
path: root/toolkit/components/mozprotocol/components.conf
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/mozprotocol/components.conf')
-rw-r--r--toolkit/components/mozprotocol/components.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/toolkit/components/mozprotocol/components.conf b/toolkit/components/mozprotocol/components.conf
new file mode 100644
index 0000000000..c3918a5416
--- /dev/null
+++ b/toolkit/components/mozprotocol/components.conf
@@ -0,0 +1,20 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+Classes = [
+ {
+ 'cid': '{47a45e5f-691e-4799-8686-14f8d3fc0f8c}',
+ 'contract_ids': ['@mozilla.org/network/protocol;1?name=moz'],
+ 'esModule': 'resource://gre/modules/MozProtocolHandler.sys.mjs',
+ 'constructor': 'MozProtocolHandler',
+ 'protocol_config': {
+ 'scheme': 'moz',
+ 'flags': [
+ 'URI_DANGEROUS_TO_LOAD',
+ ],
+ },
+ },
+]