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

Unified Diff: third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-really-bad-time-with-__proto__.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-really-bad-time-with-__proto__.js
diff --git a/third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-really-bad-time-with-__proto__.js b/third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-really-bad-time-with-__proto__.js
index 151ef8f8188a840af377eeb6b3e45e1ffaef3fd9..78e7125e54ec0e03c0500271085dadc3fd59c9b9 100644
--- a/third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-really-bad-time-with-__proto__.js
+++ b/third_party/WebKit/LayoutTests/fast/js/script-tests/cross-frame-really-bad-time-with-__proto__.js
@@ -40,7 +40,7 @@ function done() {
else
testFailed("Did not get 5 ouches. Got " + ouches + " + instead.");
- if (testRunner)
+ if (window.testRunner)
testRunner.notifyDone();
}

Powered by Google App Engine
This is Rietveld 408576698