Bug 886627 - Fix "ReferenceError: Ci is not defined" in test_dirs.html; r=bustage

This commit is contained in:
Jim Chen 2014-07-24 17:29:24 -04:00
parent 364928bcf4
commit 44d56608f4

View File

@ -50,7 +50,7 @@ SpecialPowers.pushPrefEnv({
// Need special permission to access "apps". We always have the permission in B2G
// mochitests, but on other platforms, we need to manually add the permission.
if (!SpecialPowers.testPermission(
"webapps-manage", Ci.nsIPermissionManager.ALLOW_ACTION, document)) {
"webapps-manage", SpecialPowers.Ci.nsIPermissionManager.ALLOW_ACTION, document)) {
ok(!navigator.getDeviceStorage("apps"), "Should not have apps storage without permission");
SpecialPowers.addPermission("webapps-manage", true, document);
}