зеркало из https://github.com/mozilla/gecko-dev.git
Bug 774619 - Fix browser_dbg_bfcache.js test by making GCLI force GC; r=past
This commit is contained in:
Родитель
259732578f
Коммит
d6b82b5d24
|
@ -67,5 +67,10 @@ registerCleanupFunction(function tearDown() {
|
|||
gBrowser.removeCurrentTab();
|
||||
}
|
||||
|
||||
console = undefined;
|
||||
// Force GC, because it seems that GCLI can outrun the garbage collector
|
||||
// in some situations, which causes test failures in later tests
|
||||
// Bug 774619 is an example.
|
||||
window.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIDOMWindowUtils)
|
||||
.garbageCollect();
|
||||
});
|
||||
|
|
|
@ -85,6 +85,7 @@ MOCHITEST_BROWSER_TESTS = \
|
|||
browser_dbg_iframes.js \
|
||||
browser_dbg_pause-exceptions.js \
|
||||
browser_dbg_multiple-windows.js \
|
||||
browser_dbg_bfcache.js \
|
||||
browser_dbg_breakpoint-new-script.js \
|
||||
browser_dbg_bug737803_editor_actual_location.js \
|
||||
browser_dbg_progress-listener-bug.js \
|
||||
|
@ -93,14 +94,6 @@ MOCHITEST_BROWSER_TESTS = \
|
|||
head.js \
|
||||
$(NULL)
|
||||
|
||||
ifneq ($(OS_ARCH),WINNT)
|
||||
MOCHITEST_BROWSER_TESTS += \
|
||||
browser_dbg_bfcache.js \
|
||||
$(NULL)
|
||||
else
|
||||
$(filter disabled-temporarily--bug-774619, browser_dbg_bfcache.js)
|
||||
endif
|
||||
|
||||
MOCHITEST_BROWSER_PAGES = \
|
||||
browser_dbg_tab1.html \
|
||||
browser_dbg_tab2.html \
|
||||
|
|
Загрузка…
Ссылка в новой задаче