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] Proposed fix
Assignee: general → mrbkap
Status: NEW → ASSIGNED
Attachment #589235 - Flags: review?(jorendorff)
Attachment #589235 - Flags: review?(jorendorff) → review+
Comment on attachment 589235 [details] [diff] [review] Proposed fix https://hg.mozilla.org/integration/mozilla-inbound/rev/04af5f29e0bf
Attachment #589235 - Flags: checkin+
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in before you can comment on or make changes to this bug.