Factor out common code in distiller page browser test.
ExecuteJsScript() is used only once in this CL but will be used in new tests added by https://crrev.com/c/1922788. This CL also runs clang-format on pinch_tester.js and modifies it to return a bool instead of a dict. The latter simplifies verification of script execution in the C++ portion of the test. Bug: 1016615 Change-Id: I2c847eb53556a30e991d988fb676c6a3fa5aee8a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1971702 Commit-Queue: Aran Gilman <gilmanmh@google.com> Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#726585}
Showing
Please register or sign in to comment