| OLD | NEW |
| 1 Tests RTCSessionDescription. | 1 Tests RTCSessionDescription. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS sessionDescription = new RTCSessionDescription(initializer); did not throw
exception. | 6 PASS sessionDescription = new RTCSessionDescription(initializer); did not throw
exception. |
| 7 PASS sessionDescription.type is "offer" | 7 PASS sessionDescription.type is "offer" |
| 8 PASS sessionDescription.sdp is "foobar" | 8 PASS sessionDescription.sdp is "foobar" |
| 9 PASS initializer = JSON.parse(JSON.stringify(sessionDescription)); did not throw
exception. | 9 PASS initializer = JSON.parse(JSON.stringify(sessionDescription)); did not throw
exception. |
| 10 PASS sessionDescription = new RTCSessionDescription(initializer); did not throw
exception. | 10 PASS sessionDescription = new RTCSessionDescription(initializer); did not throw
exception. |
| 11 PASS sessionDescription.type is "offer" | 11 PASS sessionDescription.type is "offer" |
| 12 PASS sessionDescription.sdp is "foobar" | 12 PASS sessionDescription.sdp is "foobar" |
| 13 PASS new RTCSessionDescription({}); threw exception Error: TypeMismatchError: DO
M Exception 17. | 13 PASS new RTCSessionDescription({}); threw exception TypeMismatchError: The type
of an object was incompatible with the expected type of the parameter associated
to the object.. |
| 14 PASS new RTCSessionDescription(5); threw exception TypeError: Not an object.. | 14 PASS new RTCSessionDescription(5); threw exception TypeError: Not an object.. |
| 15 PASS new RTCSessionDescription('foobar'); threw exception TypeError: Not an obje
ct.. | 15 PASS new RTCSessionDescription('foobar'); threw exception TypeError: Not an obje
ct.. |
| 16 PASS new RTCSessionDescription({type:'foobar', sdp:'x'}); threw exception Error:
TypeMismatchError: DOM Exception 17. | 16 PASS new RTCSessionDescription({type:'foobar', sdp:'x'}); threw exception TypeMi
smatchError: The type of an object was incompatible with the expected type of th
e parameter associated to the object.. |
| 17 PASS new RTCSessionDescription({type:'offer', sdp:''}); threw exception Error: T
ypeMismatchError: DOM Exception 17. | 17 PASS new RTCSessionDescription({type:'offer', sdp:''}); threw exception TypeMism
atchError: The type of an object was incompatible with the expected type of the
parameter associated to the object.. |
| 18 PASS new RTCSessionDescription({type:'offer', sdp:'x'}); did not throw exception
. | 18 PASS new RTCSessionDescription({type:'offer', sdp:'x'}); did not throw exception
. |
| 19 PASS new RTCSessionDescription({type:'answer', sdp:'x'}); did not throw exceptio
n. | 19 PASS new RTCSessionDescription({type:'answer', sdp:'x'}); did not throw exceptio
n. |
| 20 PASS new RTCSessionDescription({type:'pranswer', sdp:'x'}); did not throw except
ion. | 20 PASS new RTCSessionDescription({type:'pranswer', sdp:'x'}); did not throw except
ion. |
| 21 PASS successfullyParsed is true | 21 PASS successfullyParsed is true |
| 22 | 22 |
| 23 TEST COMPLETE | 23 TEST COMPLETE |
| 24 | 24 |
| OLD | NEW |