0

I am seeing this error sometimes https://stackoverflow.com/a/17637900/135829, and added a handler to backend side for error case, which I want to test.

For that I want to drop the connection in Chrome. I have access to connection instance, but running .close() method doesn't cause the error as it closes the connection gently.

How can I drop it harshly like it's an error?

Sergei Basharov
  • 51,276
  • 73
  • 200
  • 335
  • What happens if you close the browser from **X** or even terminate the browser process ? Is the connection closed gently again ? – codtex Dec 20 '17 at 16:23
  • absolutely, no errors. As described in the related thread, it happens randomly from time to time. – Sergei Basharov Dec 20 '17 at 16:35

0 Answers0