Update web-platform-tests to revision b'7af9d6ec48ab04043a2bea85a3599904a1a19efa'

This commit is contained in:
WPT Sync Bot 2021-02-21 08:20:50 +00:00 committed by Josh Matthews
parent 8050c95e31
commit 87be1008de
2742 changed files with 142451 additions and 40667 deletions

View file

@ -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));