It's not check from settings but send a query to gecko PermissionSettingsAPI to check if the app has the permission or not. In other word, once the test app is closed, the result won't (and shouldn't) be saved in settings.