| Index: third_party/WebKit/LayoutTests/presentation/presentationconnectionavailableevent-ctor-mock.html
|
| diff --git a/third_party/WebKit/LayoutTests/presentation/presentationconnectionavailableevent-ctor-mock.html b/third_party/WebKit/LayoutTests/presentation/presentationconnectionavailableevent-ctor-mock.html
|
| index 85b752dd7921a02eece7b5f54efb9f16e7e951b8..f8d8dc8b09005ed25a766927ea29feba141188dc 100644
|
| --- a/third_party/WebKit/LayoutTests/presentation/presentationconnectionavailableevent-ctor-mock.html
|
| +++ b/third_party/WebKit/LayoutTests/presentation/presentationconnectionavailableevent-ctor-mock.html
|
| @@ -10,12 +10,12 @@
|
|
|
| async_test(t => {
|
| presentationServiceMock.then(t.step_func(mockService => {
|
| - var button = document.querySelector('button');
|
| + const button = document.querySelector('button');
|
| // This is receiving the user gesture and runs the callback.
|
| waitForClick(t.step_func(_ => {
|
| new PresentationRequest('https://example.com').start().then(
|
| t.step_func_done(result => {
|
| - var e = new PresentationConnectionAvailableEvent(
|
| + const e = new PresentationConnectionAvailableEvent(
|
| 'connectionavailable', { connection: result });
|
| assert_not_equals(e, null);
|
| assert_equals(e.connection, result);
|
|
|