Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/contentPolicy.js

Issue 29329246: Issue 3108 - Inject our about: module into all processes (Closed)
Patch Set: Created Oct. 16, 2015, 12:02 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/contentPolicy.js
===================================================================
--- a/lib/contentPolicy.js
+++ b/lib/contentPolicy.js
@@ -47,17 +47,17 @@ let nonVisualTypes = ["SCRIPT", "STYLESH
* Randomly generated class name, to be applied to collapsed nodes.
*/
let collapsedClass = "";
/**
* Public policy checking functions and auxiliary objects
* @class
*/
-let Policy = exports.Policy =
+var Policy = exports.Policy =
{
/**
* Map of content type identifiers by their name.
* @type Object
*/
type: {},
/**
@@ -354,17 +354,17 @@ let Policy = exports.Policy =
}
};
Policy.init();
/**
* Actual nsIContentPolicy and nsIChannelEventSink implementation
* @class
*/
-let PolicyImplementation =
+var PolicyImplementation =
Wladimir Palant 2015/10/16 12:15:10 This is only marginally related - it unbreaks Diag
{
classDescription: "Adblock Plus content policy",
classID: Components.ID("cfeaabe6-1dd1-11b2-a0c6-cb5c268894c9"),
contractID: "@adblockplus.org/abp/policy;1",
xpcom_categories: ["content-policy", "net-channel-event-sinks"],
/**
* Registers the content policy on startup.

Powered by Google App Engine
This is Rietveld