Bubble up InvalidStateErrors and log them

These may be indicative of a potentially fatal lack of disk space.

// FREEBIE
This commit is contained in:
lilia 2016-08-09 16:11:46 -07:00
parent 83629df560
commit e5b54d9b6a
3 changed files with 20 additions and 0 deletions

View file

@ -4,6 +4,10 @@
;(function() {
'use strict';
window.onInvalidStateError = function(e) {
console.log(e);
};
console.log('background page reloaded');
// register some chrome listeners
if (chrome.notifications) {