Make debug log persistent

Save log entries in indexedDB rather than just in memory. Reload them
whenever the background page is refreshed.

// FREEBIE
This commit is contained in:
lilia 2016-02-02 17:55:27 -08:00
parent 86132a38a8
commit 87ddcef333
4 changed files with 50 additions and 7 deletions

View file

@ -4,6 +4,7 @@
;(function() {
'use strict';
console.log('background page reloaded');
// register some chrome listeners
if (chrome.notifications) {
chrome.notifications.onClicked.addListener(function() {