Pass | Constructing RTCPeerConnection with expired certificate should reject with InvalidAccessError | Asserts runPass | assert_less_than_equal(1744245877000, 1744245877939)
at /webrtc/RTCCertificate.html:102:7 | Pass | assert_throws_dom("InvalidAccessError", function "() => new RTCPeerConnection({ certificates: [cert] })")
at /webrtc/RTCCertificate.html:103:7 |
|
Pass | Calling setConfiguration with different set of certs should reject with InvalidModificationError | Asserts runPass | assert_throws_dom("InvalidModificationError", function "() => pc.setConfiguration({ certificates: [cert2] })")
at /webrtc/RTCCertificate.html:129:7 | Pass | assert_throws_dom("InvalidModificationError", function "() => pc.setConfiguration({ certificates: [cert1, cert2] })")
at /webrtc/RTCCertificate.html:134:7 |
|
Pass | RTCCertificate should have at least one fingerprint | Asserts runPass | assert_idl_attribute(object "[object RTCCertificate]", "getFingerprints")
at /webrtc/RTCCertificate.html:162:7 | Pass | assert_true(true, "Expect fingerprints to return an array")
at /webrtc/RTCCertificate.html:165:7 | Pass | assert_greater_than_equal(1, 1, "Expect at last one fingerprint in array")
at /webrtc/RTCCertificate.html:168:7 | Pass | assert_equals("object", "object", "Expect fingerprint to be an object (dictionary)")
at /webrtc/RTCCertificate.html:172:9 | Pass | assert_in_array("sha-256", ["md2", "md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"], "Expect fingerprint.algorithm to be string of algorithm identifier")
at /webrtc/RTCCertificate.html:177:9 | Pass | assert_true(true, "Expect fingerprint.value to be lowercase hexadecimal separated by colon")
at /webrtc/RTCCertificate.html:180:9 |
|
Pass | RTCPeerConnection({ certificates }) should generate offer SDP with fingerprint of provided certificate | Asserts runPass | assert_true(true, "Expect fingerprint line to be found in SDP")
at assert_sdp_has_cert_fingerprints ( /webrtc/RTCCertificate.html:79:7) |
|
Fail | RTCPeerConnection({ certificates }) should generate offer SDP with fingerprint of all provided certificates | assert_true: Expect fingerprint line to be found in SDP expected true got false at assert_sdp_has_cert_fingerprints (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCCertificate.html:79:7)
at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCCertificate.html:250:11 Asserts runPass | assert_true(true, "Expect fingerprint line to be found in SDP")
at assert_sdp_has_cert_fingerprints ( /webrtc/RTCCertificate.html:79:7) | Fail | assert_true(false, "Expect fingerprint line to be found in SDP")
at assert_sdp_has_cert_fingerprints ( /webrtc/RTCCertificate.html:79:7) |
|