DescriptionAdd GCController support to test_shell.
This is done in the binding layer, GCController is a JS object,
GCController.collect() is a JS function which calls gc().
GCController object can be enabled by calling
ScriptController::setShouldExposeGCController(true);
GCController.collect() needs V8 expose gc function, which is controlled
by a flag '--expose-gc'. Otherwise GCController.collect() has no effect.
By default, test_shell exposes both gc function and GCController object.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=5482
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|