зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1368771 - Added a test which verifies that on macOS /Volumes isn't readable at sandbox level 3 r=haik
r?haik MozReview-Commit-ID: HPW4luz5n0M --HG-- extra : rebase_source : c224b56de4b705758e2ab7820af02a4ef41d4040
This commit is contained in:
Родитель
10f02b0e9a
Коммит
1532472698
|
@ -380,6 +380,16 @@ function* testFileAccess() {
|
|||
minLevel: 0,
|
||||
});
|
||||
}
|
||||
|
||||
// Test that we cannot read from /Volumes at level 3
|
||||
let volumes = GetDir("/Volumes");
|
||||
tests.push({
|
||||
desc: "/Volumes",
|
||||
ok: false,
|
||||
browser: webBrowser,
|
||||
file: volumes,
|
||||
minLevel: minHomeReadSandboxLevel(),
|
||||
});
|
||||
}
|
||||
|
||||
let extensionsDir = GetProfileEntry("extensions");
|
||||
|
|
Загрузка…
Ссылка в новой задаче