Last Comment Bug 777528 - Expose compartment names to the JS engine
: Expose compartment names to the JS engine
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]
Depends on:
  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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

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

Description User image Bill McCloskey (:billm) 2012-07-25 15:29:26 PDT
Created attachment 645908 [details] [diff] [review]

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 User image Luke Wagner [:luke] 2012-07-25 15:32:43 PDT
Comment on attachment 645908 [details] [diff] [review]

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

Comment 3 User image Ed Morley [:emorley] 2012-07-26 05:08:26 PDT

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