Bug 886627 - Fix "ReferenceError: Ci is not defined" in test_dirs.html; r=bustage
authorJim Chen <nchen@mozilla.com>
Thu, 24 Jul 2014 17:29:24 -0400
changeset 217696 0898c6f3e6dceab327193a27e55b6101e7c3bc43
parent 217695 cab972b600289cca5cc7c9b8c34ab38f674c2c74
child 217697 c5feae4f583bd80a5d7cc0be7308033a16faefa9
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs886627
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 886627 - Fix "ReferenceError: Ci is not defined" in test_dirs.html; r=bustage
dom/devicestorage/test/test_dirs.html
--- a/dom/devicestorage/test/test_dirs.html
+++ b/dom/devicestorage/test/test_dirs.html
@@ -45,17 +45,17 @@ SpecialPowers.pushPrefEnv({
 
   ok(navigator.getDeviceStorage("pictures"), "Should have pictures storage");
   ok(navigator.getDeviceStorage("videos"), "Should have videos storage");
   ok(navigator.getDeviceStorage("music"), "Should have music storage");
 
   // 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);
   }
   ok(navigator.getDeviceStorage("apps"), "Should have apps storage with permission");
 
   ok(navigator.getDeviceStorage("sdcard"), "Should have sdcard storage");
   ok(navigator.getDeviceStorage("crashes"), "Should have crashes storage");