Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / web-animations-api / player-cancel-finishes.html
index cc2b6d6..2d46956 100644 (file)
@@ -50,7 +50,9 @@ function onFinishMiddle(event) {
 
 function onFinishBottom(event) {
     validateFinishEvent(playerBottom, event);
-    testRunner.notifyDone();
+    if (window.testRunner) {
+        testRunner.notifyDone();
+    }
 }
 
 function animate() {