Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb

This commit is contained in:
WPT Sync Bot 2019-03-28 22:09:18 -04:00
parent fcd6beb608
commit cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions

View file

@ -157,4 +157,18 @@
}))));
}, 'Creating and setting offer multiple times should succeed');
promise_test(async t => {
const pc1 = new RTCPeerConnection();
t.add_cleanup(() => pc1.close());
const pc2 = new RTCPeerConnection();
t.add_cleanup(() => pc2.close());
const offer = await pc1.createOffer({offerToReceiveAudio: true}); // [[LastOffer]] set
const offer2 = await pc2.createOffer({offerToReceiveVideo: true});
await pc1.setRemoteDescription(offer2);
await pc1.createAnswer(); // [[LastAnswer]] set
await pc1.setRemoteDescription({type: "rollback"});
await pc1.setLocalDescription(offer);
}, "Setting previously generated offer after a call to createAnswer should work");
</script>