mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update web-platform-tests to revision bdb130748e35ceed09c82975e217e07bdabf0bda
This commit is contained in:
parent
ff3a9180a7
commit
3a7bc18f6e
46 changed files with 723 additions and 201 deletions
|
@ -23,8 +23,11 @@ promise_test(async t => {
|
|||
assert_true(event.hostCandidate.includes(":"), "hostCandidate");
|
||||
assert_true(event.url.includes("123"), "url");
|
||||
});
|
||||
const offerOptions = {offerToReceiveAudio: 1};
|
||||
await pc.setLocalDescription(await pc.createOffer(offerOptions));
|
||||
const stream = await getNoiseStream({audio:true});
|
||||
t.add_cleanup(() => stream.getTracks().forEach(track => track.stop()));
|
||||
pc.addTrack(stream.getAudioTracks()[0], stream);
|
||||
|
||||
await pc.setLocalDescription(await pc.createOffer());
|
||||
await onErrorPromise;
|
||||
}, 'Surfacing onicecandidateerror');
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue