Pass | RTCDataChannelEvent constructor without a required argument. | Asserts runPass | assert_equals(2, 2)
at Test.<anonymous> ( /webrtc/RTCDataChannelEvent-constructor.html:11:5) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new RTCDataChannelEvent('type'); }")
at Test.<anonymous> ( /webrtc/RTCDataChannelEvent-constructor.html:12:5) |
|
Pass | RTCDataChannelEvent constructor with channel passed as null. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new RTCDataChannelEvent('type', { channel: null }); }")
at Test.<anonymous> ( /webrtc/RTCDataChannelEvent-constructor.html:19:5) |
|
Pass | RTCDataChannelEvent constructor with a channel passed as undefined. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new RTCDataChannelEvent('type', { channel: undefined }); }")
at Test.<anonymous> ( /webrtc/RTCDataChannelEvent-constructor.html:26:5) |
|
Pass | RTCDataChannelEvent constructor with full arguments. | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /webrtc/RTCDataChannelEvent-constructor.html:38:5) | Pass | assert_equals(object "[object RTCDataChannel]", object "[object RTCDataChannel]")
at Test.<anonymous> ( /webrtc/RTCDataChannelEvent-constructor.html:39:5) |
|