Remove obsolete parameter to WebSocket constructor

This commit is contained in:
Dan Stillman 2023-04-06 00:51:17 -04:00
parent 05e9523cba
commit 79fa3c7b0f

View file

@ -152,7 +152,7 @@ Zotero.Streamer_Module.prototype = {
var window = Cc["@mozilla.org/appshell/appShellService;1"]
.getService(Ci.nsIAppShellService).hiddenDOMWindow;
this._socket = new window.WebSocket(url, "zotero-streaming-api-v1");
this._socket = new window.WebSocket(url);
var deferred = Zotero.Promise.defer();
this._socket.onopen = () => {