Update web-platform-tests to revision 2f346208c2a115a601b580e7869fe112b97c4246

This commit is contained in:
WPT Sync Bot 2020-01-19 08:23:36 +00:00
parent 2a594821ba
commit add3067672
78 changed files with 2101 additions and 635 deletions

View file

@ -20,7 +20,11 @@ promise_test(async t => {
// Testing of event.errorText can be added later once it's content is
// specified in spec with more detail.
assert_true(event.errorCode >= 300 && event.errorCode <= 799, "errorCode");
assert_true(event.hostCandidate.includes(":"), "hostCandidate");
if (event.port == 0) {
assert_equals(event.address, null);
} else {
assert_true(event.address.includes(".") || event.address.includes(":"));
}
assert_true(event.url.includes("123"), "url");
});
const stream = await getNoiseStream({audio:true});