On Tue, Dec 13, 2016 at 11:13 PM, Yusuke SUZUKI <[email protected]>
wrote:
> Awesome,
>
> In UIHelper, we heavily use Promises.
> I think we can further simplify the test code with async/await.
>
> For example,
>
> UIHelper.wait(async function () {
> await UIHelper.activateAt(shadowHost.offsetLeft + 5,
> shadowHost.offsetTop + 5);
> await UIHelper.activateAt(shadowHost.offsetLeft + 25,
> shadowHost.offsetTop + 25);
> });
>
Indeed! That would be more modern way of using these functions now that
await & async syntax’s are in.
- R. Niwa
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev