mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision b'7af9d6ec48ab04043a2bea85a3599904a1a19efa'
This commit is contained in:
parent
8050c95e31
commit
87be1008de
2742 changed files with 142451 additions and 40667 deletions
|
@ -242,8 +242,7 @@ async function waitForIceGatheringState(pc, wantedStates) {
|
|||
async function listenForSSRCs(t, receiver) {
|
||||
while (true) {
|
||||
const ssrcs = receiver.getSynchronizationSources();
|
||||
assert_true(Array.isArray(ssrcs));
|
||||
if (ssrcs.length > 0) {
|
||||
if (Array.isArray(ssrcs) && ssrcs.length > 0) {
|
||||
return ssrcs;
|
||||
}
|
||||
await new Promise(r => t.step_timeout(r, 0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue