gecko-dev/testing/web-platform/tests/webrtc/RTCRtpSender.https.html
youennf 21bfe7f8f8 Bug 1622760 [wpt PR 22275] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=209135, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=209135 (#22275)

--

wpt-commits: 3f10d31955de96305e6ba0b7363fac6771fda3a0
wpt-pr: 22275
2020-03-19 17:32:54 +00:00

20 lines
507 B
HTML

<!doctype html>
<meta charset=utf-8>
<title>RTCRtpSender</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
'use strict';
test((t) => {
const pc = new RTCPeerConnection();
t.add_cleanup(() => pc.close());
const t1 = pc.addTransceiver("audio");
const t2 = pc.addTransceiver("video");
assert_not_equals(t1.sender.dtmf, null);
assert_equals(t2.sender.dtmf, null);
}, "Video sender @dtmf is null");
</script>