[Webkit-unassigned] [Bug 227113] PWA mistakingly thinking to be offline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 4 23:49:12 PDT 2021


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

--- Comment #5 from youenn fablet <youennf at gmail.com> ---
I don't think certificate would make a difference here.

I tried again https://github.com/mperktold/vaadin14-embedded-jetty on an iPad and attached web inspector to the service worker immediately after opening the page. I then checked navigator.onLine value, which was as expected. I toggled network on/off and validated onLine is updated.

I also put wifi off and validated 'you are offline' is shown. When I put wifi on again, the page gets refreshed.

There could be a timing issue of course but I haven't found anything obvious.
Is there a way you could provide a https://vaadin14-embedded-jetty.herokuapp.com/ version that does reproduce the issue for you?


> It stays this way even when refreshing the page, the only way to recover is to clear the browser's cache.

Could you check the value of navigator.onLine in the web page and in the service worker when you are in that case?

-- 
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/20210705/a0f25928/attachment.htm>


More information about the webkit-unassigned mailing list