Update web-platform-tests to revision 823cca0c2c6b421912973e7f699a357411738c64

This commit is contained in:
WPT Sync Bot 2020-05-16 08:18:43 +00:00
parent 6cc582992e
commit 6f4d1ac19b
141 changed files with 2004 additions and 912 deletions

View file

@ -8,7 +8,7 @@
// The following helper functions are called from RTCPeerConnection-helper.js:
// getTrackFromUserMedia
// doSignalingHandshake
// exchangeOfferAnswer
// Create a RTCDTMFSender using getUserMedia()
// Connect the PeerConnection to another PC and wait until it is
@ -26,7 +26,7 @@ function createDtmfSender(pc = new RTCPeerConnection()) {
const pc2 = new RTCPeerConnection();
Object.defineProperty(pc, 'otherPc', { value: pc2 });
exchangeIceCandidates(pc, pc2);
return doSignalingHandshake(pc, pc2);
return exchangeOfferAnswer(pc, pc2);
}).then(() => {
if (!('canInsertDTMF' in dtmfSender)) {
return Promise.resolve();