| Index: mojo/public/js/bindings/core_unittests.js
|
| diff --git a/mojo/public/js/bindings/core_unittests.js b/mojo/public/js/bindings/core_unittests.js
|
| index 5fed10d04cbf0bfffd0eba80985cccbcbe44658b..b115cc06362c67d3d9534b9bb3fa936d96ee02e9 100644
|
| --- a/mojo/public/js/bindings/core_unittests.js
|
| +++ b/mojo/public/js/bindings/core_unittests.js
|
| @@ -15,7 +15,6 @@
|
| runWithDataPipe(testReadAndWriteDataPipe);
|
| runWithDataPipeWithOptions(testNop);
|
| runWithDataPipeWithOptions(testReadAndWriteDataPipe);
|
| - testHandleToString();
|
| gc.collectGarbage(); // should not crash
|
| this.result = "PASS";
|
|
|
| @@ -116,18 +115,4 @@
|
| expect(memory[i]).toBe((i * i) & 0xFF);
|
| }
|
|
|
| - function testHandleToString() {
|
| - var pipe = core.createDataPipe();
|
| - expect(pipe.consumerHandle.toString).toBeDefined();
|
| -
|
| - var openHandleRE = /^\[mojo\:\:Handle \d+\]$/ // e.g. "[mojo::Handle 123]"
|
| - var openHandleString = pipe.consumerHandle.toString();
|
| - expect(openHandleString.match(openHandleRE)[0]).toEqual(openHandleString);
|
| -
|
| - expect(core.close(pipe.producerHandle)).toBe(core.RESULT_OK);
|
| - expect(core.close(pipe.consumerHandle)).toBe(core.RESULT_OK);
|
| -
|
| - expect(pipe.consumerHandle.toString()).toEqual("[mojo::Handle null]");
|
| - }
|
| -
|
| });
|
|
|