| Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createAnswer-promise.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createAnswer-promise.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createAnswer-promise.html
|
| index a786c27d954a93c066ddc8044bd71c951527395b..4f0eefa2fb493ae12c7347071ec8578a6720b122 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createAnswer-promise.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-createAnswer-promise.html
|
| @@ -12,7 +12,7 @@
|
| // In all other cases, createAnswer() fails in the test runner.
|
|
|
| defaultError = new DOMException('TEST_ERROR', 'OperationError')
|
| - pc = new webkitRTCPeerConnection(null, null);
|
| + pc = new RTCPeerConnection();
|
|
|
| // Test that createAnswer with voiceActivityDetection succeeds.
|
| // voiceActivityDetection is true by default.
|
| @@ -40,7 +40,7 @@
|
| }, 'createAnswer(1)' );
|
|
|
| // Test closed connection
|
| - closedPC = new webkitRTCPeerConnection(null);
|
| + closedPC = new RTCPeerConnection();
|
| closedPC.close();
|
| promise_test(function() {
|
| var invalidStateError = new DOMException('', 'InvalidStateError');
|
|
|