Cleans up |isAsync| usage in accessibility js tests
The |isAsync| identifier is overloaded at the moment: SomeTestClass.prototype.isAsync and Callbackhelper.prototype.wrap(opt_callback, opt_isAsync); The ofrmer is part of the test framework (testing.Test) and the latter isn't and is public only to accessibility js tests. It is actually possible to infer whether the callback in the second case is async (via Es6 async functions). Do so and remove the unneeded param. R=anastasi@google.com AX-Relnotes: n/a Change-Id: I4081a6a5db159af70967a1f53c907512c229b8b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285062 Commit-Queue: Anastasia Helfinstein <anastasi@google.com> Reviewed-by:Anastasia Helfinstein <anastasi@google.com> Cr-Commit-Position: refs/heads/master@{#785908}
Showing
Please register or sign in to comment