
This CL detects the reset used between WPT tests and forces a new BrowsingInstance when the flag --force-browsing-instance-reset-between-tests is included with a virtual test suite. It also adds this flag to the virtual test suite used to run the OriginAgentCluster (OAC) web tests. This prevents OAC state from a previous test from affecting subsequent tests, since OAC state is per-BrowsingInstance. Bug: 1227911 Change-Id: Ia330d3cb781e57e8709f80e51b8feef208e6d058 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3212936 Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Erik Staab <estaab@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Commit-Queue: James Maclean <wjmaclean@chromium.org> Cr-Commit-Position: refs/heads/main@{#974736}