Google Chrome breaks network connection when JavaScript errors
I have this strangest problem and I can't debug it.开发者_高级运维
I am writing a heavy JavaScript application, which spawns a popup when user uploads a file. The actual file transfer happens in the popup, which is set to be the FORM submit target.
Works in all browsers, there are no javascript errors. However, in Google's Chrome browser, when form is submitted, my entire network card device (inside my PC) gets blocked - as in - no connetion with outside world . The only way of fixing it is to Disable the hardware device, then enable it back.
I've seen Chrome acting like this at other times. It is impossible to debug this, as there are no errors, internet just stops working. Please don't tell me it's a driver issue :) It's most likely some JavaScript code that triggers something in Chrome to go beserk.
Does anyone know what gives? I am on chrome v. 3.0.195.27
For an application to cause such a problem, where if you close it, your device is still disabled, I'm sorry, but it's a driver issue :)
To the point, can you monitor the network traffic (use TcpView, or Resource Monitor in Windows 7, or your favorite sniffer) to find the exact point where the error occurs? You're looking for a graph with a downward slope or a flat line.
You can report a bug to Google, but unless you can recreate the behavior on another machine, I doubt anyone will handle it.
Even if you wanted to do something like that with Javascript in browser, you couldn't do it. Of course there's a small chance that there's somekind of bug in Chrome which get's triggered by JS but I don't think so.
Maybe try over at superuser.com . Your question isn't really programing related.
精彩评论