diff --git a/content/canvas/test/test_canvas.html b/content/canvas/test/test_canvas.html
index 794939a164e8..2f6a9bf9dd95 100644
--- a/content/canvas/test/test_canvas.html
+++ b/content/canvas/test/test_canvas.html
@@ -20,7 +20,8 @@ function IsD2DEnabled() {
}
function IsLinux() {
- return navigator.platform.indexOf("Linux") == 0;
+ return navigator.platform.indexOf("Linux") == 0 &&
+ navigator.appVersion.indexOf("Android") == -1;
}
function IsMacOSX10_5orOlder() {