From f0efa221b7f93dcdf2fa9db73f298cb66874fb1a Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Wed, 6 Oct 2010 22:40:41 -0400 Subject: [PATCH] Followup for bug 587106. Update test to the new syntax. a=bustage --- content/canvas/test/test_canvas.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/canvas/test/test_canvas.html b/content/canvas/test/test_canvas.html index 7ff9eba7e40..884164dc7bf 100644 --- a/content/canvas/test/test_canvas.html +++ b/content/canvas/test/test_canvas.html @@ -4017,7 +4017,7 @@ var canvas = document.getElementById('c140'); var ctx = canvas.getContext('2d'); ctx.fillStyle = 'rgba(0,0,0,0)'; -ok(ctx.fillStyle == 'rgba(0, 0, 0, 0.0)', "ctx.fillStyle == 'rgba(0, 0, 0, 0.0)'"); +is(ctx.fillStyle, 'rgba(0, 0, 0, 0)', "ctx.fillStyle should be what we set it to"); } @@ -15904,7 +15904,7 @@ var ctx = canvas.getContext('2d'); ctx.shadowColor = 'lime'; ok(ctx.shadowColor === '#00ff00', "ctx.shadowColor === '#00ff00'"); ctx.shadowColor = 'RGBA(0,255, 0,0)'; -ok(ctx.shadowColor === 'rgba(0, 255, 0, 0.0)', "ctx.shadowColor === 'rgba(0, 255, 0, 0.0)'"); +is(ctx.shadowColor, 'rgba(0, 255, 0, 0)', "ctx.shadowColor should be what we set it to"); }