mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 1039861: Remove the last bits of OS.File from apps code. r=fabrice
After this patch OS.File is not loaded in content processes anymore. --HG-- extra : rebase_source : 64d41fa57e1265dee501e7919eaea5d733320cad
This commit is contained in:
parent
00800495ae
commit
183cbcc619
@ -9,7 +9,6 @@ const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
const Cr = Components.results;
|
||||
|
||||
Cu.import("resource://gre/modules/osfile.jsm");
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/Promise.jsm");
|
||||
|
@ -6,9 +6,14 @@ const { classes: Cc, interfaces: Ci, results: Cr, utils: Cu, Constructor: CC } =
|
||||
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/FileUtils.jsm");
|
||||
Cu.import("resource://gre/modules/osfile.jsm");
|
||||
Cu.import("resource://gre/modules/Promise.jsm");
|
||||
|
||||
#ifndef MOZ_B2G
|
||||
#ifdef XP_MACOSX
|
||||
Cu.import("resource://gre/modules/osfile.jsm");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
this.EXPORTED_SYMBOLS = ["WebappOSUtils"];
|
||||
|
||||
// Returns the MD5 hash of a string.
|
||||
|
Loading…
x
Reference in New Issue
Block a user