Bug 1634719: Drop the broken extraProps argument to newAppInfo. r=mixedpuppy

Differential Revision: https://phabricator.services.mozilla.com/D73469
This commit is contained in:
Dave Townsend 2020-05-14 20:34:28 +00:00
parent 5747ae4098
commit e5989d6961
2 changed files with 0 additions and 10 deletions

View File

@ -29,11 +29,8 @@ let origRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(
* lastAppVersion: nsIXULRuntime.lastAppVersion
*
* crashReporter: nsICrashReporter interface is implemented if true
* extraProps: extra properties added to XULAppInfo
*/
var newAppInfo = function(options = {}) {
let extraProps = "extraProps" in options ? options.extraProps : {};
let appInfo = {
// nsIXULAppInfo
vendor: "Mozilla",
@ -79,10 +76,6 @@ var newAppInfo = function(options = {}) {
interfaces.push(Ci.nsICrashReporter);
}
for (let key of Object.keys(extraProps)) {
appInfo.browserTabsRemoteAutostart = extraProps[key];
}
appInfo.QueryInterface = ChromeUtils.generateQI(interfaces);
return appInfo;

View File

@ -686,9 +686,6 @@ var AddonTestUtils = {
version,
platformVersion,
crashReporter: true,
extraProps: {
browserTabsRemoteAutostart: false,
},
});
this.appInfo = AppInfo.getAppInfo();
},