From 81b4ce0069c9c98a7364ae95a36aa0769c36bfb1 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 11 Apr 2007 14:24:10 +0000 Subject: [PATCH] Blacklist a few non-Zotero errors in getErrors() --- chrome/content/zotero/xpcom/zotero.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index f95e9f1a4..aa60b4f8a 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -436,6 +436,7 @@ var Zotero = new function(){ var skip = ['CSS Parser', 'content javascript']; + msgblock: for each(var msg in messages.value) { //Zotero.debug(msg); try { @@ -447,6 +448,19 @@ var Zotero = new function(){ } catch (e) { } + var blacklist = [ + "No chrome package registered for chrome://communicator", + '[JavaScript Error: "Components is not defined" {file: "chrome://nightly/content/talkback/talkback.js', + '[JavaScript Error: "document.getElementById("sanitizeItem")' + ]; + + for (var i=0; i