Virtual test suites for slimming paint phase 2

These suites runs about 1000 layout tests as smoking tests for
spv2.

BUG=524134

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201328

R=chrishtr@chromium.org, joelo@chromium.org

Review URL: https://codereview.chromium.org/1307293002 .

git-svn-id: svn://svn.chromium.org/blink/trunk@201339 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 3ad03a81
...@@ -51,6 +51,7 @@ crbug.com/364417 editing/selection/selection-in-iframe-removed-crash.html [ Leak ...@@ -51,6 +51,7 @@ crbug.com/364417 editing/selection/selection-in-iframe-removed-crash.html [ Leak
crbug.com/364417 editing/selection/user-select-js-property.html [ Leak ] crbug.com/364417 editing/selection/user-select-js-property.html [ Leak ]
crbug.com/364417 fast/events/touch/gesture/context-menu-on-long-tap.html [ Leak ] crbug.com/364417 fast/events/touch/gesture/context-menu-on-long-tap.html [ Leak ]
crbug.com/364417 fast/repaint/japanese-rl-selection-clear.html [ Leak ] crbug.com/364417 fast/repaint/japanese-rl-selection-clear.html [ Leak ]
crbug.com/364417 virtual/spv2/fast/repaint/japanese-rl-selection-clear.html [ Leak ]
crbug.com/364417 fast/text/international/hebrew-selection.html [ Leak ] crbug.com/364417 fast/text/international/hebrew-selection.html [ Leak ]
crbug.com/455369 fast/html/marquee-destroyed-without-removed-from-crash.html [ Leak Pass ] crbug.com/455369 fast/html/marquee-destroyed-without-removed-from-crash.html [ Leak Pass ]
......
...@@ -168,5 +168,23 @@ ...@@ -168,5 +168,23 @@
"prefix": "threaded", "prefix": "threaded",
"base": "fast/idle-callback", "base": "fast/idle-callback",
"args": ["--enable-threaded-compositing"] "args": ["--enable-threaded-compositing"]
},
{
"prefix": "spv2",
"base": "compositing/repaint",
"args": ["--enable-slimming-paint-v2",
"--enable-blink-features=SelectionPaintingWithoutSelectionGaps"]
},
{
"prefix": "spv2",
"base": "fast/repaint",
"args": ["--enable-slimming-paint-v2",
"--enable-blink-features=SelectionPaintingWithoutSelectionGaps"]
},
{
"prefix": "spv2",
"base": "paint",
"args": ["--enable-slimming-paint-v2",
"--enable-blink-features=SelectionPaintingWithoutSelectionGaps"]
} }
] ]
# This suite runs tests with --enable-slimming-paint-v2
# We also have try bots running full set of layout tests for spv2:
# https://codereview.chromium.org/1283823002
# This suite runs tests with --enable-slimming-paint-v2
# We also have try bots running full set of layout tests for spv2:
# https://codereview.chromium.org/1283823002
# This suite runs tests with --enable-slimming-paint-v2
# We also have try bots running full set of layout tests for spv2:
# https://codereview.chromium.org/1283823002
...@@ -878,9 +878,16 @@ void DeprecatedPaintLayerCompositor::resetTrackedPaintInvalidationRects() ...@@ -878,9 +878,16 @@ void DeprecatedPaintLayerCompositor::resetTrackedPaintInvalidationRects()
void DeprecatedPaintLayerCompositor::setTracksPaintInvalidations(bool tracksPaintInvalidations) void DeprecatedPaintLayerCompositor::setTracksPaintInvalidations(bool tracksPaintInvalidations)
{ {
ASSERT(lifecycle().state() == #if ENABLE(ASSERT)
(RuntimeEnabledFeatures::slimmingPaintV2Enabled() if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
? DocumentLifecycle::CompositingForSlimmingPaintV2Clean : DocumentLifecycle::PaintInvalidationClean)); ASSERT(lifecycle().state() == DocumentLifecycle::CompositingForSlimmingPaintV2Clean
// TODO(wangxianzhu): Remove this when we remove the old path for spv2.
|| lifecycle().state() == DocumentLifecycle::PaintInvalidationClean);
} else {
ASSERT(lifecycle().state() == DocumentLifecycle::PaintInvalidationClean);
}
#endif
m_isTrackingPaintInvalidations = tracksPaintInvalidations; m_isTrackingPaintInvalidations = tracksPaintInvalidations;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment