[Extensions] Re-enable some declarativeNetRequest tests.
The Service Worker versions of these tests were disabled for being flaky. The failures were due to the tests' restarting when the extension was reloaded to disable file access. If the test got to the point of adding a dynamic rule, that state would be persist and the test would fail trying to add that rule again. The test infrastructure has been fixed and it no longer reloads extensions to modify file access. Testing shows these tests are not flaky now that they're not restarting. I also added a ScopedCurrentChannel to a test that uses a feature that's only available on the TRUNK channel. Without that, this test will fail in other channels. Bug: 1111240 Change-Id: I429fab8581d9d503211fd4a385f1f1c69a99736f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500441 Commit-Queue: David Bertoni <dbertoni@chromium.org> Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#840255}
Showing
Please register or sign in to comment