And add unit tests to cover disable/enable flags using a
`ScopedFeatureList`.
This is a follow-up to the intent-to-ship of removing clamp in
setTimeout(...,0), see
https://groups.google.com/a/chromium.org/g/blink-dev/c/HKPTp7C1LwY/m/5Rl78YJfAwAJ
NOTE TO SHERRIFS:
If any tests are flaky, please help to change setTimeout(..., 0)
to setTimeout(..., 1) if it can be found in a test that regressed
before reverting this CL. Otherwise please disable the test and
assign the bug to me, I'll dig more.
Bug: 402694
Change-Id: I436dcb6bb4a8ed43844cd0833bf0ef82528b0a95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3243793
Reviewed-by: Scott Haseley <shaseley@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Cr-Commit-Position: refs/heads/main@{#944816}