Bug 725349. (Av1) Add a missing space to log messages. r=gavin.sharp.

DONTBUILD (log-string only).
This commit is contained in:
Serge Gautherie 2012-02-08 19:45:48 +01:00
parent 59df0b631c
commit 7b6e30ceeb
4 changed files with 8 additions and 8 deletions

View File

@ -39,8 +39,8 @@ function init()
}
description(
"Tests that glActiveTexture and glBindTexture work as expected" +
"Specifically texture targets are per active texture unit.");
"Tests that glActiveTexture and glBindTexture work as expected." +
" Specifically texture targets are per active texture unit.");
var canvas2d = document.getElementById("canvas2d");
var ctx2d = canvas2d.getContext("2d");

View File

@ -78,7 +78,7 @@ function cmpMatrix(a, b, msg)
a.e == b.e &&
a.f == b.f,
msg + " - got " + formatMatrix(a)
+ ", expected" + formatMatrix(b));
+ ", expected " + formatMatrix(b));
}
function roughCmpMatrix(a, b, msg)
@ -96,7 +96,7 @@ function roughCmpMatrix(a, b, msg)
Math.abs(b.e - a.e) < tolerance &&
Math.abs(b.f - a.f) < tolerance,
msg + " - got " + formatMatrix(a)
+ ", expected" + formatMatrix(b));
+ ", expected " + formatMatrix(b));
}
function formatMatrix(m)

View File

@ -48,10 +48,10 @@ function runTests() {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var p = $("plugin1").getLastMouseX();
const delta = 2;
ok(p-delta <= x && x <= p+delta, "test"+test+" LastMouseX got " + p + " expected" + x +
ok(p-delta <= x && x <= p+delta, "test"+test+" LastMouseX got " + p + " expected " + x +
" with fullZoom="+viewer.fullZoom+" MozTransform='"+$("container").style.MozTransform+"'");
p = $("plugin1").getLastMouseY();
ok(p-delta <= y && y <= p+delta, "test"+test+" LastMouseY got " + p + " expected" + y +
ok(p-delta <= y && y <= p+delta, "test"+test+" LastMouseY got " + p + " expected " + y +
" with fullZoom="+viewer.fullZoom+" MozTransform='"+$("container").style.MozTransform+"'");
if (next) next();
}

View File

@ -48,10 +48,10 @@ function runTests() {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var p = $("plugin1").getLastMouseX();
const delta = 2;
ok(p-delta <= x && x <= p+delta, "test"+test+" LastMouseX got " + p + " expected" + x +
ok(p-delta <= x && x <= p+delta, "test"+test+" LastMouseX got " + p + " expected " + x +
" with fullZoom="+viewer.fullZoom+" MozTransform='"+$("container").style.MozTransform+"'");
p = $("plugin1").getLastMouseY();
ok(p-delta <= y && y <= p+delta, "test"+test+" LastMouseY got " + p + " expected" + y +
ok(p-delta <= y && y <= p+delta, "test"+test+" LastMouseY got " + p + " expected " + y +
" with fullZoom="+viewer.fullZoom+" MozTransform='"+$("container").style.MozTransform+"'");
if (next) next();
}