[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r14366: Fix venkman source window display+other behavior by marking (torbutton/trunk/src/components)



Author: mikeperry
Date: 2008-04-13 17:17:38 -0400 (Sun, 13 Apr 2008)
New Revision: 14366

Modified:
   torbutton/trunk/src/components/cssblocker.js
Log:

Fix venkman source window display+other behavior by marking
its urls as privileged local.



Modified: torbutton/trunk/src/components/cssblocker.js
===================================================================
--- torbutton/trunk/src/components/cssblocker.js	2008-04-13 02:35:33 UTC (rev 14365)
+++ torbutton/trunk/src/components/cssblocker.js	2008-04-13 21:17:38 UTC (rev 14366)
@@ -184,6 +184,7 @@
             //    4b) browser chrome requests are allowed
             // 
             switch (requestOrigin.scheme) {
+            case "x-jsd": 
             case "chrome":
                 // privileged
                 if ((contentLocation.scheme in localSchemes) ||
@@ -249,8 +250,9 @@
                         return ok;
                     } else {
                         if (this.tor_enabled || ("torbutton" == targetHost)) {
-                            this.logger.eclog(3, "Blocking local request from: " +
-                                              requestOrigin.spec + " for: " +
+                            this.logger.eclog(3, "Blocking local request from: "
+                                              +requestOrigin.spec+" ("
+                                              +requestOrigin.scheme+") for: "+
                                               contentLocation.spec);
                             return block;
                         }