B2G/gecko/dom/tests/browser/browser_webapps_permissions.js
// test to make sure all permissions have been removed
test to make sure all permissions have been removed
test to make sure all permissions have been removed
function testPerm(aPerm, aAccess)
          {
            var res =
              navMozPerms.get(aPerm, TEST_MANIFEST_URL, TEST_ORIGIN_URL, false);
            is(res, aAccess, "uninstall: " + aPerm + " is " + res);
          }
function testPerm ( aPerm , aAccess ) { var res = navMozPerms . get ( aPerm , TEST_MANIFEST_URL , TEST_ORIGIN_URL , false ) ; is ( res , aAccess , "uninstall: " + aPerm + " is " + res ) ; }
test to make sure all permissions have been removed
test to make sure all permissions have been removed