| Index: LayoutTests/web-animations-api/player-finish-sample-only.html
|
| diff --git a/LayoutTests/web-animations-api/player-finish-sample-only.html b/LayoutTests/web-animations-api/player-finish-sample-only.html
|
| index 56cbe337f12fde1d28a55cbff74642117f8afc7f..8afcbed162e636b5323069341895aca5b8ea0d8c 100644
|
| --- a/LayoutTests/web-animations-api/player-finish-sample-only.html
|
| +++ b/LayoutTests/web-animations-api/player-finish-sample-only.html
|
| @@ -40,7 +40,9 @@ var playerTop, playerMiddle, playerBottom;
|
|
|
| function onFinishTop(event) {
|
| validateFinishEvent(playerTop, event);
|
| - testRunner.notifyDone();
|
| + if (window.testRunner) {
|
| + testRunner.notifyDone();
|
| + }
|
| }
|
|
|
| function onFinishMiddle(event) {
|
|
|