mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
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
20 lines
507 B
HTML
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>
|