Make tests/vnc_perf.html work again.

This commit is contained in:
Joel Martin 2011-09-25 22:02:13 -05:00
parent a7db50597c
commit 1310606305
1 changed files with 5 additions and 3 deletions

View File

@ -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();