mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 0c112f38ee0040ba788d927e73b1ab1a7b856230
This commit is contained in:
parent
0baa1ea7bd
commit
3173ca7ad9
146 changed files with 1587 additions and 1659 deletions
|
@ -13,7 +13,7 @@
|
|||
async_test(t => {
|
||||
const caller = new RTCPeerConnection();
|
||||
t.add_cleanup(() => caller.close());
|
||||
return getUserMediaTracksAndStreams(2)
|
||||
getUserMediaTracksAndStreams(2)
|
||||
.then(t.step_func(([tracks, streams]) => {
|
||||
const sender = caller.addTrack(tracks[0], streams[0]);
|
||||
return sender.replaceTrack(tracks[1])
|
||||
|
@ -30,7 +30,7 @@
|
|||
async_test(t => {
|
||||
const caller = new RTCPeerConnection();
|
||||
t.add_cleanup(() => caller.close());
|
||||
return getUserMediaTracksAndStreams(1)
|
||||
getUserMediaTracksAndStreams(1)
|
||||
.then(t.step_func(([tracks, streams]) => {
|
||||
const sender = caller.addTrack(tracks[0], streams[0]);
|
||||
return sender.replaceTrack(null)
|
||||
|
@ -47,7 +47,7 @@
|
|||
async_test(t => {
|
||||
const caller = new RTCPeerConnection();
|
||||
t.add_cleanup(() => caller.close());
|
||||
return getUserMediaTracksAndStreams(2)
|
||||
getUserMediaTracksAndStreams(2)
|
||||
.then(t.step_func(([tracks, streams]) => {
|
||||
const sender = caller.addTrack(tracks[0], streams[0]);
|
||||
assert_equals(sender.track, tracks[0]);
|
||||
|
@ -66,7 +66,7 @@
|
|||
const expectedException = 'InvalidStateError';
|
||||
const caller = new RTCPeerConnection();
|
||||
t.add_cleanup(() => caller.close());
|
||||
return getUserMediaTracksAndStreams(2)
|
||||
getUserMediaTracksAndStreams(2)
|
||||
.then(t.step_func(([tracks, streams]) => {
|
||||
const sender = caller.addTrack(tracks[0], streams[0]);
|
||||
caller.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue