Allow JSAPI tests with principals

RESOLVED FIXED in mozilla12

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mrbkap, Assigned: mrbkap)

Tracking

unspecified
mozilla12
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
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.
(Assignee)

Comment 1

5 years ago
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+
(Assignee)

Comment 2

5 years ago
Comment on attachment 589235 [details] [diff] [review]
Proposed fix

https://hg.mozilla.org/integration/mozilla-inbound/rev/04af5f29e0bf
Attachment #589235 - Flags: checkin+
https://hg.mozilla.org/mozilla-central/rev/04af5f29e0bf
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in before you can comment on or make changes to this bug.