From c23ec61e1f50e8fa84dd543c5e25f4c4beeb6716 Mon Sep 17 00:00:00 2001 From: Mantaroh Yoshinaga Date: Fri, 16 Oct 2015 00:59:00 +0200 Subject: [PATCH] Bug 1215429 - Add import statement in order to access file object in chrome code of TVSimulatorService. r=seanlin --HG-- extra : rebase_source : 4c9cb9d3396f4b82df183f172dfa21474ceb7ae0 --- dom/tv/TVSimulatorService.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dom/tv/TVSimulatorService.js b/dom/tv/TVSimulatorService.js index 5efa87f4b6a2..0f79c3e01c4e 100644 --- a/dom/tv/TVSimulatorService.js +++ b/dom/tv/TVSimulatorService.js @@ -11,6 +11,9 @@ const Cc = Components.classes; const Cu = Components.utils; const Ci = Components.interfaces; const Cr = Components.returnCode; + +Cu.importGlobalProperties(["File"]); + const TV_SIMULATOR_DUMMY_DIRECTORY = "dummy"; const TV_SIMULATOR_DUMMY_FILE = "settings.json";