> In what cases were the early-return cases actually hit? They correspond
> to things like out-of-memory conditions and should not have been getting
> hit...
Here:
cgThings.append(CGGeneric(' if (!stack) {
\n'))
cgThings.append(CGGeneric(' loopActive = 0;
\n'))
cgThings.append(CGGeneric(' break;
\n'))
cgThings.append(CGGeneric(' }
\n'))
> You should probably just use
> xpc::WindowOrNull(JS::CurrentGlobalOrNull(cx)) instead of messing around
> with "obj".
Perfect, working, thanks! :)
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform