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

Unified Diff: third_party/WebKit/LayoutTests/fast/writing-mode/broken-ideographic-font.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/writing-mode/broken-ideographic-font.html
diff --git a/third_party/WebKit/LayoutTests/fast/writing-mode/broken-ideographic-font.html b/third_party/WebKit/LayoutTests/fast/writing-mode/broken-ideographic-font.html
index cadf014c98c4ca7150d2efa58a4e9b0f58ad4285..88a6ba01ad8c506151296a2bba74b30bc6881abb 100644
--- a/third_party/WebKit/LayoutTests/fast/writing-mode/broken-ideographic-font.html
+++ b/third_party/WebKit/LayoutTests/fast/writing-mode/broken-ideographic-font.html
@@ -68,7 +68,7 @@ p {
document.body.offsetTop;
var image = new Image();
- image.addEventListener("error", function() { if (testRunner) testRunner.notifyDone(); });
+ image.addEventListener("error", function() { if (window.testRunner) testRunner.notifyDone(); });
image.src = "resources/MakibaFont13.ttf";
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698