Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: LayoutTests/web-animations-api/resource-loading.html

Issue 436883002: Web Animations: guard testRunner usages. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix errata Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/web-animations-api/player-finish-sample-only.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/web-animations-api/resource-loading.html
diff --git a/LayoutTests/web-animations-api/resource-loading.html b/LayoutTests/web-animations-api/resource-loading.html
index d245f1e31875e5148303b465d2136438bcc5f335..39c7c311e8a7b4cc9b1f1b17989c315b60819dbf 100644
--- a/LayoutTests/web-animations-api/resource-loading.html
+++ b/LayoutTests/web-animations-api/resource-loading.html
@@ -17,6 +17,8 @@ if (window.testRunner) {
testRunner.waitUntilDone();
}
requestAnimationFrame(function() {
- testRunner.notifyDone();
+ if (window.testRunner) {
+ testRunner.notifyDone();
+ }
});
</script>
« no previous file with comments | « LayoutTests/web-animations-api/player-finish-sample-only.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698