Re: [screen-wake-lock] Distinguish exceptions on .request() (#352)

It's complicated, but see:
https://github.com/whatwg/webidl/issues/1024 (and https://github.com/whatwg/webidl/issues/1024#issuecomment-923743201 in particular)

> If there is concern about leaking sensitive information to script then I know Blink has a mechanism for providing sanitized and unsanitized error messages, the latter only being available on the Javascript console and not to script. I suspect this feature was inherited from WebKit.

No, it's not really about that... it's just about reducing differences between browsers (and also for i18n reasons, as described in the links).  



-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/issues/352#issuecomment-1266435838 using your GitHub account


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

Received on Tuesday, 4 October 2022 06:04:03 UTC