{"action":"created","issue":{"url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/226","repository_url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js","labels_url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/226/comments","events_url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/226/events","html_url":"https://github.com/ghacksuserjs/ghacks-user.js/issues/226","id":253874049,"number":226,"title":"proposal: 2404 indexedDB -> inactive","user":{"login":"Thorin-Oakenpants","id":16656956,"avatar_url":"https://avatars3.githubusercontent.com/u/16656956?v=4","gravatar_id":"","url":"https://api.github.com/users/Thorin-Oakenpants","html_url":"https://github.com/Thorin-Oakenpants","followers_url":"https://api.github.com/users/Thorin-Oakenpants/followers","following_url":"https://api.github.com/users/Thorin-Oakenpants/following{/other_user}","gists_url":"https://api.github.com/users/Thorin-Oakenpants/gists{/gist_id}","starred_url":"https://api.github.com/users/Thorin-Oakenpants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thorin-Oakenpants/subscriptions","organizations_url":"https://api.github.com/users/Thorin-Oakenpants/orgs","repos_url":"https://api.github.com/users/Thorin-Oakenpants/repos","events_url":"https://api.github.com/users/Thorin-Oakenpants/events{/privacy}","received_events_url":"https://api.github.com/users/Thorin-Oakenpants/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-08-30T04:20:44Z","updated_at":"2017-08-31T12:40:33Z","closed_at":null,"author_association":"OWNER","body":"IndexedDB is problematic.\r\n\r\n### :tractor: issue 1: internals\r\nIt uses your `profile/storage` folder which has three folders, one of which is used internally by FF ( the `permanent` folder). Disabling indexedDB causes errors on Firefox startup for example\r\n\r\n![noindexeddb](https://user-images.githubusercontent.com/16656956/29164294-101da666-7e13-11e7-8636-2a64588207e5.png)\r\n\r\nNote: I have had indexedDB disabled for 2+ years with no FF problems that I know of up to FF54. Since 55 I have had it enabled as I am especially weary of issues arising from WE and FF migration to 57.\r\n\r\n### :blue_car: issue 2: add-ons & web ext\r\nSome legacy and web ext's use indexedDB. While I have not seen any issues with this my add-ons up til now, it looks like it **may** be an issue with Web Exts (I am not a dev, but I believe the methods for local storage under WE are more limited eg no longer using extensions.* prefs)\r\n\r\n### :taxi: issue 3: websites\r\nWebsites can pack a sad when indexedDB is disabled. EVEN when it is not used. 2+ years and I still do not have a problem with this really. I do not think it is widespread, but I lack any metrics\r\n\r\n### :ambulance: issue 4: control <sup>someone better call a wambulance</sup>\r\nThere are NO mechanisms currently within FF for dealing with indexedDB. You cannot clear by host or control access per domain (yet!). Because I have never bothered with indexedDB, I am not even sure it can be cleared on close, certainly not with it's own pref (but may be bundled with clearing something else - **someone please let me know**)\r\n\r\nThis may change (here's hoping) as the move to WE API and requests on these have opened new doors - eg see [1333050](https://bugzilla.mozilla.org/show_bug.cgi?id=1333050) .. which has a sort of meta ticket see [1340511](https://bugzilla.mozilla.org/show_bug.cgi?id=1340511) (yes, its P5 because it is _sooo broad_). Also do not forget the new permissions UI coming, which may help play a part.\r\n\r\n### :fire_engine:  notes <sup>yes, that's a fire engine</sup>\r\n\r\n- FYI: indexedDB is disabled in PB mode (because there are no mechanisms to control this persistent storage, they had to leave it out)\r\n- indexedDB is covered by FPI. This does not solve the issue of 1st party tracking but does mitigate 3rd party, and even enhances the granular level of uMatrix\r\n   * turn on indexedDB + FPI and visit youtube, you should see `profile/storage/default` entries such as `https+++www.youtube.com^firstPartyDomain=youtube.com`\r\n- a ~~workaround~~ hack is to set restrictive permissions on the `profile/storage/default` and `profile/storage/temporary` directories (see [first post here](https://www.wilderssecurity.com/threads/firefox-and-indexeddb.395113/). This may make some sites work better by tricking them, but does nothing for sites that would still break\r\n- you could use external apps to clean the two above folders\r\n\r\n### conclusion\r\nThere are three upsides to enabling indexedDB (issues 1,2,3) and a somewhat mitigated (notes) downside (issue 4). I am more concerned that at FF55+ we should flip this for migration purposes to Web Ext - it's a bumpy ride. That however, does not help ESR users.\r\n\r\nClass, discuss!"},"comment":{"url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/comments/326283093","html_url":"https://github.com/ghacksuserjs/ghacks-user.js/issues/226#issuecomment-326283093","issue_url":"https://api.github.com/repos/ghacksuserjs/ghacks-user.js/issues/226","id":326283093,"user":{"login":"arno29","id":31493014,"avatar_url":"https://avatars3.githubusercontent.com/u/31493014?v=4","gravatar_id":"","url":"https://api.github.com/users/arno29","html_url":"https://github.com/arno29","followers_url":"https://api.github.com/users/arno29/followers","following_url":"https://api.github.com/users/arno29/following{/other_user}","gists_url":"https://api.github.com/users/arno29/gists{/gist_id}","starred_url":"https://api.github.com/users/arno29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arno29/subscriptions","organizations_url":"https://api.github.com/users/arno29/orgs","repos_url":"https://api.github.com/users/arno29/repos","events_url":"https://api.github.com/users/arno29/events{/privacy}","received_events_url":"https://api.github.com/users/arno29/received_events","type":"User","site_admin":false},"created_at":"2017-08-31T12:40:33Z","updated_at":"2017-08-31T12:40:33Z","author_association":"NONE","body":"I agree. You again face the choice to please one user or another. Such controversial points have already been. It's up to you to decide."}}
{"actor":{"display_login":"arno29"}}