{"action":"closed","issue":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-quick-search/issues/27","labels_url":"https://api.github.com/repos/nolanlawson/pouchdb-quick-search/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/nolanlawson/pouchdb-quick-search/issues/27/comments","events_url":"https://api.github.com/repos/nolanlawson/pouchdb-quick-search/issues/27/events","html_url":"https://github.com/nolanlawson/pouchdb-quick-search/issues/27","id":68257730,"number":27,"title":"search function is causing issue on Safari (OS X and iOS)","user":{"login":"nareshbhatia","id":1220198,"avatar_url":"https://avatars.githubusercontent.com/u/1220198?v=3","gravatar_id":"","url":"https://api.github.com/users/nareshbhatia","html_url":"https://github.com/nareshbhatia","followers_url":"https://api.github.com/users/nareshbhatia/followers","following_url":"https://api.github.com/users/nareshbhatia/following{/other_user}","gists_url":"https://api.github.com/users/nareshbhatia/gists{/gist_id}","starred_url":"https://api.github.com/users/nareshbhatia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nareshbhatia/subscriptions","organizations_url":"https://api.github.com/users/nareshbhatia/orgs","repos_url":"https://api.github.com/users/nareshbhatia/repos","events_url":"https://api.github.com/users/nareshbhatia/events{/privacy}","received_events_url":"https://api.github.com/users/nareshbhatia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T04:17:18Z","updated_at":"2015-04-14T11:48:20Z","closed_at":"2015-04-14T11:48:20Z","body":"Search is working for me very well on Chrome and Firefox. However as soon as I call search on Safari (Mac OS X or iOS), I get this dialog box:\r\n\r\n> Allow this website to use space on your disk? The website “http://localhost:3000” is requesting 5 MB of disk space to store “_pouch_glossary-search-41aedf802eabccbf360b0ea56f611df1” as a database on your disk. Currently, this website is allowed to use 5 MB of disk space.\r\n\r\nWhen I click \"Allow\" the dialog box goes away and then comes back up again and again. This happens for about 20 times and when the dialog box finally goes away, the search index has not been created.\r\n\r\nHere's the relevant code:\r\n\r\n    return db.search({\r\n        fields: ['name', 'tags'],\r\n        build: true\r\n    });\r\n"}}