From ce72b450bf583951efb48e7291dc57f40060518c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 24 Sep 2015 23:55:45 -0400 Subject: [PATCH] Fix missing colored tag swatches on Windows/Linux In Firefox 41, file: URIs can no longer be loaded (at least via Image) from the hidden window on Windows/Linux, but chrome: URIs still work. Not sure why I was using a file: URI to begin with. --- chrome/content/zotero/xpcom/data/tags.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js index 790b4b8809..3ea3f26f25 100644 --- a/chrome/content/zotero/xpcom/data/tags.js +++ b/chrome/content/zotero/xpcom/data/tags.js @@ -729,9 +729,6 @@ Zotero.Tags = new function() { let ios = Components.classes['@mozilla.org/network/io-service;1'] .getService(Components.interfaces["nsIIOService"]); let uri = ios.newURI(extraImage, null, null); - uri = Components.classes['@mozilla.org/chrome/chrome-registry;1'] - .getService(Components.interfaces["nsIChromeRegistry"]) - .convertChromeURL(uri); var img = new win.Image(); img.src = uri.spec;