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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 18 23:33:40 PST 2022


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

Akshay <akshaythakare.mailbox at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akshaythakare.mailbox at gmail
                   |                            |.com

--- Comment #10 from Akshay <akshaythakare.mailbox at gmail.com> ---
I am able to reproduce - naviagator.onLine always returning false - even when device is connected to the internet.

steps: 
1. open iphone simulator (I used iphone_12_pro)
2. launch safari
3. goto google.com
4. open developer tools for the tab opened in step 3.
5. check navigator.onLine, it will be true.
6. Now connect to another wifi network which is not connected to the Internet
7. check navigator.onLine, it will be false.
Till this point everything is working as expected.
9. Then connect back to the wifi network which is connected to the Internet
10. check navigator.onLine, it will still be false (the unexpected response).


userAgent :
Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Mobile/15E148 Safari/604.1"

-- 
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/20220119/45a4b261/attachment.htm>


More information about the webkit-unassigned mailing list