Closed biancadanforth closed 6 years ago
@gregglind Can you take a look at this one?
if (!currentURI) {
return {};
}
// the URL for the entity making the request
if (!details.originUrl) {
return {};
}
if (currentURI.scheme !== "http" && currentURI.scheme !== "https") {
return {};
}
Claim:
/* during a deathrace, URL is gone */ if (!URL) { return {} }
const DONTBLOCKREQUEST = {}
and return that instead of new pojos'
Even though the addon has executed its shutdown method (including
feature.uninit
which removes theWebRequest.onBeforeRequest
listener, and unloading Feature.jsm), if I end the study via the intro panel while a page is still loading, I get a bunch of"URL is not a constructor"
errors in the browser console from Feature.jsm.The line the error references is from the
onBeforeRequest
event handler method, which shouldn't be firing anymore.When I click the link to Feature.jsm in the browser console, it takes me to a blank page, since the module is unloaded.
What on earth is going on? @rhelmer , any ideas?