WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
171277
navigator.onLine always returns true on iOS
https://bugs.webkit.org/show_bug.cgi?id=171277
Summary
navigator.onLine always returns true on iOS
sudheer Kumar
Reported
2017-04-25 09:36:14 PDT
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
Comment 1
2017-04-25 18:37:38 PDT
<
rdar://problem/31827156
>
Brady Eidson
Comment 2
2017-04-26 16:15:02 PDT
(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"?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug