Bug 1037030 - fix multiple prompt race r=alive
Merge pull request #21709 from fabricedesre/perm-prompt

Bug 1037030 - fix multiple prompt race r=alive