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

Unified Diff: third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-iframes.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/dont-squash-into-iframes.html
diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-iframes.html b/third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-iframes.html
index ab8af26125eb9b03bfc84dbc6c1ba078bcf10286..d658a2057c03000de88e500b24ba838e16d50d35 100644
--- a/third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-iframes.html
+++ b/third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-iframes.html
@@ -4,7 +4,7 @@
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
// Tests that squashing into iframes is not allowed.
-if (testRunner) {
+if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
runAfterLayoutAndPaint(function() {

Powered by Google App Engine
This is Rietveld 408576698