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

Unified Diff: third_party/WebKit/LayoutTests/fast/history/history-back-twice-with-subframes-assert.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/history/history-back-twice-with-subframes-assert.html
diff --git a/third_party/WebKit/LayoutTests/fast/history/history-back-twice-with-subframes-assert.html b/third_party/WebKit/LayoutTests/fast/history/history-back-twice-with-subframes-assert.html
index 2d2bafd9ab3b6dc1d918293a69a29c810e54045c..629a706e62569646f87f73aadb1ff79eb18cbfc0 100644
--- a/third_party/WebKit/LayoutTests/fast/history/history-back-twice-with-subframes-assert.html
+++ b/third_party/WebKit/LayoutTests/fast/history/history-back-twice-with-subframes-assert.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<script>
-if (testRunner) {
+if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
@@ -24,7 +24,7 @@ function runTest() {
return;
}
- if (testRunner)
+ if (window.testRunner)
testRunner.notifyDone();
}

Powered by Google App Engine
This is Rietveld 408576698