Bug 1005057 - Switch to system frame inside get/set permission test methods
Merge pull request #21063 from zacc/bug_1005057_app_perms

LGTM, merging as the failure from Travis is unrelated to the changes.