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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/viewport-container-crash.svg

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/svg/dom/viewport-container-crash.svg
diff --git a/third_party/WebKit/LayoutTests/svg/dom/viewport-container-crash.svg b/third_party/WebKit/LayoutTests/svg/dom/viewport-container-crash.svg
index 0a2a5e9ca9f1726492057349db6889ff80389113..eda25d79054ef309b238c334d8e1fb830784018d 100644
--- a/third_party/WebKit/LayoutTests/svg/dom/viewport-container-crash.svg
+++ b/third_party/WebKit/LayoutTests/svg/dom/viewport-container-crash.svg
@@ -7,7 +7,7 @@
</defs>
<rect width="430" height="80" fill="url(#Pattern)"/>
<script>
- if (testRunner)
+ if (window.testRunner)
testRunner.dumpAsText();
</script>
</svg>

Powered by Google App Engine
This is Rietveld 408576698