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

Unified Diff: LayoutTests/svg/animations/smil-leak-element-instances.svg

Issue 211933007: [SVG] call GCController.collectAll on SVG leak tests to address Oilpan flakiness. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/svg/animations/smil-leak-element-instances-noBaseValRef.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/animations/smil-leak-element-instances.svg
diff --git a/LayoutTests/svg/animations/smil-leak-element-instances.svg b/LayoutTests/svg/animations/smil-leak-element-instances.svg
index 218294cc4d303cee19d1d56da49c6534371c3494..0c3a5704356d321fdaeb5cc3d7e29ebaa27215f8 100644
--- a/LayoutTests/svg/animations/smil-leak-element-instances.svg
+++ b/LayoutTests/svg/animations/smil-leak-element-instances.svg
@@ -44,9 +44,9 @@ function cleanup() {
GCController.collect();
haraken 2014/03/26 03:39:03 Ditto.
- // FIXME: Why is this 400 instead of 200?
+ // This is 400 instead of 200 as it creates shadow tree elements.
var liveDelta = originalLiveElements - internals.numberOfLiveNodes() - 400;
- if (liveDelta == 0)
+ if (liveDelta <= 0)
log("PASS");
else
log("FAIL: " + liveDelta + " extra live node(s)");
« no previous file with comments | « no previous file | LayoutTests/svg/animations/smil-leak-element-instances-noBaseValRef.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698