Revision 67:0225d11a50b4 src/pithos/content/operations.js
b/src/pithos/content/operations.js | ||
---|---|---|
137 | 137 |
var source_file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile); |
138 | 138 |
source_file.initWithPath(source); |
139 | 139 |
|
140 |
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect'); |
|
140 | 141 |
var destination_file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile); |
141 | 142 |
destination_file.initWithPath(destination); |
142 | 143 |
|
... | ... | |
190 | 191 |
var source_file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile); |
191 | 192 |
source_file.initWithPath(source); |
192 | 193 |
|
194 |
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect'); |
|
193 | 195 |
var destination_file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile); |
194 | 196 |
destination_file.initWithPath(destination); |
195 | 197 |
|
Also available in: Unified diff