mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 886627 - Fix "ReferenceError: Ci is not defined" in test_dirs.html; r=bustage
This commit is contained in:
parent
364928bcf4
commit
44d56608f4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user