biancadanforth / tracking-protection-shield-study

A Shield study to determine the optimal messaging, if any, for Tracking Protection in Firefox.
0 stars 3 forks source link

Existence check URL and Services. Fixes #51. #82

Closed biancadanforth closed 6 years ago

biancadanforth commented 6 years ago

There is a case where requests have started, the addon has shutdown (and Feature.jsm has been unloaded), and the onBeforeRequest listener is still trying to execute on those requests. This checks to see if the necessary API/module is present before processing the request details.