From b89c24ee2094d1b7e73f7e3620f31a6c9727eb55 Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Tue, 6 May 2014 17:25:26 -0700 Subject: [PATCH] Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug --- .../mochitest/chrome/test_cyclecollector.xul | 16 +++++-- js/xpconnect/idl/xpccomponents.idl | 18 ++++++- js/xpconnect/src/XPCComponents.cpp | 16 +++++++ .../specialpowers/content/specialpowersAPI.js | 8 ++++ xpcom/base/nsCycleCollector.cpp | 48 +++++++++++++++++-- xpcom/base/nsCycleCollector.h | 12 +++-- 6 files changed, 105 insertions(+), 13 deletions(-) diff --git a/dom/tests/mochitest/chrome/test_cyclecollector.xul b/dom/tests/mochitest/chrome/test_cyclecollector.xul index 57c133eead44..7c5c2bd2ceef 100644 --- a/dom/tests/mochitest/chrome/test_cyclecollector.xul +++ b/dom/tests/mochitest/chrome/test_cyclecollector.xul @@ -18,13 +18,14 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=