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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/resources/repaint.js

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/repaint/resources/repaint.js
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js b/third_party/WebKit/LayoutTests/fast/repaint/resources/repaint.js
similarity index 98%
rename from third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
rename to third_party/WebKit/LayoutTests/fast/repaint/resources/repaint.js
index a24d0de21c8d9ea5d46d2ce99bd38fd836e10cfd..be0c257a7dde299978bd3802c55a542945058f52 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
+++ b/third_party/WebKit/LayoutTests/fast/repaint/resources/repaint.js
@@ -3,6 +3,7 @@
window.testIsAsync = false;
window.outputRepaintRects = true;
window.generateMinimumRepaint = false; // See comments about 'Minimum repaint' below.
+window.enablePixelTesting = true;
chrishtr 2016/05/13 15:43:06 Pixel testing is expensive. It also leads to the r
// All repaint tests are asynchronous.
if (window.testRunner)
@@ -46,12 +47,6 @@ function runRepaintTest()
};
}
-function runRepaintAndPixelTest()
-{
- window.enablePixelTesting = true;
- runRepaintTest();
-}
-
function forceStyleRecalc()
{
if (document.body)

Powered by Google App Engine
This is Rietveld 408576698