Closed Bug 1339177 Opened 7 years ago Closed 7 years ago

WebRequest.onErrorOcurred doesn't get timeouts

Categories

(WebExtensions :: Request Handling, defect, P1)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1149250

People

(Reporter: jkt, Assigned: mixedpuppy)

Details

(Whiteboard: [webRequest] triaged)

I am working on an extension: https://github.com/jonathanKingston/fix-my-http which is rewriting URLs on the fly to be HTTPS.

However it isn't catching any form of timeouts on the page via WebRequest.onCompleted or onErrorOcurred.

My test URL is: https://itv.com which just spins until it doesn't respond.

I would like some way to pickup errors like this, it doesn't have to be through onErrorOcurred etc.
Priority: -- → P1
Whiteboard: [webRequest] triaged
Assignee: nobody → mixedpuppy
I'm pretty sure this is not a timeout issue, but is bug 1149250.

Specifically I have a test that basically is the same as:

https://github.com/jonathanKingston/fix-my-http/blob/master/background.js#L48

Changing protocol from http to https is a failure point.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
jkt, I think you were going to provide a simplified example, just wanted to touch base before it pops out of my brain buffer.
Flags: needinfo?(jkt)
no response, removing ni
Flags: needinfo?(jkt)
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.