predictors: Fuzzy comparison of request priority for images.
The browser tests for ResourcePrefetchPredictor check that the actual request priority is equal to the expected value. But for the images the priority cannot be precisely defined because there is a race between the preload scanner issuing fetch requests and frame view performing layout and promoting priorities of all visible images. BUG=650253,673028 Review-Url: https://codereview.chromium.org/2569723002 Cr-Commit-Position: refs/heads/master@{#437958}
Showing
Please register or sign in to comment