mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
c20fb3ba09
Differential Revision: https://phabricator.services.mozilla.com/D30652 --HG-- extra : moz-landing-system : lando
45 lines
1.1 KiB
Python
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'],
|
|
},
|
|
]
|