[webrtc-pc] https://w3c.github.io/webrtc-pc/#set-pc-configuration could be made clearer on matching certificates (#2043)

youennf has just created a new issue for https://github.com/w3c/webrtc-pc:

== https://w3c.github.io/webrtc-pc/#set-pc-configuration could be made clearer on matching certificates ==
https://w3c.github.io/webrtc-pc/#set-pc-configuration step 4 is checking certificates as follows: "the set of certificates differs from the ones used when connection was constructed".

It is not clear whether that means whether certificate order is significant or not. 
The term 'set' is used, which would tend to make the order insignificant, but certificates are passed as a sequence. WebKit is implementing sequence-matching.

For a RTCCertificate to 'differ' from another, it can mean that the RTCCertificate objects are not the same. WebKit is implementing this interpretation.
Another interpretation might be that a RTCCertificate differ from another if one of its slots (origin, expires, keying material, certificate) is different.

Additional WPT tests might be good in that area.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2043 using your GitHub account

Received on Tuesday, 11 December 2018 23:58:52 UTC