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

Unified Diff: third_party/WebKit/LayoutTests/compositing/squashing/iframes-are-never-squashed.html

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/compositing/squashing/iframes-are-never-squashed.html
diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/iframes-are-never-squashed.html b/third_party/WebKit/LayoutTests/compositing/squashing/iframes-are-never-squashed.html
index d8100d5e9f4aca8d8424868c4e4b769feeaaebf0..ce976274eb651a11b83f21cb27d9fb45fb3f647a 100644
--- a/third_party/WebKit/LayoutTests/compositing/squashing/iframes-are-never-squashed.html
+++ b/third_party/WebKit/LayoutTests/compositing/squashing/iframes-are-never-squashed.html
@@ -5,7 +5,7 @@
</iframe>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
-if (testRunner) {
+if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
runAfterLayoutAndPaint(function() {

Powered by Google App Engine
This is Rietveld 408576698