Bug 1253740 followup, placate eslint
☠☠ backed out by 796ad3765645 ☠ ☠
authorPhil Ringnalda <philringnalda@gmail.com>
Sat, 29 Oct 2016 20:50:58 -0700
changeset 320176 e8475fb54d7d81733d82738b541407fbb6dfaf3a
parent 320175 e239269e09007016aca9d9fed1007b67e3352ae6
child 320177 796ad37656451b7be62498a75723947223b5c38b
push id20751
push userphilringnalda@gmail.com
push dateSun, 30 Oct 2016 18:06:35 +0000
treeherderfx-team@e3279760cd97 [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);