Bug 982839 - Write a test to protect against the regression seen in bug ...

...981804 (navigate out of fullscreen video)
you interact with the permission dialog 
This is why you lost the frame