Bug 1261188 - remove edge data migrator assertion r?Gijs draft
authorRob Thijssen <rthijssen@mozilla.com>
Fri, 27 Jan 2017 12:30:10 +0000
changeset 467254 112aeb0d9ff4ed7fb4bcaccf6cf66d10bceb9371
parent 467253 820f774b92169b2ce9e67b2d140d48ff89a87bd8
child 467255 fe9a1f563b1dce6c4de112ee84dea601c1552faf
push id43126
push userrthijssen@mozilla.com
push dateFri, 27 Jan 2017 12:33:00 +0000
reviewersGijs
bugs1261188
milestone53.0a1
Bug 1261188 - remove edge data migrator assertion r?Gijs MozReview-Commit-ID: 1AlRz0kn3X6
browser/components/migration/tests/unit/test_Edge_availability.js
--- a/browser/components/migration/tests/unit/test_Edge_availability.js
+++ b/browser/components/migration/tests/unit/test_Edge_availability.js
@@ -1,20 +1,9 @@
 "use strict";
 
-const EDGE_AVAILABLE_MIGRATIONS =
-  MigrationUtils.resourceTypes.COOKIES |
-  MigrationUtils.resourceTypes.BOOKMARKS |
-  MigrationUtils.resourceTypes.HISTORY |
-  MigrationUtils.resourceTypes.PASSWORDS;
-
 add_task(function* () {
   let migrator = MigrationUtils.getMigrator("edge");
   Cu.import("resource://gre/modules/AppConstants.jsm");
   Assert.equal(!!(migrator && migrator.sourceExists), AppConstants.isPlatformAndVersionAtLeast("win", "10"),
                "Edge should be available for migration if and only if we're on Win 10+");
-  if (migrator) {
-    let migratableData = migrator.getMigrateData(null, false);
-    Assert.equal(migratableData, EDGE_AVAILABLE_MIGRATIONS,
-                 "All the data types we expect should be available");
-  }
 });