mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1410072 - browser/base/content/test/performance tests should not modify startupRecorder data in order to pass test-verify, r=johannh.
This commit is contained in:
parent
4b4ce8d720
commit
54388800fe
@ -153,7 +153,7 @@ add_task(async function() {
|
||||
|
||||
let loader = Cc["@mozilla.org/moz/jsloader;1"].getService(Ci.xpcIJSModuleLoader);
|
||||
let componentStacks = new Map();
|
||||
let data = startupRecorder.data.code;
|
||||
let data = Cu.cloneInto(startupRecorder.data.code, {});
|
||||
// Keep only the file name for components, as the path is an absolute file
|
||||
// URL rather than a resource:// URL like for modules.
|
||||
for (let phase in data) {
|
||||
|
@ -93,7 +93,7 @@ add_task(async function() {
|
||||
let startupRecorder = Cc["@mozilla.org/test/startuprecorder;1"].getService().wrappedJSObject;
|
||||
await startupRecorder.done;
|
||||
|
||||
let data = startupRecorder.data.images;
|
||||
let data = Cu.cloneInto(startupRecorder.data.images, {});
|
||||
let filteredWhitelist = whitelist.filter(el => {
|
||||
return el.platforms.includes(AppConstants.platform);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user