ServiceWorker controller mismatch when prefetch is served #351
Labels
bug
The spec is broken or misaligned with the implementation in some way
in progress
The ideas discussed in this issue are actively being worked on in either implementation or spec
prefetch
Related to prefetching
This is a kind of meta issue to track the mismatch between:
claim()
when served by prefetch.Naively I'd like to expect [2][3][4] should be the same but they can be different for several reasons:
I and @nhiroki discussed an option to compute the service worker controller at the time of navigation/prefetch record matching (==[3]) and compare it against [1], to avoid this kind of mismatch.
However, I found this might be harder than expected. This is probably doable (not sure in the short-term though) and I'll try another iteration later.
The text was updated successfully, but these errors were encountered: