| Index: mojo/bindings/js/core_unittests.js
|
| diff --git a/mojo/bindings/js/core_unittests.js b/mojo/bindings/js/core_unittests.js
|
| index a05a5b200f119935572372baa1f4024f57a77705..62b20d1ac66d4b3091de8e0b4930ba3fabe3c1b5 100644
|
| --- a/mojo/bindings/js/core_unittests.js
|
| +++ b/mojo/bindings/js/core_unittests.js
|
| @@ -5,11 +5,13 @@
|
| define([
|
| "gin/test/expect",
|
| "mojo/bindings/js/core",
|
| - ], function(expect, core) {
|
| + "gc",
|
| + ], function(expect, core, gc) {
|
| runWithMessagePipe(testNop);
|
| runWithMessagePipe(testReadAndWriteMessage);
|
| runWithDataPipe(testNop);
|
| runWithDataPipe(testReadAndWriteDataPipe);
|
| + gc.collectGarbage(); // should not crash
|
| this.result = "PASS";
|
|
|
| function runWithMessagePipe(test) {
|
|
|