Bug 171277
| Summary: | navigator.onLine always returns true on iOS | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | sudheer Kumar <pskr.1894> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Major | CC: | achristensen, ap, beidson, bfulgham, jond, pskr.1894, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 9 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 9.3 | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=225645 | ||
sudheer Kumar
My application is also works on offline, and i am using navigator.onLine to know whether browser is in online or offline.
This API is working in desktop chrome browser (windows & Mac), safari browser(Mac) & android chrome browsers.
But in iOS this API is always returning as TRUE & application is not turning to offline mode in both Safari & Chrome browsers.
Please suggest how to know whether the chrome browser is in offline or online in iOS (iPhone & iPad).
Thank you
Regards
Sudheer Kumar
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/31827156>
Brady Eidson
(In reply to sudheer Kumar from comment #0)
> But in iOS this API is always returning as TRUE & application is not turning
> to offline mode in both Safari & Chrome browsers.
I note a lack of instructions to reproduce what you're doing where you expect it to be returning offline.
How exactly are you going "offline"?