]> git.gir.st - VimFx.git/commit
fix sandbox detection
authorgirst <girst@users.noreply.github.com>
Fri, 9 Jun 2023 14:10:45 +0000 (16:10 +0200)
committergirst <girst@users.noreply.github.com>
Fri, 9 Jun 2023 16:40:29 +0000 (18:40 +0200)
commitbca2aee38bfe9c38be6e3c4588d619d479dbb524
treec8df73b9e11e0a57222f7893df16f47a39756d9c
parent9ccfe9f62e69129c41b06c85a3998f70b5c82688
fix sandbox detection

this was backwads. filesystem reads are blocked on level 3 or above.

also renaming this function to better capture what it does (returns true
if sandbox likely prevents config file access).

see also: https://wiki.mozilla.org/Security/Sandbox#Linux
https://searchfox.org/mozilla-central/search?q=security.sandbox.content.level&path=browser%2Fapp%2Fprofile%2Ffirefox.js
extension/lib/config.coffee
Imprint / Impressum