mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f
This commit is contained in:
parent
0964d055cd
commit
7295abcc2a
245 changed files with 5966 additions and 1901 deletions
|
@ -71,7 +71,7 @@ This test uses data only, and thus does not require fake media devices.
|
|||
assert_not_equals(report, null, 'No report');
|
||||
let sessionStat = getStatsRecordByType(report, 'peer-connection');
|
||||
assert_not_equals(sessionStat, null, 'Did not find peer-connection stats');
|
||||
assert_exists(sessionStat, 'dataChannelsOpened', 'no dataChannelsOpened stat');
|
||||
assert_own_property(sessionStat, 'dataChannelsOpened', 'no dataChannelsOpened stat');
|
||||
// Once every 4000 or so tests, the datachannel won't be opened when the getStats
|
||||
// function is done, so allow both 0 and 1 datachannels.
|
||||
assert_true(sessionStat.dataChannelsOpened == 1 || sessionStat.dataChannelsOpened == 0,
|
||||
|
|
|
@ -26,7 +26,7 @@ module.exports = {
|
|||
assert_unreached: true,
|
||||
assert_throws: true,
|
||||
assert_idl_attribute: true,
|
||||
assert_exists: true,
|
||||
assert_own_property: true,
|
||||
assert_greater_than: true,
|
||||
assert_less_than: true,
|
||||
assert_greater_than_equal: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue