DescriptionMojo JS Bindings: Mojo handles need a toString() method
The toString() method returns something like this:
"[mojo::Handle 28 0x7f1b48059310]". If the handle is invalid, typically because it's been closed, then the small integer raw handle value is "null". The big hex address is included to make it possible to correlate handle strings from before and after a handle has been closed.
BUG=426557
Patch Set 1 #
Total comments: 2
Patch Set 2 : Removed address from output, added a unit test #
Total comments: 1
Messages
Total messages: 5 (1 generated)
|