- From: Dominique Hazael-Massieux <notifications@github.com>
- Date: Thu, 02 Dec 2021 02:18:38 -0800
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 December 2021 10:18:50 UTC
since this didn't include `getUserMedia`, I ran my own check in webref (in ed/links): ```sh for i in `grep -l '"allowed-to-use"' *` ; do jq '.spec.url' $i|grep -v wicg ; done ``` This adds in the Promise rejection category: * [MediaDevices#getUserMedia()](https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediadevices-getusermedia) (`NotAllowedError` - although it can throw an `InvalidStateError` if the tab is not fully active and focused) * [MediaDevices#getDisplayMedia()](https://w3c.github.io/mediacapture-screen-share/#dom-mediadevices-getdisplaymedia) (`NotAllowedError` - although it can throw an `InvalidStateError` due to transient activation check) And in the Exception category: * [ML.createContext()](https://webmachinelearning.github.io/webnn/#dom-ml-createcontext) (`SecurityError`) (not shipped anywhere yet though) There are 8 WICG specs that links to "allowed to use": * https://wicg.github.io/conversion-measurement-api/ * https://wicg.github.io/floc/ * https://wicg.github.io/idle-detection/ * https://wicg.github.io/keyboard-map/ * https://wicg.github.io/page-lifecycle/ * https://wicg.github.io/serial/ * https://wicg.github.io/webhid/ * https://wicg.github.io/web-otp/ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1066#issuecomment-984487887
Received on Thursday, 2 December 2021 10:18:50 UTC