[heycam/webidl] Exception message does not supply language or direction metadata (#1023)

https://www.w3.org/TR/WebIDL/#dfn-DOMException

>  Exceptions have an error name, a DOMString, which is the type of error the exception represents, and a message, which is an optional, user agent-defined value that provides human readable details of the error. 

The `message` attribute of DOMException does not include language or base direction metadata (see https://w3c.github.io/string-meta). Lack of this metadata can mean that the exception message is not properly rendered. While messages in DOMExceptions are often intended for developer debugging purposes, this is not always true--and developers are people (who speak a language) too.

[I18N-ACTION-1051]

-- 
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/1023

Received on Monday, 20 September 2021 15:37:23 UTC