### Describe the Bug `TextDecoder::decode_with_u8_array{_and_options}` should accept immutable slice instead of a mutable one. ### Additional Context This was originally mentioned in a comment on the original issue https://github.com/rustwasm/wasm-bindgen/issues/1005, but it was closed now, so moving own into a separate issue.