This is a simple regression from bug 733606 that caused tests to go orange with cpg. Patch coming right up.
Created attachment 604988 [details] [diff] [review] Enter the compartment of the new global before calling FinishInitForNewWrappedGlobal. v1 Attaching a patch, flagging mrbkap. Sorry for the churn blake. :-(
Pushed to try, along with some other patches: https://tbpl.mozilla.org/?tree=Try&rev=4d9ad69264c3