commit | 2618570e696446b406c6819e2c0e61dc67af6bae | [log] [tgz] |
---|---|---|
author | jonross <[email protected]> | Mon Apr 08 18:54:10 2019 |
committer | Commit Bot <[email protected]> | Mon Apr 08 18:54:10 2019 |
tree | b74ff5618ae0e99a12f5c6bf8e7fc7e426fd4bb3 | |
parent | e76455b04cdca77154907676d45e0bfd8cfeab68 [diff] |
Non-headless Fuzzy Blink Web Tests This is a split of a previous review: https://chromium-review.googlesource.com/c/chromium/src/+/1500784 There we discussed both the non-headless content_shell, as well as fuzzy pixel diffs. However that review also had testing infrastructure changes which we are blocked on landing. This change pulls out the portion required for running SkiaRenderer and Vulkan blink_web_tests. So that the team can run them locally. content_shell defaults to a headless state when running the blink_web_tests. Which forces Chrome to perform software rendering. There is currently no Swift Shader equivalent for Vulkan. So we cannot use this for testing. This change introduces a new Chrome switch "--disable-headless-mode" which prevents the content_shell from triggering the headless state. Actual GPU output introduces a variance from the baseline expectation files. So this change also updates image_diff to have a new flag "--fuzzy-diff" which allows it to have a tolerance in pixel differences. A corresponding "--fuzzy-diff" flag has been added for blink_web_tests to be able to trigger this. I've also updated documentation of blink_web_tests based on findings while writting this. A follow up change will land tests on the Chromium GPU.FYI bots. Bug: 925161 Change-Id: Ifd3837ec48a32bbdc776433e8c543138dde7418d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1553280 Commit-Queue: Jonathan Ross <[email protected]> Reviewed-by: Kenneth Russell <[email protected]> Reviewed-by: Antoine Labour <[email protected]> Reviewed-by: Dirk Pranke <[email protected]> Cr-Commit-Position: refs/heads/master@{#648767}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .