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
Родитель 5a4217fcaf
Коммит e4b806ea83
4 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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