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

Unified Diff: third_party/WebKit/LayoutTests/fast/inline/reparent-inline-box.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/inline/reparent-inline-box.html
diff --git a/third_party/WebKit/LayoutTests/fast/inline/reparent-inline-box.html b/third_party/WebKit/LayoutTests/fast/inline/reparent-inline-box.html
index c6c3d049028d5a8bca3a586f2935bd2f8a4af9e2..2cb6231879df3d7fd2de3ec16f59d9ca2a86b310 100644
--- a/third_party/WebKit/LayoutTests/fast/inline/reparent-inline-box.html
+++ b/third_party/WebKit/LayoutTests/fast/inline/reparent-inline-box.html
@@ -2,7 +2,7 @@
<head>
<script>
window.onload = function() {
- if (testRunner) {
+ if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
@@ -25,7 +25,7 @@
var oSuccessMessage = document.createElement("p");
oSuccessMessage.innerHTML = "If this string appears, and the renderer hasn't crashed, then the bug is fixed.";
document.body.appendChild(oSuccessMessage);
- if (testRunner)
+ if (window.testRunner)
testRunner.notifyDone();
});
};

Powered by Google App Engine
This is Rietveld 408576698