mirror of
https://github.com/servo/servo.git
synced 2025-08-23 06:15:35 +01:00
Update web-platform-tests to revision e3d0146264093a389148cc555ee9be69bd75719b
This commit is contained in:
parent
dd2deeabca
commit
7e807a0d1e
37 changed files with 842 additions and 140 deletions
|
@ -148,21 +148,21 @@ async_test(t => {
|
|||
const { iceConnectionState } = pc1;
|
||||
|
||||
if(iceConnectionState === 'checking') {
|
||||
const iceTransport = pc1.sctp.transport.transport;
|
||||
const iceTransport = pc1.sctp.transport.iceTransport;
|
||||
|
||||
assert_equals(iceTransport.state, 'checking',
|
||||
'Expect ICE transport to be in checking state when' +
|
||||
' iceConnectionState is checking');
|
||||
|
||||
} else if(iceConnectionState === 'connected') {
|
||||
const iceTransport = pc1.sctp.transport.transport;
|
||||
const iceTransport = pc1.sctp.transport.iceTransport;
|
||||
|
||||
assert_equals(iceTransport.state, 'connected',
|
||||
'Expect ICE transport to be in connected state when' +
|
||||
' iceConnectionState is connected');
|
||||
|
||||
} else if(iceConnectionState === 'completed') {
|
||||
const iceTransport = pc1.sctp.transport.transport;
|
||||
const iceTransport = pc1.sctp.transport.iceTransport;
|
||||
|
||||
assert_equals(iceTransport.state, 'completed',
|
||||
'Expect ICE transport to be in connected state when' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue