forked from mirrors/gecko-dev
Bug 1753369 - Use sync PathUtils directory getters on mainthread in uriloader/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140144
This commit is contained in:
parent
91646903d3
commit
f3b8dc0cab
1 changed files with 2 additions and 3 deletions
|
|
@ -279,9 +279,8 @@ function setupMailHandler() {
|
|||
let gDownloadDir;
|
||||
|
||||
async function setDownloadDir() {
|
||||
let tmpDir = await PathUtils.getTempDir();
|
||||
tmpDir = PathUtils.join(
|
||||
tmpDir,
|
||||
let tmpDir = PathUtils.join(
|
||||
PathUtils.tempDir,
|
||||
"testsavedir" + Math.floor(Math.random() * 2 ** 32)
|
||||
);
|
||||
// Create this dir if it doesn't exist (ignores existing dirs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue