[w3c/ServiceWorker] New 'update via cache' value doesn't take effect in register algorithm. (#1406)

In register algorithm step 5.3, if job's script url equals newestWorker's script url but the 'update via cache' is different. Then it runs to step 7 to do the Update. However, in Update algorithm, it uses the 'update via cache' value from existing registration instead of the job's 'update via cache' value. It seems that job's new value will not be used and lost. I think the Update algorithm should be called with using the job's new 'update via cache' value.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1406

Received on Friday, 17 May 2019 06:15:28 UTC