Bug 1067453 - Fix typo in testRestrictedProfiles.js; r=trivial
authorJim Chen <nchen@mozilla.com>
Wed, 17 Sep 2014 12:59:21 -0400
changeset 205878 33bef5d1f9bb63b7ec5fabf032f5377ee86f3013
parent 205877 92ffb3d125f68228655fee53f62e8f1ab12ba367
child 205879 69858bc21e7cde39be9d7bb9a1d43191b1f55d90
push id27507
push userryanvm@gmail.com
push dateThu, 18 Sep 2014 02:16:54 +0000
treeherdermozilla-central@488d490da742 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstrivial
bugs1067453
milestone35.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 1067453 - Fix typo in testRestrictedProfiles.js; r=trivial
mobile/android/base/tests/testRestrictedProfiles.js
--- a/mobile/android/base/tests/testRestrictedProfiles.js
+++ b/mobile/android/base/tests/testRestrictedProfiles.js
@@ -33,17 +33,17 @@ add_task(function test_isUserRestricted(
 add_task(function test_getUserRestrictions() {
   // In an admin profile, like the tests: {}
   // In a restricted profile: {"no_modify_accounts":true,"no_share_location":true}
   let restrictions = "{}";
 
   var jenv = null;
   try {
     jenv = JNI.GetForThread();
-    var profile = JNI.LoadClass(jenv, "org.mozilla.gecko.RestrictedProfile", {
+    var profile = JNI.LoadClass(jenv, "org.mozilla.gecko.RestrictedProfiles", {
       static_methods: [
         { name: "getUserRestrictions", sig: "()Ljava/lang/String;" },
       ],
     });
     restrictions = JNI.ReadString(jenv, profile.getUserRestrictions());
   } finally {
     if (jenv) {
       JNI.UnloadClasses(jenv);