You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Element.setCapture() is deprecated. Use Element.setPointerCapture() instead.
For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture events.js:66:15
Document.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead.
For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture
To Reproduce
Open noVNC client in Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0 browser.
Expected behavior
The replacement functions are called and Firefox does not complain.
Client (please complete the following information):
OS: MacOS BigSur
Browser: Firefox
Browser version: 94
Server (please complete the following information):
noVNC version: 1.3.0
VNC server: QEMU
WebSocket proxy: websockify
The text was updated successfully, but these errors were encountered:
I'm pretty sure this is also the source of behavior differences between browsers, since the function exists mainly in Firefox, and is emulated for other browsers.
For example, in Chrome, clicking inside the canvas results in mouseleave events being fired on the RFB container when a mouse button is released. This issue does not happen with Firefox. (I have not tested other browsers.)
This difference can be demonstrated in the app with a simple change like
JS setCapture()
The setCapture is deprecated in Firefox at least.
Firefox in console gives hint:
To Reproduce
Open noVNC client in
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0
browser.Expected behavior
The replacement functions are called and Firefox does not complain.
Client (please complete the following information):
Server (please complete the following information):
The text was updated successfully, but these errors were encountered: