| Index: lib/requestBlocker.js |
| =================================================================== |
| --- a/lib/requestBlocker.js |
| +++ b/lib/requestBlocker.js |
| @@ -298,17 +298,17 @@ |
| // Ignore disabled subscriptions and filters, unless they just got |
| // disabled, otherwise they have no effect on the handler behavior. |
| if (arg && arg.disabled && !isDisabledAction) |
| return; |
| // Ignore empty subscriptions. This includes subscriptions |
| // that have just been added, but not downloaded yet. |
| - if (arg instanceof Subscription && arg.filters.length == 0) |
| + if (arg instanceof Subscription && arg.filterCount == 0) |
| return; |
| // Ignore all types of filters but request filters, |
| // only these have an effect on the handler behavior. |
| if (arg instanceof Filter && !(arg instanceof RegExpFilter)) |
| return; |
| ignoreFilterNotifications = true; |