Backed out changeset 498c23b2d670 (bug 1883143) for causing failures in nsContentSecurityUtils.cpp CLOSED TREE

This commit is contained in:
Cristian Tuns 2024-03-05 13:19:07 -05:00
Родитель 3ea845929a
Коммит 912388edd2
11 изменённых файлов: 0 добавлений и 68 удалений

Просмотреть файл

@ -3024,6 +3024,3 @@ pref("browser.mailto.dualPrompt.os", false);
pref("browser.mailto.prompt.os", true);
pref("browser.backup.enabled", false);
// Pref to enable the new profiles
pref("browser.profiles.enabled", false);

Просмотреть файл

@ -717,7 +717,6 @@ var gInitialPages = [
"about:welcome",
"about:welcomeback",
"chrome://browser/content/blanktab.html",
"about:profilemanager",
];
function isInitialPage(url) {

Просмотреть файл

@ -674,17 +674,6 @@ let JSWINDOWACTORS = {
allFrames: true,
},
Profiles: {
parent: {
esModuleURI: "resource:///actors/ProfilesParent.sys.mjs",
},
child: {
esModuleURI: "resource:///actors/ProfilesChild.sys.mjs",
},
matches: ["about:profilemanager"],
enablePreference: "browser.profiles.enabled",
},
Prompt: {
parent: {
esModuleURI: "resource:///actors/PromptParent.sys.mjs",

Просмотреть файл

@ -163,10 +163,6 @@ static const RedirEntry kRedirMap[] = {
{"ion", "chrome://browser/content/ion.html",
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT |
nsIAboutModule::IS_SECURE_CHROME_UI},
{"profilemanager", "chrome://browser/content/profiles/profiles.html",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |
nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS},
};
static nsAutoCString GetAboutModuleName(nsIURI* aURI) {

Просмотреть файл

@ -25,7 +25,6 @@ pages = [
'preferences',
'privatebrowsing',
'protections',
'profilemanager',
'profiling',
'reader',
'restartrequired',

Просмотреть файл

@ -51,7 +51,6 @@ DIRS += [
"pocket",
"preferences",
"privatebrowsing",
"profiles",
"prompts",
"protections",
"protocolhandler",

Просмотреть файл

@ -1,5 +0,0 @@
/* 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 {}

Просмотреть файл

@ -1,5 +0,0 @@
/* 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 {}

Просмотреть файл

@ -1,16 +0,0 @@
<!-- 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" />
</head>
<body>
<h1>Hello world - New Profiles</h1>
</body>
</html>

Просмотреть файл

@ -1,6 +0,0 @@
# 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)

Просмотреть файл

@ -1,15 +0,0 @@
# -*- 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")