[Webkit-unassigned] [Bug 248424] imported/w3c/web-platform-tests/fetch/stale-while-revalidate/revalidate-not-blocked-by-csp.html times out

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 28 15:04:31 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=248424

--- Comment #2 from Ryan Reno <rreno at apple.com> ---
Fix for this is pretty simple. The Python server only increments the count when there isn't a `query` parameter in the request. The initial fetch to get the image incremented the counter to 1 but in the test's "wait for revalidate" loop we always called fetch with the `query` URL parameter. This caused the server to never increment count.

I added a boolean which we flip every other loop. This boolean determines whether or not we add `query` to the URL and in turn whether or not the server will increment the count.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221128/9bc344f7/attachment-0001.htm>


More information about the webkit-unassigned mailing list