Bug 882495 - Get window for permission prompt by outer window ID instead of most recent window. r=gwagner

--HG--
extra : rebase_source : a9ac7ca43e77a0144005fb68a67aa653598378cb