What versions of Mobile WebKit support JavaScript Workers?

My google foo fails me. I am trying to determine which versions of Mobile WebKit (iOS, Android, Blackberry Torch, etc.) support the HTML5 function that works with JavaScript. Does anyone know for sure?

EDIT I created a page that registers whether your browser supports the Worker API . Delete it if you have a WebKit mobile device and I will post a resume after a while. Thanks!

EDIT II Finally, I got a round tie and added the ability to see a summary of the results. Same link: http://segdeha.com/w/workers.html

+7
javascript mobile webkit
source share
4 answers

Here the results are based on my own function detection tests:

var supportsWorkers = !!window.Worker; 
  • iOS 4.0.2: no (simulator)
  • iOS 4.0.1: no (simulator)
  • iOS 4.0: no
  • iOS 3.1.3: no
  • iOS 3.0: yes
  • iOS 2.2.1: no (iPhone 2G)

  • Android 2.2: none (Nexus One and emulator)

  • Android 2.1-update1: yes
  • Android 2.1: yes
  • Android 2.0: yes
  • Android 1.6: no
  • Android 1.5: no

  • BlackBerry 6: yes (tested on BB 9800 Torch)

  • webOS 1.3: no (emulator)
  • Fennec / 1.0b1: yes (emulator)

Some of them were tested on real devices, and some on an emulator. The results are interesting. It looks like it was turned on and then turned off later on both Android and iOS. Keep in mind that this is just a functional test, not an actual functional test.

+5
source share

Update: current iOS (5.1) supports Web Worker (tested with iPad 2 and the URL above in the question.

+1
source share

I'm not sure what to do.

My google-fu also failed.

However, I can say that they are not supported in the Froyo webkit browser (Android 2.2). (According to Modernizr)

Perhaps some guys from the iPhone and BB can listen.

0
source share

iPhone OS 4.1 does not support work (on iPod Touch). That I am ashamed, just as I was going to write webapp. Tested on the device itself.

 "Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7" 
0
source share

All Articles