ios simulator - Are Apple's simulated iOS devices' Safari apps exactly the same as real devices for testing offline storage? -
i want test offline web app , using html5 storage, in particular testing:
- application cache
- websql
- localstorage
do simulators have same limits , implementations safari on real ios device?
for example, code work same in giving user prompts , limits on real ipad?
db.transaction(function ontransaction(t) { t.executesql('insert entries (name, size, date, payload) values(?, ?, ?, ?)', data, function onexecutesqlcallback(t, results) { ... }, function onexecutesqlerror(t, e) { // returning true rollback, false continue transaction; return false; }); }, function ontransactionerror(sqlerror) { //over quota if (sqlerror.code === sqlerror.quota_err) { ... } }, function ontransactionsuccess() { ... });
Comments
Post a Comment