Ticket 0002 fox 2026-06-08: even with the saved permission removed
AND a bare {video:true} retry, Firefox-on-Fedora returns
NotAllowedError instantly with no prompt. Webcamtests.com works on
the same Firefox session — so the defect is specific to our origin's
runtime state, not the browser or hardware.
Need to distinguish (a) Permissions API state=denied vs prompt vs
granted (b) hidden document vs active (c) user activation
inactive vs active. Each picks a different fix branch — (a) saved
block or about:config pref, (b) bfcache / non-active document,
(c) gesture propagation lost between click and getUserMedia.
Add a permission probe in the catch (runs AFTER getUserMedia
returned so it doesn't burn transient activation needed for a
retry). Logs:
camera permission probe: state=<perm> vis=<vis> activation=<act>
state = navigator.permissions.query({name:'camera'}).state
vis = document.visibilityState
act = navigator.userActivation isActive + hasBeenActive
Next click on blanka's firefox surfaces all three at once.
|
||
|---|---|---|
| .. | ||
| blog | ||
| fonts | ||
| chat.html | ||
| host-your-own.html | ||
| how-it-works.html | ||
| index.html | ||
| kernel.html | ||
| stamp.js | ||
| zebra-audio.html | ||
| zebra-spaces.html | ||