Throw TypeError on invalid input types in TextDecoder.decode()

fix(op_crates/web): throw TypeError on invalid input types in TextDecoder.decode() (#7179)
Throw TypeError on invalid input types in TextDecoder.decode()fixthrow typeerror invalid input types textdecoder

Committed by asos-craigmorten

commit message
fix(op_crates/web): throw TypeError on invalid input types in TextDecoder.decode() (#7179)

Editor assessment

Throw TypeError on invalid input types in TextDecoder.decode() is a model spec-compliance subject: the exception, the trigger condition, and the exact API are all stated, within the op_crates/web scope and fix type. A reader knows the entire behavioral change without the diff, which is precisely what subject clarity demands. The change is small, so no body is needed, and no footer applies. Clean, correct, and publishable. The exception, the trigger, and the API together leave no question a reader could ask before opening the diff.

Browse categories

More fix examples · Back to search