mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 725349. (Av1) Add a missing space to log messages. r=gavin.sharp.
DONTBUILD (log-string only).
This commit is contained in:
parent
59df0b631c
commit
7b6e30ceeb
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user