| Index: third_party/WebKit/LayoutTests/presentation/resources/presentation-receiver-postmessage.html
|
| diff --git a/third_party/WebKit/LayoutTests/presentation/resources/presentation-receiver-postmessage.html b/third_party/WebKit/LayoutTests/presentation/resources/presentation-receiver-postmessage.html
|
| index 72bd6992132575b7f9bbd6047f3f07c35cec0f0b..a94f8e89be753c38505aa34d1159993eb4eb9486 100644
|
| --- a/third_party/WebKit/LayoutTests/presentation/resources/presentation-receiver-postmessage.html
|
| +++ b/third_party/WebKit/LayoutTests/presentation/resources/presentation-receiver-postmessage.html
|
| @@ -6,6 +6,10 @@
|
| <script src="presentation-service-mock.js"></script>
|
| <script>
|
|
|
| +// Parent window sets parameter for this page.
|
| +assert_not_equals(controllerConnectionPtr, null);
|
| +assert_not_equals(receiverConnectionRequest, null);
|
| +
|
| internals.settings.setPresentationReceiver(true);
|
|
|
| var connection = null;
|
| @@ -15,7 +19,8 @@ presentationServiceMock.then(mockService => {
|
| const id = 'fakeSessionId';
|
|
|
| mockService.onSetClient = () => {
|
| - mockService.onReceiverConnectionAvailable(url, id);
|
| + mockService.onReceiverConnectionAvailable(
|
| + url, id, controllerConnectionPtr, receiverConnectionRequest);
|
| };
|
|
|
| navigator.presentation.receiver.connectionList.then(list => {
|
|
|