File tree Expand file tree Collapse file tree 9 files changed +78
-0
lines changed Expand file tree Collapse file tree 9 files changed +78
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ var gExceptionPaths = [
71
71
72
72
// Localization file added programatically in featureCallout.jsm
73
73
"resource://app/localization/en-US/browser/featureCallout.ftl" ,
74
+
75
+ // Temporary allowlist for shopping - we'll reference this soon.
76
+ "chrome://browser/content/shopping/shopping.html" ,
74
77
] ;
75
78
76
79
// These are not part of the omni.ja file, so we find them only when running
Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ DIRS += [
66
66
67
67
DIRS += ["build" ]
68
68
69
+ if CONFIG ["NIGHTLY_BUILD" ]:
70
+ DIRS += ["shopping" ]
71
+
69
72
70
73
if CONFIG ["MOZ_WIDGET_TOOLKIT" ] == "cocoa" :
71
74
DIRS += ["touchbar" ]
Original file line number Diff line number Diff line change
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
+ : root ,
6
+ body {
7
+ margin : 0 ;
8
+ padding : 0 ;
9
+ }
Original file line number Diff line number Diff line change
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
+ ### This file is not in a locales directory to prevent it from
6
+ ### being translated as the feature is still in heavy development
7
+ ### and strings are likely to change often.
8
+
9
+ shopping-page-title = { -brand-product-name } Shopping
Original file line number Diff line number Diff line change
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 file,
3
+ - You can obtain one at http://mozilla.org/MPL/2.0/. -->
4
+ <!DOCTYPE html>
5
+ < html xmlns ="http://www.w3.org/1999/xhtml " role ="document " id ="shopping ">
6
+ < head >
7
+ < meta charset ="utf-8 " />
8
+ < meta
9
+ http-equiv ="Content-Security-Policy "
10
+ content ="default-src resource: chrome:; object-src 'none'; img-src chrome:; "
11
+ />
12
+ < meta name ="color-scheme " content ="light dark " />
13
+ < link rel ="localization " href ="branding/brand.ftl " />
14
+ < link rel ="localization " href ="preview/shopping.ftl " />
15
+
16
+ < link rel ="stylesheet " href ="chrome://global/skin/in-content/common.css " />
17
+ < link
18
+ rel ="stylesheet "
19
+ href ="chrome://browser/content/shopping/shopping.css "
20
+ />
21
+
22
+ < script
23
+ type ="module "
24
+ src ="chrome://browser/content/shopping/shopping.mjs "
25
+ > </ script >
26
+ < title data-l10n-id ="shopping-page-title "> </ title >
27
+ </ head >
28
+ < body >
29
+ < div id ="content "> </ div >
30
+ </ body >
31
+ </ html >
Original file line number Diff line number Diff line change
1
+ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Original file line number Diff line number Diff line change
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
+ browser.jar:
6
+ content/browser/shopping/shopping.html (content/shopping.html)
7
+ content/browser/shopping/shopping.css (content/shopping.css)
8
+ content/browser/shopping/shopping.mjs (content/shopping.mjs)
Original file line number Diff line number Diff line change
1
+ # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2
+ # vim: set filetype=python:
3
+ # This Source Code Form is subject to the terms of the Mozilla Public
4
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+
7
+ JAR_MANIFESTS += ["jar.mn" ]
8
+
9
+ with Files ("**" ):
10
+ BUG_COMPONENT = ("Firefox" , "Shopping" )
Original file line number Diff line number Diff line change 12
12
preview/protections.ftl (../components/protections/content/protections.ftl)
13
13
preview/interventions.ftl (../components/urlbar/content/interventions.ftl)
14
14
preview/firefoxSuggest.ftl (../components/urlbar/content/firefoxSuggest.ftl)
15
+ preview/shopping.ftl (../components/shopping/content/shopping.ftl)
15
16
preview/stripOnShare.ftl (../components/urlbar/content/stripOnShare.ftl)
16
17
browser (%browser/**/*.ftl)
17
18
You can’t perform that action at this time.
0 commit comments