[Basilisk] Issue MoonchildProductions/UXP#516 - Remove named function syntax from basilisk/components/migration.

This commit is contained in:
athenian200 2020-03-06 10:37:45 -06:00 • committed by Roy Tam
commit 0682c46bab
5 changed files with 30 additions and 30 deletions

View file

@ -167,7 +167,7 @@ ChromeProfileMigrator.prototype.getLastUsedDate =
};
Object.defineProperty(ChromeProfileMigrator.prototype, "sourceProfiles", {
get: function Chrome_sourceProfiles() {
get: function() {
if ("__sourceProfiles" in this)
return this.__sourceProfiles;
@ -220,7 +220,7 @@ Object.defineProperty(ChromeProfileMigrator.prototype, "sourceProfiles", {
});
Object.defineProperty(ChromeProfileMigrator.prototype, "sourceHomePageURL", {
get: function Chrome_sourceHomePageURL() {
get: function() {
let prefsFile = this._chromeUserDataFolder.clone();
prefsFile.append("Preferences");
if (prefsFile.exists()) {
@ -243,7 +243,7 @@ Object.defineProperty(ChromeProfileMigrator.prototype, "sourceHomePageURL", {
});
Object.defineProperty(ChromeProfileMigrator.prototype, "sourceLocked", {
get: function Chrome_sourceLocked() {
get: function() {
// There is an exclusive lock on some SQLite databases. Assume they are locked for now.
return true;
},