Make tests/vnc_perf.html work again.
This commit is contained in:
parent
a7db50597c
commit
1310606305
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>VNC Performance Benchmark</title>
|
<title>VNC Performance Benchmark</title>
|
||||||
<link rel="stylesheet" href="../include/plain.css">
|
<link rel="stylesheet" href="../include/base.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
</script>
|
</script>
|
||||||
<script src="../include/vnc.js"></script>
|
<script src="../include/vnc.js"></script>
|
||||||
<script src="../include/playback.js"></script>
|
<script src="../include/playback.js"></script>
|
||||||
<script src="data/multi.js"></script>
|
<script src="../data/multi.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var start_time, VNC_frame_data, pass, passes, encIdx,
|
var start_time, VNC_frame_data, pass, passes, encIdx,
|
||||||
|
@ -126,7 +126,9 @@
|
||||||
pass += 1;
|
pass += 1;
|
||||||
if (pass > passes) {
|
if (pass > passes) {
|
||||||
// We are finished
|
// We are finished
|
||||||
rfb.get_canvas().stop(); // Shut-off event interception
|
// Shut-off event interception
|
||||||
|
rfb.get_mouse().ungrab();
|
||||||
|
rfb.get_keyboard().ungrab();
|
||||||
$D('startButton').disabled = false;
|
$D('startButton').disabled = false;
|
||||||
$D('startButton').value = "Start";
|
$D('startButton').value = "Start";
|
||||||
finish_passes();
|
finish_passes();
|
||||||
|
|
Loading…
Reference in New Issue