Index: LayoutTests/http/tests/inspector/search/search-test.js |
diff --git a/LayoutTests/http/tests/inspector/search/search-test.js b/LayoutTests/http/tests/inspector/search/search-test.js |
index f52fdf908d83e43630f8f1f81e5b2fb77ce1c5fc..bffd2940c1593afae2f73f91af504b9827b699b5 100644 |
--- a/LayoutTests/http/tests/inspector/search/search-test.js |
+++ b/LayoutTests/http/tests/inspector/search/search-test.js |
@@ -1,5 +1,9 @@ |
-var initialize_SearchTest = function() { |
+// To ensure that no GC-able resources from other tests upset |
+// expectations, perform an initial GC. |
+if (window.GCController) |
+ GCController.collect(); |
haraken
2015/07/29 13:43:23
Shall we use GCController.collectAll()?
sof
2015/07/29 13:43:57
I've repeatedly tested, and didn't see a need for
|
+var initialize_SearchTest = function() { |
InspectorTest.dumpSearchResults = function(searchResults) |
{ |
function comparator(a, b) |