Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /webrtc/RTCConfiguration-certificates.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>RTCConfiguration certificates</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
promise_test(async t => {
const pc = new RTCPeerConnection({});
t.add_cleanup(() => pc.close());
assert_array_equals(pc.getConfiguration().certificates, []);
}, 'getConfiguration returns default empty certificates');
</script>