| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * This file is part of Adblock Plus <http://adblockplus.org/>, | 2  * This file is part of Adblock Plus <http://adblockplus.org/>, | 
| 3  * Copyright (C) 2006-2014 Eyeo GmbH | 3  * Copyright (C) 2006-2014 Eyeo GmbH | 
| 4  * | 4  * | 
| 5  * Adblock Plus is free software: you can redistribute it and/or modify | 5  * Adblock Plus is free software: you can redistribute it and/or modify | 
| 6  * it under the terms of the GNU General Public License version 3 as | 6  * it under the terms of the GNU General Public License version 3 as | 
| 7  * published by the Free Software Foundation. | 7  * published by the Free Software Foundation. | 
| 8  * | 8  * | 
| 9  * Adblock Plus is distributed in the hope that it will be useful, | 9  * Adblock Plus is distributed in the hope that it will be useful, | 
| 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 306     else if (filter instanceof ElemHideFilter) | 306     else if (filter instanceof ElemHideFilter) | 
| 307       stats.hidden++; | 307       stats.hidden++; | 
| 308 | 308 | 
| 309     if (filter.text in stats.filters) | 309     if (filter.text in stats.filters) | 
| 310       stats.filters[filter.text]++; | 310       stats.filters[filter.text]++; | 
| 311     else | 311     else | 
| 312       stats.filters[filter.text] = 1; | 312       stats.filters[filter.text] = 1; | 
| 313   } | 313   } | 
| 314 | 314 | 
| 315   // Notify listeners | 315   // Notify listeners | 
| 316   for each (let notifier in activeNotifiers) | 316   for (let notifier of activeNotifiers) | 
| 317     if (!notifier.window || notifier.window == topWnd) | 317     if (!notifier.window || notifier.window == topWnd) | 
| 318       notifier.notifyListener(topWnd, node, this); | 318       notifier.notifyListener(topWnd, node, this); | 
| 319 } | 319 } | 
| 320 RequestEntry.prototype = | 320 RequestEntry.prototype = | 
| 321 { | 321 { | 
| 322   /** | 322   /** | 
| 323    * Content type of the request (one of the nsIContentPolicy constants) | 323    * Content type of the request (one of the nsIContentPolicy constants) | 
| 324    * @type Integer | 324    * @type Integer | 
| 325    */ | 325    */ | 
| 326   type: null, | 326   type: null, | 
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 364     if (typeof existingData == "undefined") | 364     if (typeof existingData == "undefined") | 
| 365     { | 365     { | 
| 366       existingData = {}; | 366       existingData = {}; | 
| 367       setEntry(nodeData, node, existingData); | 367       setEntry(nodeData, node, existingData); | 
| 368     } | 368     } | 
| 369 | 369 | 
| 370     // Add this request to the node data | 370     // Add this request to the node data | 
| 371     existingData[this.type + " " + this.location] = this; | 371     existingData[this.type + " " + this.location] = this; | 
| 372   } | 372   } | 
| 373 }; | 373 }; | 
| OLD | NEW | 
|---|