Hacker News new | ask | show | jobs
by cdonnellytx 5517 days ago
What makes it really bad is that there is also this bug in mobile WebKit from four years ago that nobody has ever gotten around to fixing:

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

1 comments

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...