mirror of
https://github.com/servo/servo.git
synced 2025-08-20 04:45:33 +01:00
Update web-platform-tests to revision 04cd5eb8e5c47e4fe341f2fb541d39fa2346f464
This commit is contained in:
parent
0ab2c3f8a3
commit
1d0624b343
226 changed files with 4495 additions and 903 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue