Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326

This commit is contained in:
Josh Matthews 2017-10-12 09:25:50 -04:00
parent 462c272380
commit 1f531f66ea
5377 changed files with 174916 additions and 84369 deletions

View file

@ -219,29 +219,6 @@
});
}, 'Calling replaceTrack on sender with similar track and and set to session description should resolve with sender.track set to new track');
/*
5.2. replaceTrack
Not 8. If transceiver is not yet associated with a media description
[JSEP] (section 3.4.1.), then set sender's track attribute to
withTrack, and return a promise resolved with undefined.
10. Run the following steps in parallel:
3. Queue a task that runs the following steps:
1. If connection's [[isClosed]] slot is true, abort these steps.
*/
test_never_resolve(t => {
const pc = new RTCPeerConnection();
const track = generateMediaStreamTrack('audio');
const { transceiver: { sender } } = pc.addTransceiver('audio');
return pc.createOffer()
.then(offer => pc.setLocalDescription(offer))
.then(() => {
const promise = sender.replaceTrack(track);
pc.close();
return promise;
});
}, 'replaceTrack should never resolve if connection is closed in parallel');
/*
TODO
5.2. replaceTrack
@ -266,5 +243,7 @@
negotiating. Otherwise, have the sender switch seamlessly to
transmitting withTrack instead of the sender's existing track,
without negotiating.
3. Queue a task that runs the following steps:
1. If connection's [[isClosed]] slot is true, abort these steps.
*/
</script>