Fix flaky ExtensionWebRequestApiTest.WebRequestTypes
This started flaking after WebRequest was moved to UI in http://crrev.com/c/1682434. Previously, we got lucky that the beacon requests from unloaded frames came in before the FrameData was removed from the frame data map, since WebRequest could grab the FrameData on IO before the beacon request started. This CL stores recently deleted frames, and posts a task for the removal of the deleted frame's FrameData so we have access to it when the beacon request comes in. Bug: 522129, 980774 Change-Id: I1fa0d16d52c52cf61d1095588882170b48ab3e32 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1713864 Commit-Queue: Clark DuVall <cduvall@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#680134}
Showing
Please register or sign in to comment