NEW 210367
JSC should have a failure string repository.
https://bugs.webkit.org/show_bug.cgi?id=210367
Summary JSC should have a failure string repository.
Ross Kirsling
Reported 2020-04-10 18:10:54 PDT
There are many places throughout our Intl API implementation in which ICU could have an internal failure. JSC currently throws a JS error with a different message in each of these cases, but it might be better to have a single kind of error for all of them, like V8 and SM: https://github.com/v8/v8/blob/master/src/common/message-template.h#L25 https://searchfox.org/mozilla-central/source/js/src/js.msg#536
Attachments
Keith Miller
Comment 1 2020-04-10 18:20:37 PDT
Oh, I was thinking of having one repo of all our failure strings so they're consistent.
Ross Kirsling
Comment 2 2020-04-10 18:39:33 PDT
Oh that's even more ambitious! I like it.
Note You need to log in before you can comment on or make changes to this bug.