Closed Bug 923735 Opened 11 years ago Closed 11 years ago

Tracer should attach "why" to frame exit packets

Categories

(DevTools :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 27

People

(Reporter: fitzgen, Assigned: fitzgen)

Details

Attachments

(1 file)

Attached patch v1Splinter Review
The spec[0] says that there is a "why" property on frame exit packets, but that isn't what the implementation does. [0] https://bug887027.bugzilla.mozilla.org/attachment.cgi?id=778719
Attachment #813811 - Flags: review?(rcampbell)
copied the spec here for future generations: https://wiki.mozilla.org/Trace_Actor
Comment on attachment 813811 [details] [diff] [review] v1 Review of attachment 813811 [details] [diff] [review]: ----------------------------------------------------------------- r+. Not sure if we need an error handler on our promise chain in test_trace_actor-07.js or not. I like to see them. ::: toolkit/devtools/server/tests/unit/test_trace_actor-07.js @@ +35,5 @@ > + .then(eval_code) > + .then(stop_trace) > + .then(function() { > + finishClient(gClient); > + }); should this have a .then(null, errorFunc) at the end of this chain? @@ +64,5 @@ > + try { > + thrower(); > + } catch(e) {} > + > + // Can't test yielding yet because of bug 923729. XXX or TODO ::: toolkit/devtools/server/tests/unit/xpcshell.ini @@ +184,5 @@ > [test_trace_actor-03.js] > [test_trace_actor-04.js] > [test_trace_actor-05.js] > [test_trace_actor-06.js] > +[test_trace_actor-07.js] nice. we're already using the new .ini hotness.
Attachment #813811 - Flags: review?(rcampbell) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 27
Assignee: nobody → nfitzgerald
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: