You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
declarativeNetRequest.getMatchedRules seems to return incomplete information.
Due to Safari’s lack of support of the webRequest API, we are attempting to report what our extension is blocking with declarativeNetRequest.getMatchedRules. Unfortunately, the return value is often missing requests that were blocked by DNR rules (i.e. requests that appear in the network tab when my extension is disabled but disappear for the same website after the extension is enabled).
I don't think that the problem is the filter used with getMatchedRules because there are missing values when no filter parameters are input.
Testing getMatchedRules with our Privacy Badger prototype yields different numbers of matched rules for a given tabId depending on whether or not the tabId was filtered for within or outside the getMatchedRules call. On one tab, for example:
Calling declarativeNetRequest.getMatchedRules() with no filter parameters then filtering the results for the tabId yields 118 matches.
Calling declarativeNetRequest.getMatchedRules({tabId: 419}) with the same tabId as one of the getMatchedRules filter parameters yields 153 matches.
declarativeNetRequest.getMatchedRules
seems to return incomplete information.Due to Safari’s lack of support of the
webRequest
API, we are attempting to report what our extension is blocking withdeclarativeNetRequest.getMatchedRules
. Unfortunately, the return value is often missing requests that were blocked by DNR rules (i.e. requests that appear in the network tab when my extension is disabled but disappear for the same website after the extension is enabled).I don't think that the problem is the
filter
used withgetMatchedRules
because there are missing values when no filter parameters are input.Testing
getMatchedRules
with our Privacy Badger prototype yields different numbers of matched rules for a given tabId depending on whether or not the tabId was filtered for within or outside thegetMatchedRules
call. On one tab, for example:declarativeNetRequest.getMatchedRules()
with no filter parameters then filtering the results for the tabId yields 118 matches.declarativeNetRequest.getMatchedRules({tabId: 419})
with the same tabId as one of the getMatchedRules filter parameters yields 153 matches.Apple Feedback Assistant Report: FB16491088
The text was updated successfully, but these errors were encountered: