tabex
tabex copied to clipboard
Mobile devices issues
Mobile devices can have different behaviour:
- in background tabs
- when display is turned off
This ticket is to track state of things
Timers at mobile devices
Browser | Background | Display off | Background WW | Display off WW |
---|---|---|---|---|
Android browser | OK | fail | OK | fail |
Android FF | fail | fail | OK | OK |
Android Chrome | OK | OK | OK | OK |
iOS Chrome | OK | fail | OK | fail |
iOS Safari | fail | fail | fail | fail |
- iOS Safari - sometimes timer in background can continue working 0-20 seconds
- iOS Safari - foreground tab continue working 10-15 seconds after display turned off
Conclusion
- Everything is bad on ios. The only solution is to reselect master.
- On android things are acceptable, if you generate timer events from WebWorker
- SharedWorker will not help:
- not supported in browsers with timer problems
- not much needed in browsers without timer problems
Code src: https://github.com/Kirill89/tabex-test