fune/browser/components/about/components.conf
Mike Conley 4b9f3545e2 Bug 1866802 - Move ASRouterAdmin tool to about:asrouter and its own component folder. r=pdahiya,Gijs,desktop-theme-reviewers,dao
This tries to maintain stylistic continuity, while also trying to decouple from
newtab as much as possible. This is a first foray, and future patches will
further this decoupling.

This also modifies about:asrouter to show an error message if the ASRouter devtools
pref is not set to true.

Differential Revision: https://phabricator.services.mozilla.com/D194811
2023-12-13 23:29:48 +00:00

50 lines
1.2 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 = [
'asrouter',
'blocked',
'certerror',
'downloads',
'framecrashed',
'home',
'logins',
'loginsimportreport',
'firefoxview',
'firefoxview-next',
'messagepreview',
'newtab',
'ion',
'pocket-home',
'pocket-saved',
'pocket-signup',
'pocket-style-guide',
'policies',
'preferences',
'privatebrowsing',
'protections',
'profiling',
'reader',
'restartrequired',
'rights',
'robots',
'sessionrestore',
'shoppingsidebar',
'tabcrashed',
'unloads',
'welcome',
'welcomeback',
]
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'],
},
]