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
I'm using novnc master branch (commit a7ca8e5). When I connect to a ubuntu vm by Chrome 53.0.2785.34 and do some mouse clicks. The "Uncaught TypeError" happend.
At first, this issue is hard to reproduce. I found that after adding some busy waiting, this bug is reproducible by keep clicking the mouse on the canvas
diff --git a/core/util.js b/core/util.js
index 03e6925..e374dd2 100644
--- a/core/util.js +++ b/core/util.js @@ -564,6 +564,11 @@ Util.setCapture = function (elem) {
captureElem.addEventListener('touchend', Util._captureProxy);
}
+ var date = new Date(); + var curDate = null; + do { curDate = new Date(); } + while(curDate-date < 200); +
Util._captureElem = elem;
// Track cursor and get initial cursor
The text was updated successfully, but these errors were encountered:
Hi~ I didn't use any old version of novnc.
Anyway, I just deleted chrome local storage, cookies. Open the Chrome development tool and check the option to disable the cache.
As long as I add some busying waiting code, this bug is reproducible.
I'm using novnc master branch (commit a7ca8e5). When I connect to a ubuntu vm by Chrome 53.0.2785.34 and do some mouse clicks. The "Uncaught TypeError" happend.
At first, this issue is hard to reproduce. I found that after adding some busy waiting, this bug is reproducible by keep clicking the mouse on the canvas
The text was updated successfully, but these errors were encountered: