Index: LayoutTests/web-animations-api/font-builder-crash.html |
diff --git a/LayoutTests/web-animations-api/font-builder-crash.html b/LayoutTests/web-animations-api/font-builder-crash.html |
index ca4566495b3b823dc8153dec136c4a98d4371dbf..77c7d25fc3e7360a366e459bd3b7de6eda838a2d 100644 |
--- a/LayoutTests/web-animations-api/font-builder-crash.html |
+++ b/LayoutTests/web-animations-api/font-builder-crash.html |
@@ -10,6 +10,8 @@ if (window.testRunner) { |
testRunner.waitUntilDone(); |
} |
requestAnimationFrame(function() { |
- testRunner.notifyDone(); |
+ if (window.testRunner) { |
+ testRunner.notifyDone(); |
+ } |
}); |
</script> |