Closed Bug 723711 Opened 13 years ago Closed 13 years ago

Return the profile data as JS objects

Categories

(Core :: Gecko Profiler, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

Attachments

(1 file)

This will be nicer to use and easier to extend.
Attached patch Return JSObjectsSplinter Review
Attachment #594193 - Flags: review?(bgirard)
Comment on attachment 594193 [details] [diff] [review] Return JSObjects Review of attachment 594193 [details] [diff] [review]: ----------------------------------------------------------------- r+ based on us later moving JSBuilder.h ::: tools/profiler/sps/JSBuilder.h @@ +40,5 @@ > +/* this is handy wrapper around JSAPI to make it more pleasant to use. > + * We collect the JSAPI errors and so that callers don't need to */ > +class JSObjectBuilder > +{ > + public: Typically these are left aligned. @@ +141,5 @@ > + JSObjectBuilder(JSContext *aCx) : mCx(aCx), mOk(JS_TRUE) > + { > + } > + private: > + JSObjectBuilder(JSObjectBuilder&); You're not disallowing the evil assignment operator.
Attachment #594193 - Flags: review?(bgirard) → review+
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
hm, looks like this has been backed out but not annotated
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla13 → ---
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: