Closed christianl closed 12 years ago
SECURITY_ERROR can happen on normal connection error, so hooking it doesn't differ much from hooking normal WebSocket.onclose event. If you want to warn user about the possibility of bad Flash Player configuration, I think you can just use onclose event.
This commit adds the ability to detect when security errors occur. Might not be the best way to do it but you can take a look.