- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 22 Sep 2021 23:37:01 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 September 2021 06:37:13 UTC
@annevk wrote:
> And leave localization to the developer console messages (which could be different and sometimes better, depending).
I think this gets to the core of the problem and perhaps we should move to standardize `.message` in future specs. At the same time, complementing this with console-only localization.
Imagine:
```JS
try {
navigator.thingThatThrows();
} catch (err) {
// Private message in my native language that JS can't access
// and only shows up in the browser console.
console.localized(err);
}
```
That would be very nice.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/1024#issuecomment-925540899
Received on Thursday, 23 September 2021 06:37:13 UTC