https://gpuweb.github.io/gpuweb/#dom-gpubuffer-mapasync
The deviceLost variable in the last steps (map failure steps) is only set from one of the two callers to these steps. This makes it entirely ambiguous whether a validation error should produce AbortError or OperationError if the device is already lost when mapAsync starts. (This is one of the validation checks, but there are others).