I have a modal dialog box in my application which uses getUserMedia
to display a video from the user's camera. This causes a "Deny/Allow" bar to appear. Let's say that the user closes the dialog before clicking "Deny" or "Allow". The bar remains, even though the elements that would be using it have disappeared.
Is there a way to notify the browser that it can hide the permission request even though the user never interacted with it?