| Index: third_party/WebKit/LayoutTests/presentation/presentation-start.html
|
| diff --git a/third_party/WebKit/LayoutTests/presentation/presentation-start.html b/third_party/WebKit/LayoutTests/presentation/presentation-start.html
|
| index 1f824eab2de8c8870b2d74e1e1e9dc1fe236c63f..f23de70e24caf6f70c6172b169b24add231d3a9e 100644
|
| --- a/third_party/WebKit/LayoutTests/presentation/presentation-start.html
|
| +++ b/third_party/WebKit/LayoutTests/presentation/presentation-start.html
|
| @@ -11,15 +11,15 @@
|
| var button = document.querySelector('button');
|
|
|
| var testPresentationRequestStart = function(t, requestArgument, connectionUrl) {
|
| - presentationServiceMock.then(t.step_func(service => {
|
| + presentationServiceMock.then(service => {
|
| // This is receiving the user gesture and runs the callback.
|
| - waitForClick(t.step_func(_ => {
|
| + waitForClick(() => {
|
| new PresentationRequest(requestArgument).start().then(
|
| t.step_func_done(connection => {
|
| assert_equals(connection.url, connectionUrl);
|
| }));
|
| - }), button);
|
| - }));
|
| + }, button);
|
| + });
|
| };
|
|
|
| async_test(t => {
|
|
|