{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6428","repository_url":"https://api.github.com/repos/pouchdb/pouchdb","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6428/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6428/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6428/events","html_url":"https://github.com/pouchdb/pouchdb/issues/6428","id":222259020,"number":6428,"title":"destroy on safari on IPhone and Pouch.","user":{"login":"tshad","id":12076957,"avatar_url":"https://avatars3.githubusercontent.com/u/12076957?v=3","gravatar_id":"","url":"https://api.github.com/users/tshad","html_url":"https://github.com/tshad","followers_url":"https://api.github.com/users/tshad/followers","following_url":"https://api.github.com/users/tshad/following{/other_user}","gists_url":"https://api.github.com/users/tshad/gists{/gist_id}","starred_url":"https://api.github.com/users/tshad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshad/subscriptions","organizations_url":"https://api.github.com/users/tshad/orgs","repos_url":"https://api.github.com/users/tshad/repos","events_url":"https://api.github.com/users/tshad/events{/privacy}","received_events_url":"https://api.github.com/users/tshad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-17T23:26:53Z","updated_at":"2017-04-19T21:41:58Z","closed_at":null,"body":"I am getting an error when I try to do a destroy on my attachment table.  This works fine on safari on the desktop and chrome but not on the IPhone safari.\r\n\r\nWhen do the following:\r\n\r\n```\r\n   }).then(function () {\r\n      if (DB_TaskImages != null)\r\n         return DB_TaskImages.destroy();\r\n   }).then(function () {\r\n\r\n```\r\nIt goes to the catch with this error:\r\n\r\n{“status”:500 “name”:”web-sql-went-bad”,”message”:”undknown”,”reason”:”Security:Error”:”DOM Exception 18”}\r\n\r\nI had a different error before I had increased the size of the database to 100 MB.  Even that was strange as I had set it as: \r\n\r\n DB_TaskImages = new PouchDB(DBNAME_TaskImages, { auto_compaction: true, size: 100});\r\n\r\nBut the dialog box that came up asked if I wanted to change the size to 500 MB.\r\n\r\nNot sure if that is related.\r\n\r\nThanks,\r\n\r\nTom"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/295456460","html_url":"https://github.com/pouchdb/pouchdb/issues/6428#issuecomment-295456460","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6428","id":295456460,"user":{"login":"tshad","id":12076957,"avatar_url":"https://avatars3.githubusercontent.com/u/12076957?v=3","gravatar_id":"","url":"https://api.github.com/users/tshad","html_url":"https://github.com/tshad","followers_url":"https://api.github.com/users/tshad/followers","following_url":"https://api.github.com/users/tshad/following{/other_user}","gists_url":"https://api.github.com/users/tshad/gists{/gist_id}","starred_url":"https://api.github.com/users/tshad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshad/subscriptions","organizations_url":"https://api.github.com/users/tshad/orgs","repos_url":"https://api.github.com/users/tshad/repos","events_url":"https://api.github.com/users/tshad/events{/privacy}","received_events_url":"https://api.github.com/users/tshad/received_events","type":"User","site_admin":false},"created_at":"2017-04-19T21:41:58Z","updated_at":"2017-04-19T21:41:58Z","body":"Would this same plug-in and option work on all devices?  This app may be used by desktops, iphones, ipads, androids using safari, chrome or firefox.\r\n\r\nThanks."}}
{"actor":{"display_login":"tshad"}}