W3C home > Mailing lists > Public > public-device-apis-log@w3.org > October 2022

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

From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
Date: Tue, 04 Oct 2022 06:04:01 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-1266435838-1664863439-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 4 October 2022 06:04:03 UTC