зеркало из https://github.com/mozilla/pjs.git
Bug 725349. (Av1) Add a missing space to log messages. r=gavin.sharp.
DONTBUILD (log-string only).
This commit is contained in:
Родитель
5a4217fcaf
Коммит
e4b806ea83
|
@ -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();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче