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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/date/date-reset-value.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/forms/date/date-reset-value.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/date/date-reset-value.html b/third_party/WebKit/LayoutTests/fast/forms/date/date-reset-value.html
index 4c3c8ae529b6916ea544d3ebbda03c53adec0a93..2167a2001138daf1b28a8f7c0d5a794769a898fc 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/date/date-reset-value.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/date/date-reset-value.html
@@ -6,13 +6,13 @@
<input type="date" value="2012-10-09" id="date2">
</form>
<script>
-if (testRunner)
+if (window.testRunner)
testRunner.waitUntilDone();
window.onload = function() {
date1.value = "1999-12-31";
date2.value = "1999-12-31";
form1.reset();
- if (testRunner)
+ if (window.testRunner)
testRunner.notifyDone();
};
</script>

Powered by Google App Engine
This is Rietveld 408576698