Bug 1062114: double-check that we're still hidden before exiting
Merge pull request #25239 from davidflanagan/bug1062114

Bug 1062114: double-check that we're still hidden before exiting r=pdahiya