Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhoneGap iOS + DOM Exception 18

I'm going a window.onerror "SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security policy of the user agent." Each time I load my iOS PhoneGap app. THe app uses local storage and webSQL. I have isolated this error to be throw when I open my db using: db = window.openDatabase("db", "1.0", "Test DB", 1000000);

I haven't had this issue before and my code hasn't changed - this just came out of now where. I've been looking at the iOS 5.1 web view storage bugs and fear it may be related.

Help?

like image 948
Henry Avatar asked Apr 04 '12 06:04

Henry


1 Answers

It's a confirmed Apple bug in iOS 5.1. Details here in this PhoneGap/Cordova issue tracker: https://issues.apache.org/jira/browse/CB-347

like image 98
Shazron Avatar answered Sep 30 '22 13:09

Shazron