predictors: Ignore repeating subresources while checking.
This eliminates one of the sources of flakiness in ResourcePrefetchPredictorBrowserTest. It seems impossible to avoid an emergence of several requests belonging to the same subresource but we could just ignore them as real code does. The real code also ignores repeating entries of the same subresource but doesn't modify collection passing to test observer. BUG=650253 Review-Url: https://codereview.chromium.org/2529263003 Cr-Commit-Position: refs/heads/master@{#434951}
Showing
Please register or sign in to comment