[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbutton/master] Bug 20701: Allow the directory listing stylesheet in the content policy.
commit 15496115caf82ed6865fa219c2eed4bc59363388
Author: Yawning Angel <yawning@xxxxxxxxxxxxxxx>
Date: Thu Nov 17 18:54:41 2016 +0000
Bug 20701: Allow the directory listing stylesheet in the content policy.
---
src/components/content-policy.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/components/content-policy.js b/src/components/content-policy.js
index 3379eb7..5c0ecf5 100644
--- a/src/components/content-policy.js
+++ b/src/components/content-policy.js
@@ -37,6 +37,9 @@ ContentPolicy.prototype = {
// Resizing text boxes.
"chrome://global/content/bindings/resizer.xml": Ci.nsIContentPolicy.TYPE_XBL,
+
+ // Directory listing.
+ "chrome://global/skin/dirListing/dirListing.css": Ci.nsIContentPolicy.TYPE_STYLESHEET,
},
shouldLoad: function(aContentType, aContentLocation, aRequestOrigin, aContext, aMimeTypeGuess, aExtra) {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits