Bug 1026424 - Remove frame switching in gallery app tests where possible
Merge pull request #20669 from zacc/bug_1026424_gallery

Bug 1026424 - Remove frame switching in gallery app tests where possible