Update web-platform-tests to revision 04cd5eb8e5c47e4fe341f2fb541d39fa2346f464

This commit is contained in:
WPT Sync Bot 2018-11-16 21:03:13 -05:00
parent 0ab2c3f8a3
commit 1d0624b343
226 changed files with 4495 additions and 903 deletions

View file

@ -12,6 +12,7 @@
// The following helper functions are called from RTCPeerConnection-helper.js:
// generateAnswer
// generateAudioReceiveOnlyOffer
// test_never_resolve
// Listen to the negotiationneeded event on a peer connection
@ -165,7 +166,7 @@
const pc = new RTCPeerConnection();
const negotiated = awaitNegotiation(pc);
return pc.createOffer({ offerToReceiveAudio: true })
return generateAudioReceiveOnlyOffer(pc)
.then(offer => pc.setLocalDescription(offer))
.then(() => negotiated)
.then(({nextPromise}) => {
@ -190,7 +191,7 @@
return assert_first_promise_fulfill_after_second(
awaitNegotiation(pc),
pc.createOffer({ offerToReceiveAudio: true })
generateAudioReceiveOnlyOffer(pc)
.then(offer =>
pc.setLocalDescription(offer)
.then(() => {