From 5cfea3933f920822b638683ea234d4aa6866e2f4 Mon Sep 17 00:00:00 2001 From: eight Date: Thu, 11 Oct 2018 22:46:34 +0800 Subject: [PATCH] Add some comment to db.js --- background/db.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/background/db.js b/background/db.js index 0347db46..57057553 100644 --- a/background/db.js +++ b/background/db.js @@ -1,5 +1,12 @@ /* global tryCatch chromeLocal ignoreChromeError */ /* exported db */ +/* +Initialize a database. There are some problems using IndexedDB in Firefox: +https://www.reddit.com/r/firefox/comments/74wttb/note_to_firefox_webextension_developers_who_use/ + +Some of them are fixed in FF59: +https://www.reddit.com/r/firefox/comments/7ijuaq/firefox_59_webextensions_can_use_indexeddb_when/ +*/ 'use strict'; const db = (() => {