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

Unified Diff: LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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: LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
diff --git a/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js b/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
index 292c14d550c1d669f3d9ea2d770148d680dcc42b..577c5bae32c6697121eb963a37d55691a6b16343 100644
--- a/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
+++ b/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
@@ -112,7 +112,10 @@ function checkForRectUpdate(expectUpdate, operation) {
var visualize = false;
if (window.testRunner) {
- window.testRunner.dumpAsText(visualize);
+ if (vistualize)
+ window.testRunner.dumpAsTextWithPixelResults();
+ else
+ window.testRunner.dumpAsText();
document.documentElement.setAttribute('dumpRenderTree', 'true');
} else {
// Note, this test can be run interactively in content-shell with

Powered by Google App Engine
This is Rietveld 408576698