chromium / permission.site

A site to test the interaction of web APIs and browser permissions.
https://permission.site/
BSD 3-Clause "New" or "Revised" License
1.18k stars 116 forks source link

Color fullscreen, pointer, and keyboard lock buttons #114

Closed michaelwasserman closed 8 months ago

michaelwasserman commented 9 months ago

Support toggling and display outcomes for Fullscreen, Pointer Lock, and Keyboard Lock API calls and events. Add and refine use of prefixed identifiers; avoid requestFullScreen per crbug.com/1511367 Manually tested fairly thoroughly on Chrome 120.0.6099.71 and Firefox 115.5.0esr. Feel free to test at https://michaelwasserman.github.io/permission.site/

michaelwasserman commented 9 months ago

Hey @engedy can you please take a look? Thanks!

michaelwasserman commented 8 months ago

Friendly ping, @engedy!

michaelwasserman commented 8 months ago

I wonder if we can (or need to) add some feature detection code to make this more robust going forward?

Do you mean preemptively mark unsupported buttons red, or just check more support signals before invoking on click?