Currently, the compartments and global objects that jsapi-test creates have a null principal. For some tests, it is useful to be able to have principals. I could override createGlobal, but it turns out that it's pretty easy to add this directly to tests.h.
Created attachment 589235 [details] [diff] [review]
Comment on attachment 589235 [details] [diff] [review]