Bug 1153900 - add fixes to tests for aurora, rs=me, a=RyanVM
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 17 Apr 2015 19:23:15 +0100
changeset 258523 b158e9bdd8a0
parent 258522 6a5c3aa5b912
child 258524 86d3b1103197
push id4687
push userryanvm@gmail.com
push date2015-04-17 18:34 +0000
treeherdermozilla-beta@b158e9bdd8a0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, RyanVM
bugs1153900
milestone38.0
Bug 1153900 - add fixes to tests for aurora, rs=me, a=RyanVM
browser/components/migration/tests/unit/test_IE_bookmarks.js
browser/components/migration/tests/unit/test_IE_cookies.js
--- a/browser/components/migration/tests/unit/test_IE_bookmarks.js
+++ b/browser/components/migration/tests/unit/test_IE_bookmarks.js
@@ -29,8 +29,13 @@ add_task(function* () {
     onItemMoved() {},
   }, false);
 
   yield promiseMigration(migrator, MigrationUtils.resourceTypes.BOOKMARKS);
 
   // Check the bookmarks have been imported to all the expected parents.
   Assert.equal(expectedParents.length, 0);
 });
+
+function run_test() {
+  run_next_test()
+}
+
--- a/browser/components/migration/tests/unit/test_IE_cookies.js
+++ b/browser/components/migration/tests/unit/test_IE_cookies.js
@@ -60,8 +60,13 @@ add_task(function* () {
   Assert.ok(enumerator.hasMoreElements());
   let foundCookie = enumerator.getNext().QueryInterface(Ci.nsICookie2);
 
   Assert.equal(foundCookie.name, COOKIE.name);
   Assert.equal(foundCookie.value, COOKIE.value);
   Assert.equal(foundCookie.host, "." + COOKIE.host);
   Assert.equal(foundCookie.expiry, Math.floor(COOKIE.expiry / 1000));
 });
+
+function run_test() {
+  run_next_test()
+}
+