Summary

Harness status: OK

Found 12 tests

Details

ResultTest NameMessage
PassClose datachannel causes onclosing and onclose to be called
Asserts run
Pass
assert_equals("closing", "closing")
    at channel2.onclosing ( /webrtc/RTCDataChannel-close.html:20:7)
Pass
assert_equals("closed", "closed")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:26:5)
Pass
assert_true(true, "Closing event was seen")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:27:5)
PassClose datachannel causes closing and close event to be called
Asserts run
Pass
assert_equals("closing", "closing")
    at RTCDataChannel.<anonymous> ( /webrtc/RTCDataChannel-close.html:38:7)
Pass
assert_equals("closed", "closed")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:44:5)
Pass
assert_true(true, "Closing event was seen")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:45:5)
PassRepeated open/send/echo/close datachannel works
Asserts run
Pass
assert_equals("ping 1", "ping 1")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 2", "ping 2")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 3", "ping 3")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 4", "ping 4")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 5", "ping 5")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 6", "ping 6")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 7", "ping 7")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 8", "ping 8")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 9", "ping 9")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 10", "ping 10")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
PassClose peerconnection causes close event and error to be called on datachannel
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:90:7)
Pass
assert_array_equals(["error", "close"], ["error", "close"])
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:100:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:101:5)
Pass
assert_equals("OperationError", "OperationError")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:102:5)
Pass
assert_equals("sctp-failure", "sctp-failure")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:103:5)
Pass
assert_in_array(12, [null, 12])
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:106:5)
PassClose peerconnection after datachannel close causes no events
Asserts runNo asserts ran
PassClose peerconnection causes close event and error on many channels, datachannel
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:195:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:179:15)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:210:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:211:5)
PassClose negotiated datachannel causes onclosing and onclose to be called
Asserts run
Pass
assert_equals("closing", "closing")
    at channel2.onclosing ( /webrtc/RTCDataChannel-close.html:20:7)
Pass
assert_equals("closed", "closed")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:26:5)
Pass
assert_true(true, "Closing event was seen")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:27:5)
PassClose negotiated datachannel causes closing and close event to be called
Asserts run
Pass
assert_equals("closing", "closing")
    at RTCDataChannel.<anonymous> ( /webrtc/RTCDataChannel-close.html:38:7)
Pass
assert_equals("closed", "closed")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:44:5)
Pass
assert_true(true, "Closing event was seen")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:45:5)
PassRepeated open/send/echo/close negotiated datachannel works
Asserts run
Pass
assert_equals("ping 1", "ping 1")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 2", "ping 2")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 3", "ping 3")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 4", "ping 4")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 5", "ping 5")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 6", "ping 6")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 7", "ping 7")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 8", "ping 8")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 9", "ping 9")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
Pass
assert_equals("ping 10", "ping 10")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:76:7)
PassClose peerconnection causes close event and error to be called on negotiated datachannel
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:90:7)
Pass
assert_array_equals(["error", "close"], ["error", "close"])
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:100:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:101:5)
Pass
assert_equals("OperationError", "OperationError")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:102:5)
Pass
assert_equals("sctp-failure", "sctp-failure")
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:103:5)
Pass
assert_in_array(12, [null, 12])
    at Test.<anonymous> ( /webrtc/RTCDataChannel-close.html:106:5)
PassClose peerconnection after negotiated datachannel close causes no events
Asserts runNo asserts ran
FailClose peerconnection causes close event and error on many channels, negotiated datachannelpromise_test: Unhandled rejection with value: object "OperationError: Failed to execute 'createDataChannel' on 'RTCPeerConnection': RTCDataChannel creation failed"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran