[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 301/483: Backed out changeset 39d62a84a994 (Register UA stylesheets instead of user stylesheets, these have higher priority) - - this makes us hit bug 541506

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 5fd9c4f130d1c0f11db385b7e495a43a5f64e113
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Wed Jan 5 16:24:52 2011 +0100

    Backed out changeset 39d62a84a994 (Register UA stylesheets instead of user stylesheets, these have higher priority) - - this makes us hit bug 541506
---
 modules/AppIntegration.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/AppIntegration.jsm b/modules/AppIntegration.jsm
index ece13a9..f1bc77f 100644
--- a/modules/AppIntegration.jsm
+++ b/modules/AppIntegration.jsm
@@ -61,7 +61,7 @@ var AppIntegration =
         let styleService = Cc["@mozilla.org/content/style-sheet-service;1"].getService(Ci.nsIStyleSheetService);
         let ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
         let url = ioService.newURI("data:text/css," + encodeURIComponent(data), null, null);
-        styleService.loadAndRegisterSheet(url, Ci.nsIStyleSheetService.AGENT_SHEET);
+        styleService.loadAndRegisterSheet(url, Ci.nsIStyleSheetService.USER_SHEET);
       }
       request.send(null);
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list