Changeset 1106

Show
Ignore:
Timestamp:
2008-09-23 22:18:23 (2 months ago)
Author:
MaierMan
Message:

Better not clone this, or else in some instances we might try to allocate the file more than once.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/dta/manager.js

    r1097 r1106  
    3939const NS_DTA = 'http://www.downthemall.net/properties#'; 
    4040const NS_METALINKER = 'http://www.metalinker.org/'; 
     41const NS_HTML = 'http://www.w3.org/1999/xhtml'; 
    4142  
    4243  
     
    19441945        open: function CH_open() { 
    19451946                this._sessionBytes = 0; 
    1946                 let file = this.parent.tmpFile.clone()
     1947                let file = this.parent.tmpFile
    19471948                if (!file.parent.exists()) { 
    19481949                        file.parent.create(Ci.nsIFile.DIRECTORY_TYPE, Prefs.dirPermissions);