Closed Bug 1173393 Opened 9 years ago Closed 9 years ago

Perf detail views should have unique EventTargets

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect)

41 Branch
defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
Firefox 41
Tracking Status
firefox41 --- fixed

People

(Reporter: jsantell, Assigned: jsantell)

References

Details

Attachments

(1 file)

JIT view binds an event on the "focus" event of JsCallTreeView, which comes from the tree view there. Not sure how that bleeds from MemoryCallTreeView. TypeError: view is undefined: JITOptimizationsView._onFocusFrame@chrome://browser/content/devtools/performance/views/jit-optimizations.js:405:9 EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:147:11 MemoryCallTreeView<._populateCallTree/<@chrome://browser/content/devtools/performance/views/details-memory-call-tree.js:109:28 EventEmitter_emit@resource://gre/modules/devtools/event-emitter.js:147:11 AbstractTreeItem.prototype._onFocus@resource:///modules/devtools/AbstractTreeItem.jsm:579:5 AbstractTreeItem.prototype.focus@resource:///modules/devtools/AbstractTreeItem.jsm:287:5 AbstractTreeItem.prototype._onClick@resource:///modules/devtools/AbstractTreeItem.jsm:526:5
Apparently all these views share the same EventTarget.
Summary: Clicking an allocations frame in allocations call tree throws JIT view error → Perf detail views should have unique EventTargets
This could be extended more, but making separate bugs for that in the perf-extend meta bug (which I've yet to submit I guess). https://treeherder.mozilla.org/#/jobs?repo=try&revision=f2b570f03487
Assignee: nobody → jsantell
Status: NEW → ASSIGNED
Attachment #8620424 - Flags: review?(vporof)
Comment on attachment 8620424 [details] [diff] [review] 1173393-eventbleed.patch Review of attachment 8620424 [details] [diff] [review]: ----------------------------------------------------------------- AHAHAHAHHA *cries*
Attachment #8620424 - Flags: review?(vporof) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 41
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: