Bug 1764092 - Relocate AsanReporter.jsm to /toolkit. r=decoder

Differential Revision: https://phabricator.services.mozilla.com/D143382
This commit is contained in:
Rob Lemley
2022-04-12 21:27:47 +00:00
parent 18d082be97
commit a23e8b969f
4 changed files with 9 additions and 9 deletions

View File

@@ -2282,7 +2282,7 @@ BrowserGlue.prototype = {
if (AppConstants.ASAN_REPORTER) {
var { AsanReporter } = ChromeUtils.import(
"resource:///modules/AsanReporter.jsm"
"resource://gre/modules/AsanReporter.jsm"
);
AsanReporter.init();
}

View File

@@ -40,9 +40,6 @@ with Files("test/unit/test_SitePermissions.js"):
with Files("AboutNewTab.jsm"):
BUG_COMPONENT = ("Firefox", "New Tab Page")
with Files("AsanReporter.jsm"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("AsyncTabSwitcher.jsm"):
BUG_COMPONENT = ("Firefox", "Tabbed Browser")
@@ -152,11 +149,6 @@ EXTRA_JS_MODULES += [
"ZoomUI.jsm",
]
if CONFIG["MOZ_ASAN_REPORTER"]:
EXTRA_JS_MODULES += [
"AsanReporter.jsm",
]
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
EXTRA_JS_MODULES += [
"WindowsJumpLists.jsm",

View File

@@ -48,6 +48,9 @@ with Files("tests/xpcshell/test_UpdateUtils*.js"):
with Files("AsyncPrefs.jsm"):
BUG_COMPONENT = ("Core", "Security: Process Sandboxing")
with Files("AsanReporter.jsm"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("Color.jsm"):
BUG_COMPONENT = ("Toolkit", "Find Toolbar")
@@ -216,6 +219,11 @@ EXTRA_JS_MODULES += [
"WebChannel.jsm",
]
if CONFIG["MOZ_ASAN_REPORTER"]:
EXTRA_JS_MODULES += [
"AsanReporter.jsm",
]
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
EXTRA_JS_MODULES += [
"PropertyListUtils.jsm",