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

Unified Diff: third_party/WebKit/LayoutTests/compositing/squashing/squashed-repaints.html

Issue 1880763002: Merge repaintRects and paintInvalidationObjects in text-based-repaint test results (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/compositing/squashing/squashed-repaints.html
diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/squashed-repaints.html b/third_party/WebKit/LayoutTests/compositing/squashing/squashed-repaints.html
index 973832664c9e54675538a25a4d05582331dfb750..8b93966d8306f5bff9a6bb5819ee7d88c7f886cc 100644
--- a/third_party/WebKit/LayoutTests/compositing/squashing/squashed-repaints.html
+++ b/third_party/WebKit/LayoutTests/compositing/squashing/squashed-repaints.html
@@ -64,33 +64,33 @@ div:hover {
function executeTestCases()
{
// Case 1
- document.getElementById('Case1').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
+ document.getElementById('Case1').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS);
// Case 2
window.internals.startTrackingRepaints(document);
document.getElementById("A").style.backgroundColor = "green";
- document.getElementById('Case2').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
+ document.getElementById('Case2').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS);
window.internals.stopTrackingRepaints(document);
// Case 3
window.internals.startTrackingRepaints(document);
document.getElementById("A").style.backgroundColor = "blue";
document.getElementById("B").style.backgroundColor = "green";
- document.getElementById('Case3').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
+ document.getElementById('Case3').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS);
window.internals.stopTrackingRepaints(document);
// Case 4
window.internals.startTrackingRepaints(document);
document.getElementById("B").style.backgroundColor = "blue";
document.getElementById("C").style.backgroundColor = "green";
- document.getElementById('Case4').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
+ document.getElementById('Case4').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS);
window.internals.stopTrackingRepaints(document);
// Case 5
window.internals.startTrackingRepaints(document);
document.getElementById("C").style.backgroundColor = "blue";
document.getElementById("A").style.backgroundColor = "green";
- document.getElementById('Case5').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
+ document.getElementById('Case5').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS);
window.internals.stopTrackingRepaints(document);
// Display the test results only after test is done so that it does not affect repaint rect results.

Powered by Google App Engine
This is Rietveld 408576698