In contentPolicy.js, line 504-505
Code: Select all
if (this.previousRequest && subject.URI == this.previousRequest[0] &&
subject instanceof Ci.nsIWritablePropertyBag)
Code: Select all
this.previousRequest = [location, contentType];
Code: Select all
let location = Utils.unwrapURL(contentLocation);
So it appears to me that you are unwrapping one URL (contentLocation), but not unwrapping the other (subject.URI). I believe this makes it a certainty that these two are never equal, which would make the subsequent code, never execute.
Again, I may be wrong in this, and if I am I apologize for wasting your time.
I for one welcome our new weak-referenced overlords!