mirror of
https://github.com/servo/servo.git
synced 2025-09-02 02:58:22 +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
|
@ -11,8 +11,9 @@
|
|||
// https://w3c.github.io/webrtc-pc/archives/20170605/webrtc.html
|
||||
|
||||
// The following helper functions are called from RTCPeerConnection-helper.js:
|
||||
// exchangeIceCandidates
|
||||
// doSignalingHandshake
|
||||
// exchangeIceCandidates
|
||||
// generateAudioReceiveOnlyOffer
|
||||
|
||||
/*
|
||||
4.3.2. Interface Definition
|
||||
|
@ -72,7 +73,7 @@
|
|||
|
||||
pc.addEventListener('icegatheringstatechange', onIceGatheringStateChange);
|
||||
|
||||
pc.createOffer({ offerToReceiveAudio: true })
|
||||
generateAudioReceiveOnlyOffer(pc)
|
||||
.then(offer => pc.setLocalDescription(offer))
|
||||
.then(err => t.step_func(err =>
|
||||
assert_unreached(`Unhandled rejection ${err.name}: ${err.message}`)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue