diff --git a/dom/imptests/html/mochitest.ini b/dom/imptests/html/mochitest.ini
index 35cf5e68608..e07c04bfcaa 100644
--- a/dom/imptests/html/mochitest.ini
+++ b/dom/imptests/html/mochitest.ini
@@ -253,7 +253,7 @@ skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
[dom/ranges/test_Range-isPointInRange.html]
skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
[dom/ranges/test_Range-mutations.html]
-skip-if = buildapp == 'b2g' || android_version == '18' #Test timed out. Bug 1078287
+skip-if = buildapp == 'b2g' || (toolkit == 'android') #Test timed out. Bug 1078287
[dom/ranges/test_Range-selectNode.html]
skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
[dom/ranges/test_Range-set.html]