| Index: lib/requestNotifier.js | 
| =================================================================== | 
| --- a/lib/requestNotifier.js | 
| +++ b/lib/requestNotifier.js | 
| @@ -172,23 +172,23 @@ RequestNotifier.getSelection = function( | 
| else | 
| return null; | 
| }; | 
|  | 
| /** | 
| * Attaches request data to a DOM node. | 
| * @param {Node} node   node to attach data to | 
| * @param {Window} topWnd   top-level window the node belongs to | 
| - * @param {Integer} contentType   request type, one of the Policy.type.* constants | 
| + * @param {String} contentType   request type, e.g. "IMAGE" | 
| * @param {String} docDomain  domain of the document that initiated the request | 
| * @param {Boolean} thirdParty  will be true if a third-party server has been requested | 
| * @param {String} location   the address that has been requested | 
| * @param {Filter} filter   filter applied to the request or null if none | 
| */ | 
| -RequestNotifier.addNodeData = function(/**Node*/ node, /**Window*/ topWnd, /**Integer*/ contentType, /**String*/ docDomain, /**Boolean*/ thirdParty, /**String*/ location, /**Filter*/ filter) | 
| +RequestNotifier.addNodeData = function(/**Node*/ node, /**Window*/ topWnd, /**String*/ contentType, /**String*/ docDomain, /**Boolean*/ thirdParty, /**String*/ location, /**Filter*/ filter) | 
| { | 
| return new RequestEntry(node, topWnd, contentType, docDomain, thirdParty, location, filter); | 
| } | 
|  | 
| /** | 
| * Retrieves the statistics for a window. | 
| * @result {Object} Object with the properties items, blocked, whitelisted, hidden, filters containing statistics for the window (might be null) | 
| */ | 
| @@ -295,18 +295,18 @@ function RequestEntry(node, topWnd, cont | 
| RequestEntry.prototype = | 
| { | 
| /** | 
| * id of request (used to determine last entry attached to a node) | 
| * @type integer | 
| */ | 
| id: 0, | 
| /** | 
| -   * Content type of the request (one of the nsIContentPolicy constants) | 
| -   * @type Integer | 
| +   * Content type of the request, e.g. "IMAGE" | 
| +   * @type String | 
| */ | 
| type: null, | 
| /** | 
| * Domain name of the requesting document | 
| * @type String | 
| */ | 
| docDomain: null, | 
| /** | 
| @@ -325,25 +325,25 @@ RequestEntry.prototype = | 
| */ | 
| filter: null, | 
| /** | 
| * String representation of the content type, e.g. "subdocument" | 
| * @type String | 
| */ | 
| get typeDescr() | 
| { | 
| -    return require("contentPolicy").Policy.typeDescr[this.type]; | 
| +    return this.type; | 
| }, | 
| /** | 
| * User-visible localized representation of the content type, e.g. "frame" | 
| * @type String | 
| */ | 
| get localizedDescr() | 
| { | 
| -    return require("contentPolicy").Policy.localizedDescr[this.type]; | 
| +    return require("contentPolicy").Policy.localizedDescr.get(this.type); | 
| }, | 
|  | 
| /** | 
| * Attaches this request object to a DOM node. | 
| */ | 
| attachToNode: function(/**Node*/ node) | 
| { | 
| let existingData = nodeData.get(node); | 
|  |