author | Georg Fritzsche <georg.fritzsche@googlemail.com> |
Thu, 14 Jan 2016 20:15:22 +0100 | |
changeset 280130 | e85f6b71697d54227b297edb42f47b1648e5b1e6 |
parent 280129 | 18cbd790875ff7b6fd5ed221a457c31d543d25ed |
child 280131 | 06337186cd73e0a3f4ba93d0799e202afbc3f562 |
push id | 70334 |
push user | cbook@mozilla.com |
push date | Fri, 15 Jan 2016 10:48:53 +0000 |
treeherder | mozilla-inbound@de9a0fc7828d [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | gijs |
bugs | 1239753 |
milestone | 46.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
browser/components/migration/FirefoxProfileMigrator.js | file | annotate | diff | comparison | revisions |
--- a/browser/components/migration/FirefoxProfileMigrator.js +++ b/browser/components/migration/FirefoxProfileMigrator.js @@ -56,17 +56,17 @@ FirefoxProfileMigrator.prototype._getAll }; function sorter(a, b) { return a.id.toLocaleLowerCase().localeCompare(b.id.toLocaleLowerCase()); } Object.defineProperty(FirefoxProfileMigrator.prototype, "sourceProfiles", { get: function() { - return this._getAllProfiles().keys().map(x => ({id: x, name: x})).sort(sorter); + return [...this._getAllProfiles().keys()].map(x => ({id: x, name: x})).sort(sorter); } }); FirefoxProfileMigrator.prototype._getFileObject = function(dir, fileName) { let file = dir.clone(); file.append(fileName); // File resources are monolithic. We don't make partial copies since