b9969b14b6
Turns out we can get ABNORMAL_CODE (1006) for disconnects where (for instance) we pause the background page too long. However, in these cases there is no preceeding ErrorEvent. In contrast, when we have bad authentication credentials, there is an ErrorEvent. Thus, this change ensures that we only reconnect if there was no Error. |
||
---|---|---|
.. | ||
storage | ||
test | ||
api.js | ||
axolotl_wrapper.js | ||
components.js | ||
crypto.js | ||
errors.js | ||
helpers.js | ||
libaxolotl_concat.js | ||
protobufs.js | ||
sendmessage.js | ||
storage.js | ||
stringview.js | ||
websocket-resources.js | ||
websocket.js |