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.
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.
jkt, I think you were going to provide a simplified example, just wanted to touch base before it pops out of my brain buffer.
no response, removing ni