summaryrefslogtreecommitdiffstats
path: root/browser/components/profiles
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /browser/components/profiles
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/profiles')
-rw-r--r--browser/components/profiles/ProfilesChild.sys.mjs5
-rw-r--r--browser/components/profiles/ProfilesParent.sys.mjs5
-rw-r--r--browser/components/profiles/content/profiles.ftl16
-rw-r--r--browser/components/profiles/content/profiles.html20
-rw-r--r--browser/components/profiles/jar.mn6
-rw-r--r--browser/components/profiles/moz.build15
6 files changed, 67 insertions, 0 deletions
diff --git a/browser/components/profiles/ProfilesChild.sys.mjs b/browser/components/profiles/ProfilesChild.sys.mjs
new file mode 100644
index 0000000000..5ea9ceaa27
--- /dev/null
+++ b/browser/components/profiles/ProfilesChild.sys.mjs
@@ -0,0 +1,5 @@
+/* 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/. */
+
+export class ProfilesChild extends JSWindowActorParent {}
diff --git a/browser/components/profiles/ProfilesParent.sys.mjs b/browser/components/profiles/ProfilesParent.sys.mjs
new file mode 100644
index 0000000000..4e2e094ff3
--- /dev/null
+++ b/browser/components/profiles/ProfilesParent.sys.mjs
@@ -0,0 +1,5 @@
+/* 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/. */
+
+export class ProfilesParent extends JSWindowActorParent {}
diff --git a/browser/components/profiles/content/profiles.ftl b/browser/components/profiles/content/profiles.ftl
new file mode 100644
index 0000000000..0bd05a9208
--- /dev/null
+++ b/browser/components/profiles/content/profiles.ftl
@@ -0,0 +1,16 @@
+# 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/.
+
+appmenu-manage-profiles =
+ .label = Manage profiles
+appmenu-create-profile =
+ .label = Create a new profile
+
+## Variables
+## $profilename (String) - The name of the profile.
+
+appmenuitem-profiles =
+ .label = Profiles | { $profilename }
+appmenu-close-profile =
+ .label = Close { $profilename } profile
diff --git a/browser/components/profiles/content/profiles.html b/browser/components/profiles/content/profiles.html
new file mode 100644
index 0000000000..3151a24366
--- /dev/null
+++ b/browser/components/profiles/content/profiles.html
@@ -0,0 +1,20 @@
+<!-- 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/. -->
+<!DOCTYPE html>
+<html
+ xmlns="http://www.w3.org/1999/xhtml"
+ role="document"
+ class="system-font-size"
+>
+ <head>
+ <meta charset="utf-8" />
+ <meta
+ http-equiv="Content-Security-Policy"
+ content="default-src resource: chrome:; object-src 'none'; img-src chrome:;"
+ />
+ </head>
+ <body>
+ <h1>Hello world - New Profiles</h1>
+ </body>
+</html>
diff --git a/browser/components/profiles/jar.mn b/browser/components/profiles/jar.mn
new file mode 100644
index 0000000000..3cec31e462
--- /dev/null
+++ b/browser/components/profiles/jar.mn
@@ -0,0 +1,6 @@
+# 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/.
+
+browser.jar:
+ content/browser/profiles/profiles.html (content/profiles.html)
diff --git a/browser/components/profiles/moz.build b/browser/components/profiles/moz.build
new file mode 100644
index 0000000000..8e9e82db2c
--- /dev/null
+++ b/browser/components/profiles/moz.build
@@ -0,0 +1,15 @@
+# -*- 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/.
+
+JAR_MANIFESTS += ["jar.mn"]
+
+FINAL_TARGET_FILES.actors += [
+ "ProfilesChild.sys.mjs",
+ "ProfilesParent.sys.mjs",
+]
+
+with Files("**"):
+ BUG_COMPONENT = ("Firefox", "Profiles")