Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
+--- project :AmazonSanityServerAPI
| +--- project :AutomatedTests-Utils
| | +--- org.slf4j:slf4j-api:1.7.24 -> 1.7.26
| | +--- org.apache.logging.log4j:log4j-api:2.11.1
| | +--- org.apache.logging.log4j:log4j-core:2.11.1
| | | \--- org.apache.logging.log4j:log4j-api:2.11.1
| | +--- org.apache.logging.log4j:log4j-slf4j-impl:2.11.1
| | | +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.26
| | | +--- org.apache.logging.log4j:log4j-api:2.11.1
| | | \--- org.apache.logging.log4j:log4j-core:2.11.1 (*)
<script>
try{
var websocket = new WebSocket("wss://self-signed.badssl.com/");
websocket.onopen = function (event) {
};
websocket.onclose = function (event) {
var reason;
alert(event.code);