Obsolete
Status Update
Comments
jo...@gmail.com <jo...@gmail.com> #2
This can be tested by running the score test found here:
http://html5demo.momac.net/
I just spent all day programming an important use of HTML5 Web Workers (company project) and I find it only works on Android phones that have not been upgraded to Froyo. To make matters worse, Google Gears was removed in Eclair, so I can't even fall back on that.
It would be nice if this could be promoted to High priority, as I am sure HTML5 compliance is an important part of building mobile web-enabled devices.
I just spent all day programming an important use of HTML5 Web Workers (company project) and I find it only works on Android phones that have not been upgraded to Froyo. To make matters worse, Google Gears was removed in Eclair, so I can't even fall back on that.
It would be nice if this could be promoted to High priority, as I am sure HTML5 compliance is an important part of building mobile web-enabled devices.
jo...@gmail.com <jo...@gmail.com> #3
My bad. It seems that the variable window.Worker is defined in Eclair, but is not actually usable. Froyo seems to ameliorate this by not defining the variable at all.
This test succeeds on Eclair:
window.Worker != undefined
A better way to test for this functionality would be:
typeof(window.Worker) === 'function'
This test succeeds on Eclair:
window.Worker != undefined
A better way to test for this functionality would be:
typeof(window.Worker) === 'function'
kl...@gmail.com <kl...@gmail.com> #4
Is this functionality intentionally disabled? Bug 36915899 implies that it worked at some point, and the following IBM article claims that web workers are available on Android: http://www.ibm.com/developerworks/xml/library/x-html5mobile4/index.html
I'm currently using Gingerbread on a Nexus S, and both my own script andhttp://diveintohtml5.org/detect.html#workers claim that web workers aren't supported:
Uncaught ReferenceError: Worker is not defined
I'm currently using Gingerbread on a Nexus S, and both my own script and
Uncaught ReferenceError: Worker is not defined
we...@gmail.com <we...@gmail.com> #5
[Comment deleted]
yo...@gmail.com <yo...@gmail.com> #6
I miss this feature so much from Android :-(
jo...@gmail.com <jo...@gmail.com> #7
I've been playing with the first full release of the Honeycomb SDK (not the preview version).
According tohttp://html5test.com/ , the Browser provided in the emulator still lacks any Web Workers support.
Please, Google, I beg thee, do not allow Android to become the IE6 of the smartphone space.
According to
Please, Google, I beg thee, do not allow Android to become the IE6 of the smartphone space.
sh...@gmail.com <sh...@gmail.com> #8
I've found the log to disable this feature in config.h android 2.2.
Hope they will add this feature back soon.
===log===>
commit 68698168e7547cc10660828f1fb82be7a8efa845
Author: Steve Block <steveblock@google.com>
Date: Wed Mar 17 14:37:19 2010 +0000
Disable workers
This is because V8 on Android does not have the required locking.
Also disables channel messaging, which is used only with workers.
Bug: 2522239
Change-Id: I6cb91b4048c7e1a0351e422561625397a2e98986
Hope they will add this feature back soon.
===log===>
commit 68698168e7547cc10660828f1fb82be7a8efa845
Author: Steve Block <steveblock@google.com>
Date: Wed Mar 17 14:37:19 2010 +0000
Disable workers
This is because V8 on Android does not have the required locking.
Also disables channel messaging, which is used only with workers.
Bug: 2522239
Change-Id: I6cb91b4048c7e1a0351e422561625397a2e98986
za...@gmail.com <za...@gmail.com> #9
Does anyone know if this has been reintroduced in 3.0-3.2?
jo...@gmail.com <jo...@gmail.com> #10
I have a Motorola Xoom with 3.1 (waiting for my 3.2 OTA...) and http://html5test.com/ still reports that there are no Web Worker features available.
I'd love to know when V8 on Android catches up with Google Chrome. I will be a very happy monkey when Android WebKit has all the same features as Google Chrome on the desktop.
How is Mozilla able to offer all the same features in Firefox 4 /5 regardless of platform? Firefox on Android has all the same JavaScript and HTML5 features as Firefox on Windows / MacOSX.
I'd love to know when V8 on Android catches up with Google Chrome. I will be a very happy monkey when Android WebKit has all the same features as Google Chrome on the desktop.
How is Mozilla able to offer all the same features in Firefox 4 /5 regardless of platform? Firefox on Android has all the same JavaScript and HTML5 features as Firefox on Windows / MacOSX.
ma...@gmail.com <ma...@gmail.com> #12
Hi,
While experimenting with Android 4.0 IS, I found that WebWorkers are not supported on it. Does this fix address that issue ?
1. After this fix, do webworkers work on Android ?
2. If yes, then installing a nightly build should do it for me, Is that correct ?
3. Would you happen to know the public release vehicle for this feature ? i.e. when is the next update of android slated ?
4. Also, if webworkers do work, can one access the WebSql database from inside of WebWorkers ?
regards
While experimenting with Android 4.0 IS, I found that WebWorkers are not supported on it. Does this fix address that issue ?
1. After this fix, do webworkers work on Android ?
2. If yes, then installing a nightly build should do it for me, Is that correct ?
3. Would you happen to know the public release vehicle for this feature ? i.e. when is the next update of android slated ?
4. Also, if webworkers do work, can one access the WebSql database from inside of WebWorkers ?
regards
ma...@gmail.com <ma...@gmail.com> #13
[Comment deleted]
re...@gmail.com <re...@gmail.com> #14
It seems Worker is not supported in ICS, and based on the branch timing, the fix seems not included in ICS branch.
jo...@gmail.com <jo...@gmail.com> #15
See here for a comprehensive review of WebKit in Android 4.0 "Ice Cream Sandwich" by Sencha:
http://www.sencha.com/blog/galaxy-nexus-the-html5-developer-scorecard
Web Workers are not supported in ICS.
Web Workers are not supported in ICS.
ma...@gmail.com <ma...@gmail.com> #16
Yeah, I can see they are not supported in ICS. Just trying to find out what the plan is. Is there a plan to support them at all ? If yes, when ?
ma...@gmail.com <ma...@gmail.com> #17
As per the earlier understanding the WebWorkers was disabled after eclair, that means
from froyo it was disbled.
Does this mean that the feature will still work in ICS even though it has issues,if enabled?
Experimented by enabling WebWorkers in ICS by 'ENABLE_WORKERS 1' and 'ENABLE_CHANNEL_MESSAGING 1' in config.h andAndroid.derived.v8bindings.mk .
Even though the below checks are passing with 'truetrue' after enabling WebWorkers in ICS,but a full-fledged webworkers testcase is still failing.
document.write(window.Worker != undefined);
document.write(typeof(window.Worker) === 'function');
As per webkit bug:61016 (https://bugs.webkit.org/show_bug.cgi?id=61016)(http://trac.webkit.org/changeset/93330)the fix was done for the 'In-process dedicated workers' in chromium port of webkit.So this implementation has to be ported to android as well, to support WebWorker fully in android?.
from froyo it was disbled.
Does this mean that the feature will still work in ICS even though it has issues,if enabled?
Experimented by enabling WebWorkers in ICS by 'ENABLE_WORKERS 1' and 'ENABLE_CHANNEL_MESSAGING 1' in config.h and
Even though the below checks are passing with 'truetrue' after enabling WebWorkers in ICS,but a full-fledged webworkers testcase is still failing.
document.write(window.Worker != undefined);
document.write(typeof(window.Worker) === 'function');
As per webkit bug:61016 (
we...@gmail.com <we...@gmail.com> #18
I looked into this last year, and what I found was:
Web workers won't work with the V8 javascript engine available in Android. It worked in Eclair, since JavaScriptCore was the JavaScript engine. V8 (as it exists in Android) doesn't support multiple execution threads.
You can try building with JSC enabled as the javascript engine, and enable web workers; but JSC is a bit slower.
Hope this helps.
Web workers won't work with the V8 javascript engine available in Android. It worked in Eclair, since JavaScriptCore was the JavaScript engine. V8 (as it exists in Android) doesn't support multiple execution threads.
You can try building with JSC enabled as the javascript engine, and enable web workers; but JSC is a bit slower.
Hope this helps.
cl...@gmail.com <cl...@gmail.com> #19
Well, I don't have words to describe my disappointment... This was my last problem with Android.
jo...@gmail.com <jo...@gmail.com> #20
This seems to be working in Chrome for Android.
Google has basically stopped developing the original Browser application, and I am guessing Chrome will replace it in Android 5.0.
If you are running an older version of Android that cannot install Chrome, then your problem won't be solved here unfortunately. Only tickets about the latest available code have even a slight chance of getting Google's attention here (sad but true).
Google has basically stopped developing the original Browser application, and I am guessing Chrome will replace it in Android 5.0.
If you are running an older version of Android that cannot install Chrome, then your problem won't be solved here unfortunately. Only tickets about the latest available code have even a slight chance of getting Google's attention here (sad but true).
Description
1. link to
2. test HTML5 feature, Web Worker.
ii. Actual Result:
Web worker isn't worked.
iii. Expected Result:
Web Worker should be worked.