| Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription.html
|
| index 573eeedd2cbdb322e77213679efe09c9ea337128..722773f1038d00d814310a5ef256a21c98db338d 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-remoteDescription.html
|
| @@ -52,7 +52,7 @@ function expectedInvalidSessionDescription(error)
|
|
|
| function testExecutionOrderClosedConnection()
|
| {
|
| - var localPeerConnection = new webkitRTCPeerConnection(null, null);
|
| + var localPeerConnection = new RTCPeerConnection();
|
| localPeerConnection.close();
|
| var counter = 0;
|
| window.events = [];
|
| @@ -65,13 +65,13 @@ function testExecutionOrderClosedConnection()
|
| events[counter++] = 2;
|
| });
|
| Promise.resolve().then(_ => {
|
| - events[counter++] = 3;
|
| + events[counter++] = 3;
|
| shouldBe('events', '[1,2,3]');
|
| });
|
| }
|
|
|
| shouldNotThrow('testExecutionOrderClosedConnection()');
|
| -pc = new webkitRTCPeerConnection(null, null);
|
| +pc = new RTCPeerConnection();
|
| shouldNotThrow('pc.setRemoteDescription().catch(expectedTypeError)');
|
| shouldNotThrow('pc.setRemoteDescription(null).catch(expectedInvalidSessionDescription)');
|
| var sessionDescription = new RTCSessionDescription({type:"answer", sdp:"remote"});
|
|
|