Skip to content

Commit 447b995

Browse files
committed
Bug 1824436 - Add blank page for new view development. r=sfoster,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174922
1 parent 8ce7ebb commit 447b995

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

browser/components/about/AboutRedirector.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ static const RedirEntry kRedirMap[] = {
7373
{"firefoxview", "chrome://browser/content/firefoxview.html",
7474
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI |
7575
nsIAboutModule::HIDE_FROM_ABOUTABOUT},
76+
{"firefoxview-next", "chrome://browser/content/firefoxview-next.html",
77+
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI |
78+
nsIAboutModule::HIDE_FROM_ABOUTABOUT},
7679
{"policies", "chrome://browser/content/policies/aboutPolicies.html",
7780
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI},
7881
{"privatebrowsing", "chrome://browser/content/aboutPrivateBrowsing.html",

browser/components/about/components.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pages = [
1313
'logins',
1414
'loginsimportreport',
1515
'firefoxview',
16+
'firefoxview-next',
1617
'messagepreview',
1718
'newtab',
1819
'ion',
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
2+
- License, v. 2.0. If a copy of the MPL was not distributed with this
3+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
4+
5+
<!DOCTYPE html>
6+
<html>
7+
<head>
8+
<meta charset="utf-8">
9+
<meta http-equiv="Content-Security-Policy" content="default-src resource: chrome:; object-src 'none'; img-src data: chrome:;">
10+
<meta name="color-scheme" content="light dark">
11+
<title>Firefox View Next</title>
12+
</head>
13+
14+
<body>
15+
</body>
16+
</html>

browser/components/firefoxview/jar.mn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
browser.jar:
66
content/browser/firefoxview.html
7+
content/browser/firefoxview-next.html
78
content/browser/firefoxview.mjs
89
content/browser/firefoxview.css
910
content/browser/helpers.mjs

0 commit comments

Comments
 (0)