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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.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/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html
index d00f23bdb91948068a227fb936ae547c359d09e3..df622c047abccb5d351c9b8ec8b9be7e8a60ac79 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html
@@ -3,7 +3,7 @@
<script>
description("Invalid img.srcset URL should not crash");
window.jsTestIsAsync = true;
- if (testRunner) {
+ if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}

Powered by Google App Engine
This is Rietveld 408576698