diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/webrtc/idlharness.https.window.js')
-rw-r--r-- | tests/wpt/web-platform-tests/webrtc/idlharness.https.window.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/webrtc/idlharness.https.window.js b/tests/wpt/web-platform-tests/webrtc/idlharness.https.window.js index 3c57a022cab..6e9b7e9afa2 100644 --- a/tests/wpt/web-platform-tests/webrtc/idlharness.https.window.js +++ b/tests/wpt/web-platform-tests/webrtc/idlharness.https.window.js @@ -67,7 +67,9 @@ function asyncInitTransports() { 'Expect sctpTransport.transport to be instance of RTCDtlsTransport'); idlTestObjects.dtlsTransport = dtlsTransport; - const iceTransport = dtlsTransport.transport; + const iceTransport = dtlsTransport.iceTransport; + assert_true(iceTransport instanceof RTCIceTransport, + 'Expect sctpTransport.transport to be instance of RTCDtlsTransport'); idlTestObjects.iceTransport = iceTransport; }); } |