Last Comment Bug 777528 - Expose compartment names to the JS engine
: Expose compartment names to the JS engine
Status: RESOLVED FIXED
[js:t]
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla17
Assigned To: Bill McCloskey (:billm)
: general
: Jason Orendorff [:jorendorff]
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-25 15:29 PDT by Bill McCloskey (:billm)
Modified: 2012-07-26 05:08 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
patch (8.97 KB, patch)
2012-07-25 15:29 PDT, Bill McCloskey (:billm)
luke: review+
Details | Diff | Splinter Review

Description Bill McCloskey (:billm) 2012-07-25 15:29:26 PDT
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.
Comment 1 Luke Wagner [:luke] 2012-07-25 15:32:43 PDT
Comment on attachment 645908 [details] [diff] [review]
patch

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

cool
Comment 3 Ed Morley [:emorley] 2012-07-26 05:08:26 PDT
https://hg.mozilla.org/mozilla-central/rev/acee68233906

Note You need to log in before you can comment on or make changes to this bug.