Fix preload tests failing on wpt.fyi dashboard
verifyNumberOfDownloads only counts resource timing entries with transferSize > 0, so it doesn't count if the resource came from a cache. (See https://bugzilla.mozilla.org/show_bug.cgi?id=1222633#c38 for background why we have it.) link-header-preload-nonce.html and link-header-preload-srcset.tentative.html were failing on wpt.fyi dashboard because they have used the same subresource URLs as other tests, and preloaded resources from the disk cache. This patch adds unique query parameters to these URLs so that they don't conflict with other tests. Bug: 922343 Change-Id: I7fd88530f5fdd83ed2a22d2e2893cc446debd036 Reviewed-on: https://chromium-review.googlesource.com/c/1411963Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#623157}
Showing
Please register or sign in to comment