mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 553102 - Remove unnecessary SpecialPowers wrap in test_canvas.html. r=me
I put this in in bug 778420, but it looks like it wasn't necessary, since the tests seem to pass without it. It's on the critical path for this longish-running test, and it also breaks stuff with respect to __exposedProps__. Let's kill it.
This commit is contained in:
parent
b528f5812a
commit
48b42305ee
@ -124,8 +124,7 @@ ok(ctx.canvas === canvas, "ctx.canvas === canvas");
|
||||
function isPixel(ctx, x,y, r,g,b,a, d) {
|
||||
var pos = x + "," + y;
|
||||
var colour = r + "," + g + "," + b + "," + a;
|
||||
var pixel = SpecialPowers.unwrap(SpecialPowers.wrap(ctx)
|
||||
.getImageData(x, y, 1, 1));
|
||||
var pixel = ctx.getImageData(x, y, 1, 1);
|
||||
var pr = pixel.data[0],
|
||||
pg = pixel.data[1],
|
||||
pb = pixel.data[2],
|
||||
|
Loading…
Reference in New Issue
Block a user