commit 15496115caf82ed6865fa219c2eed4bc59363388 Author: Yawning Angel yawning@schwanenlied.me 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) {
tbb-commits@lists.torproject.org