Open Bug 1433202 Opened 8 years ago Updated 3 years ago

add tests for background device requests

Categories

(Firefox :: Site Permissions, enhancement, P3)

50 Branch
enhancement

Tracking

()

People

(Reporter: mixedpuppy, Unassigned)

References

(Blocks 1 open bug)

Details

Requests for device access from a background tab will be delayed until the tab is active (thus showing the permission prompt, or for persistent allow, sending the allow message). However there are no tests for this currently. We need to test background tab, active tab in background window, and hidden tab. I'm not entirely certain how to test that the prompt is not shown, other than having some timeout after which we check that the prompt/allow has not occurred.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.