Index: lib/adblockplus_compat.js |
=================================================================== |
--- a/lib/adblockplus_compat.js |
+++ b/lib/adblockplus_compat.js |
@@ -149,16 +149,18 @@ require.scopes.io = |
readFromFile: function(file, decode, listener, callback, timeLineID) |
{ |
if ("spec" in file && /^defaults\b/.test(file.spec)) |
{ |
// Code attempts to read the default patterns.ini, we don't have that. |
// Make sure to execute first-run actions instead. |
callback(null); |
+ if (localStorage.currentVersion) |
+ seenDataCorruption = true; |
delete localStorage.currentVersion; |
require("filterNotifier").FilterNotifier.triggerListeners("load"); |
return; |
} |
this._getFileEntry(file, false, function(fs, fileEntry) |
{ |
fileEntry.file(function(file) |