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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-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/block/float/overhanging-float-overflow-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html b/third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html
index c7baeac39f158a8bd353401bb3564fe94edd4f98..8eb0d666c9ff6890659cfd7e241724e20cf4a19b 100644
--- a/third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html
@@ -16,6 +16,6 @@ div {
// Test for https://crbug.com/604331: this test passes if it does not crash.
document.documentElement.appendChild(document.createTextNode('PASS'));
- if (testRunner)
+ if (window.testRunner)
testRunner.dumpAsText();
</script>

Powered by Google App Engine
This is Rietveld 408576698