Re:The Problem with Sencha Touch and PhoneGap
by greendestiny on Wednesday May 11, 2011 @09:38PM
(#2539179)
I had a big problem with HTML not parsing in phonegap. It was intermittent but far more often than I would expect for near 100% CPU. This fix on stackoverflow solved the problem entirely for me: http://stackoverflow.com/questions/3644474/calls-to-update-d...
http://blog.johnmckerrell.com/2007/03/07/problems-with-safar...
Basically if you are at or near 100% CPU, Safari’s HTML parser silently fails to parse your HTML.
Additionally, we have found this is not limited to the innerHTML property; we have observed the problem to happen with the W3C recommended method Range.createContextualFragment.
EDIT: formatting and cleanup