fix errors not being reported using http proxies
This commit is contained in:
11
ext/bg.js
11
ext/bg.js
@@ -700,16 +700,9 @@ browser.webRequest.onErrorOccurred.addListener(
|
|||||||
|
|
||||||
if(global_ws === null){ return; }
|
if(global_ws === null){ return; }
|
||||||
|
|
||||||
var pending_req = webreq_completed.get(page.requestId);
|
if(!web_response_whitelist.includes(page.type)){
|
||||||
|
|
||||||
if(
|
|
||||||
// we're not watching that req
|
|
||||||
!pending_req ||
|
|
||||||
// some bullshit happened
|
|
||||||
pending_req.success === false
|
|
||||||
){
|
|
||||||
|
|
||||||
webreq_completed.delete(details.requestId);
|
webreq_completed.delete(page.requestId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "4play",
|
"name": "4play",
|
||||||
"version": "1.2",
|
"version": "1.8",
|
||||||
"description": "4play & dominate",
|
"description": "4play & dominate",
|
||||||
"icons": {
|
"icons": {
|
||||||
"32": "icon.png"
|
"32": "icon.png"
|
||||||
|
|||||||
Reference in New Issue
Block a user