LoAF: measure promise resolvers during pending frames
The state check for promise resolvers is meant to avoid
measuring promise resolvers during rendering. However,
some promise resolvers occur while waiting for a frame
to render.
This reproduces quite reliably in hm.com
Bug: 378896421
Change-Id: I79d2ce3bd15b06b9283015c628f0509f46b2490a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6023486
Commit-Queue: Noam Rosenthal nrosenthal@chromium.org
Reviewed-by: Scott Haseley shaseley@chromium.org
Cr-Commit-Position: refs/heads/main@{#1383193}