Testing in safari/chrome/mobi-tester:
works fine
Testing on a friend's iphone 4 running iOS 4.3.3:
works fine
Testing on my iPod touch running iOS 4.0.2:
Javascript Error on Line 26...INVALID_STATE_ERR: DOM Exception 11:...
..and does not load the list of music events
The function causing the error is (on mobile safari only) is:
window.开发者_开发问答openDatabase();
I thought this should be no problem for iOS 4.0.2?
Possibly I would say this problem from the current firmware you are using,
because I have tested with iPod touch iOS 4.3.3 and iPhone 3G and they are ok with no error.
You may want to hear some more from other people opinion but mine was no problem.
Sorry, I'm late to this. FWIW, it sounds like the database on your iPod touch is out of date. Have you tried deleting it and having the code re-create it? You can delete databases via the relevant section in Safari options on your iOS device.
精彩评论