Closed jan-ivar closed 1 year ago
Oh I see NotFoundError
is used for valid rid that is not found. So 1.A is the answer.
In that case the 2 is the remaining issue (use an error other than NotAllowedError
).
(For 1. we should still clarify that by invalid we mean A in a PR)
The spec says "If rid is defined, validate its value. If invalid, reject promise with NotAllowedError and abort these steps." E.g.
Two problems:
My picks would be B and either
TypeError
orInvalidAccessError
for consistency with webrtc-pc.