gecko-dev/browser/components/about/components.conf
Erica Wright c20fb3ba09 Bug 1549825 - Create empty about:protections page. r=johannh,baku
Differential Revision: https://phabricator.services.mozilla.com/D30652

--HG--
extra : moz-landing-system : lando
2019-05-21 18:32:32 +00:00

45 lines
1.1 KiB
Python

# -*- 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/.
pages = [
'blocked',
'certerror',
'downloads',
'framecrashed',
'home',
'library',
'logins',
'newinstall',
'newtab',
'pocket-saved',
'pocket-signup',
'policies',
'preferences',
'privatebrowsing',
'protections',
'reader',
'restartrequired',
'rights',
'robots',
'sessionrestore',
'tabcrashed',
'welcome',
'welcomeback',
]
if defined('NIGHTLY_BUILD'):
pages.append('config')
Classes = [
{
'cid': '{7e4bb6ad-2fc4-4dc6-89ef-23e8e5ccf980}',
'contract_ids': ['@mozilla.org/network/protocol/about;1?what=%s' % page
for page in pages],
'legacy_constructor': 'mozilla::browser::AboutRedirector::Create',
'headers': ['/browser/components/about/AboutRedirector.h'],
},
]