From:  James Stortz <james.ryan.stortz@gmail.com>
Date:  15 Aug 2018 02:31:54 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.tech.js-engine
Subject:  

Re: How do I trace objects on the heap with JS 59

NNTP-Posting-Host:  63.245.210.105

Miles, well I'm not entirely sure my example is 100% correct. I was hoping
to get some answers as well. (I also made a typo with `auto *` D:)

I went digging through some Mozilla/JSAPI code on the DXR to see how it is
used, and put that together with some info from StackOverflow.

I think I can answer your question about Heap/Handle. I believe Handles are
always for Rooted Objects, which are on the stack. Heap and Stack Objects
are handled differently, so you would have to root it before use.

Again, I'm trying to learn these things myself. These are good questions.