Re: [webrtc-pc] Unimplementable input validation steps in setCodecPreferences (#2805)

I understand the intent, but unfortunately that's not what it says. As written, it says to throw InvalidModificationError on all input, because a dictionary A being "in" an array of dictionaries, means the array contains a reference to A, which can never happen given how the array was constructed in this case (from fresh dictionaries that at best include a copy of A).

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2805#issuecomment-1338509873 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 6 December 2022 01:03:14 UTC