[whatwg/fetch] What does "Assert" mean? (#1277)

The standard often mentions "Assert {condition}" but is unclear what exactly that means, e.g. in https://fetch.spec.whatwg.org/#bodyinit-safely-extract

it says `Assert: object is neither disturbed nor locked.`. If the condition fails what should happen? Throw an error? What kind of error?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1277

Received on Tuesday, 3 August 2021 12:47:46 UTC