Expose compartment names to the JS engine

RESOLVED FIXED in mozilla17

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: billm, Assigned: billm)

Tracking

unspecified
mozilla17
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [js:t])

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 645908 [details] [diff] [review]
patch

Mostly I want to use this for debug printfs and other instrumentation. Using the dump method on principals has never worked for me. I'm also thinking of using it for the GC statistics output in the case where we have a compartment GC and want to know which compartment.
Attachment #645908 - Flags: review?(luke)

Comment 1

5 years ago
Comment on attachment 645908 [details] [diff] [review]
patch

Review of attachment 645908 [details] [diff] [review]:
-----------------------------------------------------------------

cool
Attachment #645908 - Flags: review?(luke) → review+
Whiteboard: [js:t]
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/acee68233906

Comment 3

5 years ago
https://hg.mozilla.org/mozilla-central/rev/acee68233906
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.