Re: [mediacapture-screen-share] Distinguish cancellations from absent OS permissions (#281)

Looking at https://wicg.github.io/serial/, it seems like you could also create your own DOMException like `"MissingOperatingSystemPermissionError"` for instance. This is done for `"BreakError"`,`"FramingError"`, and `"ParityError"` in this spec.

https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/bindings/exception_code.h;l=107;drc=b74163d3d63e781ce9899ec6a4e5a7c113d960b9 suggests they are more specs defining their own DOMExceptions.




-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/281#issuecomment-1729179063 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 21 September 2023 09:15:08 UTC