2 // simple test to confirm we have chrome privileges
3 let hasPrivileges = true;
5 // this will throw an exception if we are not running with privileges
7 // eslint-disable-next-line no-unused-vars, mozilla/use-services
8 var prefs = Cc["@mozilla.org/preferences-service;1"].getService(
12 hasPrivileges = false;
15 // if we get here, we must have chrome privileges
16 ok(hasPrivileges, "running with chrome privileges");