From 022768cb2abe2bf8b1a3d1c9324f8257e26ddf7e Mon Sep 17 00:00:00 2001 From: Robert Strong Date: Wed, 7 Mar 2018 14:12:22 -0800 Subject: [PATCH] bug 1443935 - make it so browser_updatesCantApply.js test passes when it is run with the ability to elevate. r=mhowell Locks the file in the updates directory instead of the file in the app directory. --- .../mozapps/update/tests/browser/browser_updatesCantApply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/mozapps/update/tests/browser/browser_updatesCantApply.js b/toolkit/mozapps/update/tests/browser/browser_updatesCantApply.js index b33de42baad2..6852cd49ba8d 100644 --- a/toolkit/mozapps/update/tests/browser/browser_updatesCantApply.js +++ b/toolkit/mozapps/update/tests/browser/browser_updatesCantApply.js @@ -24,7 +24,7 @@ add_task(async function testBasicPrompt() { }); function getWriteTestFile() { - let file = getAppBaseDir(); + let file = getUpdatesRootDir(); file.append(FILE_UPDATE_TEST); file.QueryInterface(Ci.nsILocalFileWin); if (file.exists()) {