author | Jim Chen <nchen@mozilla.com> |
Wed, 17 Sep 2014 12:59:21 -0400 | |
changeset 205878 | 33bef5d1f9bb63b7ec5fabf032f5377ee86f3013 |
parent 205877 | 92ffb3d125f68228655fee53f62e8f1ab12ba367 |
child 205879 | 69858bc21e7cde39be9d7bb9a1d43191b1f55d90 |
push id | 27507 |
push user | ryanvm@gmail.com |
push date | Thu, 18 Sep 2014 02:16:54 +0000 |
treeherder | mozilla-central@488d490da742 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | trivial |
bugs | 1067453 |
milestone | 35.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
|
--- 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);