Bug 1253740 followup, placate eslint
☠☠ backed out by 796ad3765645 ☠ ☠
authorPhil Ringnalda <philringnalda@gmail.com>
Sat, 29 Oct 2016 20:50:58 -0700
changeset 346869 e8475fb54d7d81733d82738b541407fbb6dfaf3a
parent 346868 e239269e09007016aca9d9fed1007b67e3352ae6
child 346870 796ad37656451b7be62498a75723947223b5c38b
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1253740
milestone52.0a1
Bug 1253740 followup, placate eslint
toolkit/components/extensions/test/xpcshell/test_ext_storage.js
--- a/toolkit/components/extensions/test/xpcshell/test_ext_storage.js
+++ b/toolkit/components/extensions/test/xpcshell/test_ext_storage.js
@@ -150,17 +150,17 @@ add_task(function* test_reloading_extens
 do_register_cleanup(() => {
   Preferences.reset(STORAGE_SYNC_PREF);
 });
 
 add_task(function* test_backgroundScript() {
   function backgroundScript(checkGet) {
     let globalChanges, gResolve;
     function clearGlobalChanges() {
-      globalChanges = new Promise(resolve => gResolve = resolve);
+      globalChanges = new Promise(resolve => { gResolve = resolve; });
     }
     clearGlobalChanges();
     let expectedAreaName;
 
     browser.storage.onChanged.addListener((changes, areaName) => {
       browser.test.assertEq(expectedAreaName, areaName,
         "Expected area name received by listener");
       gResolve(changes);