This example code snippet from DevMo should do the trick. It allows you to find the browser (tab) using nsICHannel from an HTTP request / response.
It specifically refers to the http-on-modify-request event, but aSubject should still be the nsICHannel for the http-on-examine-response event events.
source share