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

Unified Diff: LayoutTests/plugins/npruntime/script-tests/browser-object-identity.js

Issue 211933008: Remove multiple GC calls and replace GCController.collect calls with GCController.collectAll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert change to worker-event-listener 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
Index: LayoutTests/plugins/npruntime/script-tests/browser-object-identity.js
diff --git a/LayoutTests/plugins/npruntime/script-tests/browser-object-identity.js b/LayoutTests/plugins/npruntime/script-tests/browser-object-identity.js
index e6c8fa2efb32fe2460b3b0c98fb2b01db0bc60c0..340efb0c632ebe6175c6e255f3f062c1f35e15d8 100644
--- a/LayoutTests/plugins/npruntime/script-tests/browser-object-identity.js
+++ b/LayoutTests/plugins/npruntime/script-tests/browser-object-identity.js
@@ -3,7 +3,7 @@ description("Test that plug-in doesn't get a new browser object instance each ti
function gc()
{
if (window.GCController)
- return GCController.collect();
+ return GCController.collectAll();
for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect)
var s = new String("abc");
« no previous file with comments | « LayoutTests/plugins/npruntime/leak-window-scriptable-object.html ('k') | LayoutTests/plugins/refcount-leaks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698