[Webkit-unassigned] [Bug 205286] REGRESSION: [ Mac wk2 ] imported/w3c/web-platform-tests/service-workers/service-worker/update-no-cache-request-headers.https.html is a flakey failure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 16 13:16:20 PST 2019


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

--- Comment #7 from Chris Dumez <cdumez at apple.com> ---
We fail because of this check:
    // If newestWorker is not null, newestWorker's script url equals job's script url with the exclude fragments
    // flag set, and script's source text is a byte-for-byte match with newestWorker's script resource's source
    // text, then:
    if (newestWorker && equalIgnoringFragmentIdentifier(newestWorker->scriptURL(), job.scriptURL) && result.script == newestWorker->script()) {

in SWServerJobQueue::scriptFetchFinished(const ServiceWorkerFetchResult&).

test-request-headers-worker.js is supposed to include a timestamp to make it unique. Maybe the initial install and the update happen so quickly after one another that the timestamp does not have time to change.

-- 
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/20191216/974836cf/attachment.htm>


More information about the webkit-unassigned mailing list