[w3c/push-api] Support throwing exception from text method during UTF-8 decode (#276)

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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/276

Received on Thursday, 29 June 2017 19:53:55 UTC