Skip to content

Commit 32e408d

Browse files
committed
Bug 1776207: Part 2 - Don't load StartupRecorder in content processes. r=florian
It isn't actually used in content processes, and causes failures in non-Nightly/debug builds, where it isn't loaded. Differential Revision: https://phabricator.services.mozilla.com/D150192
1 parent 2895888 commit 32e408d

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

browser/base/content/test/performance/browser_startup_content.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const kDumpAllStacks = false;
2121
const known_scripts = {
2222
modules: new Set([
2323
"chrome://mochikit/content/ShutdownLeaksCollector.jsm",
24-
"resource:///modules/StartupRecorder.jsm",
2524

2625
// General utilities
2726
"resource://gre/modules/AppConstants.jsm",

browser/base/content/test/performance/browser_startup_content_subframe.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ const known_scripts = {
3636
// Loaded by this test
3737
actorModuleURI,
3838

39-
"resource:///modules/StartupRecorder.jsm",
40-
4139
// General utilities
4240
"resource://gre/modules/AppConstants.jsm",
4341
"resource://gre/modules/DeferredTask.jsm",

browser/components/components.conf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ if (buildconfig.substs.get('MOZ_DEBUG') or
6565
ProcessSelector.MAIN_PROCESS_ONLY,
6666
),
6767
},
68-
'content-process-ready-for-script': {
69-
'startupRecorder': (
70-
'@mozilla.org/test/startuprecorder;1',
71-
ProcessSelector.CONTENT_PROCESS_ONLY,
72-
),
73-
},
7468
}
7569

7670
Classes += [

0 commit comments

Comments
 (0)