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

Unified Diff: third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-bad-time.js

Issue 2295653002: Use window.testRunner in if-clause (Closed)
Patch Set: a Created 4 years, 4 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
Index: third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-bad-time.js
diff --git a/third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-bad-time.js b/third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-bad-time.js
index 29c49cd7abb74c443e027f3b25e1fb9868f981dc..212c72f0337d6ddaf29900bddf11bc31fc112286 100644
--- a/third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-bad-time.js
+++ b/third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-bad-time.js
@@ -14,7 +14,7 @@ function foo(array) {
testPassed("Got 100 ouches.");
else
testFailed("Did not get 100 ouches. Got " + ouches + " instead.");
- if (testRunner)
+ if (window.testRunner)
testRunner.notifyDone();
}

Powered by Google App Engine
This is Rietveld 408576698