On 1/23/15 12:06 PM, Tomasz wrote:
Both versions (with returns and conditional statements) compile fine. However, 
neither of them works. Both versions crash on browser startup on:

JS_GetProperty(cx, stack, "source", &source)

Hmm. It's possible that stack came back null if the call into the binding wasn't actually from script. Add a null-check (this part _should_ end up with an indented block and all that).

-Boris

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to