Closed
Bug 1339177
Opened 7 years ago
Closed 7 years ago
WebRequest.onErrorOcurred doesn't get timeouts
Categories
(WebExtensions :: Request Handling, defect, P1)
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.
Updated•7 years ago
|
Priority: -- → P1
Whiteboard: [webRequest] triaged
Updated•7 years ago
|
Assignee: nobody → mixedpuppy
Assignee | ||
Comment 1•7 years ago
|
||
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
Assignee | ||
Comment 2•7 years ago
|
||
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)
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•