| |
| PASS createDataChannel with no argument should throw TypeError |
| PASS createDataChannel with closed connection should throw InvalidStateError |
| FAIL createDataChannel attribute default values assert_equals: expected (string) "low" but got (undefined) undefined |
| FAIL createDataChannel with provided parameters should initialize attributes to provided values Type error |
| PASS createDataChannel with label "foo" should succeed |
| FAIL createDataChannel with label null should succeed assert_equals: expected "null" but got "" |
| PASS createDataChannel with label undefined should succeed |
| PASS createDataChannel with label lone surrogate should succeed |
| PASS createDataChannel with ordered false should succeed |
| PASS createDataChannel with ordered null/undefined should succeed |
| PASS createDataChannel with maxPacketLifeTime 0 should succeed |
| PASS createDataChannel with maxRetransmits 0 should succeed |
| PASS createDataChannel with both maxPacketLifeTime and maxRetransmits should throw SyntaxError |
| PASS createDataChannel with protocol "foo" should succeed |
| PASS createDataChannel with protocol null should succeed |
| PASS createDataChannel with protocol undefined should succeed |
| PASS createDataChannel with protocol lone surrogate should succeed |
| PASS createDataChannel with negotiated true should succeed |
| PASS createDataChannel with id 0 should succeed |
| PASS createDataChannel with id 1 should succeed |
| PASS createDataChannel with id 65534 should succeed |
| PASS createDataChannel with id -1 should throw TypeError |
| PASS createDataChannel with id 65535 should throw TypeError |
| PASS createDataChannel with id 65536 should throw TypeError |
| FAIL createDataChannel with priority "high" should succeed assert_equals: expected (string) "high" but got (undefined) undefined |
| FAIL createDataChannel with invalid priority should throw TypeError assert_throws: function "() => pc.createDataChannel('', { priority: 'invalid' })" did not throw |
| FAIL createDataChannel with negotiated false and long label should throw TypeError assert_throws: function "() => |
| pc.createDataChannel('', { |
| label: ' '.repeat(65536), |
| negotiated: false |
| })" did not throw |
| PASS createDataChannel with negotiated false and long protocol should throw TypeError |
| FAIL createDataChannel with negotiated true and long label and long protocol should succeed assert_equals: expected " " but got "" |
| FAIL Channels created after SCTP transport is established should have id assigned promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: generateAnswer" |
| |