mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 909511 - ""toString" is read-only" in errors in osfile_unix_allthreads.jsm r=ferjm
This commit is contained in:
parent
79a6e6f196
commit
910623a194
@ -21,6 +21,7 @@ Cu.import("resource://gre/modules/OfflineCacheInstaller.jsm");
|
||||
Cu.import("resource://gre/modules/SystemMessagePermissionsChecker.jsm");
|
||||
Cu.import("resource://gre/modules/AppDownloadManager.jsm");
|
||||
Cu.import("resource://gre/modules/WebappOSUtils.jsm");
|
||||
Cu.import("resource://gre/modules/osfile.jsm");
|
||||
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
XPCOMUtils.defineLazyGetter(this, "libcutils", function() {
|
||||
@ -1327,7 +1328,6 @@ this.DOMApplicationRegistry = {
|
||||
|
||||
// Returns the MD5 hash of a file, doing async IO off the main thread.
|
||||
computeFileHash: function computeFileHash(aFile, aCallback) {
|
||||
Cu.import("resource://gre/modules/osfile.jsm");
|
||||
const CHUNK_SIZE = 16384;
|
||||
|
||||
// Return the two-digit hexadecimal code for a byte.
|
||||
|
Loading…
Reference in New Issue
Block a user