sockjs / sockjs-client

WebSocket emulation - Javascript client
MIT License
8.45k stars 1.3k forks source link

Google Chrome says "Deprecated feature used" in Issues tab #646

Open salmonb opened 9 months ago

salmonb commented 9 months ago

hi,

When using SockJS in Chrome, it says that sockjs.js uses a deprecated feature at line 3285, which is:

      global.addEventListener(event, listener, false);

and a breakpoint at this line shows that global = window and event = 'unload'. This is indeed a deprecated feature.

Can you please fix this?

wr9dg17 commented 8 months ago

I have same problem, did you find the solution? @salmonb

salmonb commented 8 months ago

@wr9dg17 No, only the contributors of this project can solve this problem (I'm not). I opened this issue just to report the problem, and I hope they will fix it at some point.

It's not that annoying for the final users, but when you deliver an app that logs this, it doesn't look very professional...