| Tests RTCIceCandidate. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS candidate = new RTCIceCandidate(initializer); did not throw exception. |
| PASS candidate.candidate is "foo" |
| PASS candidate.sdpMid is "bar" |
| PASS candidate.sdpMLineIndex is 6 |
| PASS initializer = JSON.parse(JSON.stringify(candidate)); did not throw exception. |
| PASS candidate = new RTCIceCandidate(initializer); did not throw exception. |
| PASS candidate.candidate is "foo" |
| PASS candidate.sdpMid is "bar" |
| PASS candidate.sdpMLineIndex is 6 |
| PASS new RTCIceCandidate({}); threw exception Error: TypeMismatchError: DOM Exception 17. |
| PASS new RTCIceCandidate(5); threw exception TypeError: Not an object.. |
| PASS new RTCIceCandidate("foobar"); threw exception TypeError: Not an object.. |
| PASS new RTCIceCandidate(candidate:""); threw exception SyntaxError: Unexpected token :. |
| PASS new RTCIceCandidate({candidate:"x"}); did not throw exception. |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |