[i18n-activity] Support throwing exception from text method during UTF-8 decode

stevenatkin has just created a new issue for https://github.com/w3c/i18n-activity:

== Support throwing exception from text method during UTF-8 decode ==
10. PushMessageData interface
https://www.w3.org/TR/push-api/#pushmessagedata-interface

You should add support for an exception to the text() method. The text() method converts the bytes to UTF-8 using UTF-8 decode. If the UTF-8 byte sequence is malformed, then the text() method should throw an exception.



Please view or discuss this issue at https://github.com/w3c/i18n-activity/issues/423 using your GitHub account

Received on Sunday, 25 June 2017 12:50:16 UTC