forked from mirrors/gecko-dev
Bug 1762391: Loosen these comparisons; we have no guarantee that more than one packet has been sent. r=ng
Depends on D193131 Differential Revision: https://phabricator.services.mozilla.com/D193132
This commit is contained in:
parent
658ce6bb99
commit
a4a59fd615
1 changed files with 6 additions and 6 deletions
|
|
@ -1345,16 +1345,16 @@ function pedanticChecks(report) {
|
|||
|
||||
// bytesSent
|
||||
ok(
|
||||
stat.bytesSent > 1000,
|
||||
`${stat.type}.bytesSent is a sane number (>1,000) for a short ` +
|
||||
`${stat.kind} test. value=${stat.bytesSent}`
|
||||
stat.bytesSent > 100,
|
||||
`${stat.type}.bytesSent is a sane number (>100) if media is flowing. ` +
|
||||
`value=${stat.bytesSent}`
|
||||
);
|
||||
|
||||
// bytesReceived
|
||||
ok(
|
||||
stat.bytesReceived > 500,
|
||||
`${stat.type}.bytesReceived is a sane number (>500) for a short ` +
|
||||
`${stat.kind} test. value=${stat.bytesReceived}`
|
||||
stat.bytesReceived > 100,
|
||||
`${stat.type}.bytesReceived is a sane number (>100) if media is flowing. ` +
|
||||
`value=${stat.bytesReceived}`
|
||||
);
|
||||
|
||||
// lastPacketSentTimestamp
|
||||
|
|
|
|||
Loading…
Reference in a new issue