views:

12

answers:

0

I have a HTML5 app that uses websql for storing data.

Where possible, I'm using the readTransaction() method for read-only SELECT queries, and the transaction() method for INSERT/UPDATE/DELETE queries.

I'm not sure if there's a performance benefit to using readTransaction(), but it seems like the right thing to do.

The app works fine on desktop Safari, Chrome, iPhone (iOS4)...but on the iPad (iOS 3.2), it doesn't. When I enable the debug console (Settings -> Safari -> Developer -> Debug Console), I can see that it's complaining that there's no readTransaction() method.

Can anyone confirm if the iPad only supports a subset of the HTML5 database API? Obviously the easy fix is to change all readTransaction() calls to transaction(), but I just was wondering if anyone knows why readTransaction() doesn't work on the iPad?

I can't find any reference to this discrepancy on developer.apple.com or anywhere else.