[DNR] Properly attribute actions for main-frame navigation requests
This CL leverages crrev.com/c/1923611 by using the navigation ID within WebRequestInfo to correlate a main-frame navigation request originating from the previously active WebContents to the new WebContents loaded from that request. This is accomplished by adding the actions matched with a request to a pending set of actions for a given navigation ID if the request is associated main-frame navigation. Once the navigation completes, the actions matched for the navigation are added to the badge text and cleared from the pending set. Bug: 992251 Change-Id: Iac7b3502a3598c9d06ab3261ea33f30d2cb20ee7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1956110 Commit-Queue: Kelvin Jiang <kelvinjiang@chromium.org> Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#726572}
Showing
Please register or sign in to comment