gimite / web-socket-js

HTML5 Web Socket implementation powered by Flash
BSD 3-Clause "New" or "Revised" License
2.74k stars 490 forks source link

may help me? some one has this problem. #185

Closed qiutian00 closed 2 years ago

qiutian00 commented 3 years ago

set <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />, cannot open ws connection with any error.
image

But after I open the IE console devtool, realod the page, can open ws connection.

qiutian00 commented 3 years ago

debugge the code ,not execute the alert.

Due to WebSocket.__flash.create is undefined


        self.__createTask = null;
        WebSocket.__flash.create(
            self.__id, url, protocols, proxyHost || null, proxyPort || 0, headers || null);

            alert('execute here');
      });