The fatal
read-only property of the TextDecoderStream
interface is a boolean
indicating if the error mode of the TextDecoderStream
object is set to fatal
.
If the property is true
then a decoder will throw a TypeError
if it encounters malformed data while decoding. If false
the decoder will substitute the invalid data with the replacement character U+FFFD
(�). The value of the property is set in the TextDecoderStream()
constructor.