jso apis: make static WebSocket method public (#663)

Co-authored-by: noblemaster <contact@noblemaster.com>
This commit is contained in:
Christoph Aschwanden 2023-02-17 19:39:10 +01:00 committed by GitHub
parent 8005ba54ec
commit f40cb430fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,5 +80,5 @@ public abstract class WebSocket implements JSObject {
public abstract String getUrl();
@JSBody(script = "return typeof WebSocket !== 'undefined';")
protected static native boolean isSupported();
public static native boolean isSupported();
}