Closed
Bug 332172
Opened 19 years ago
Closed 19 years ago
Support nested event structures
Categories
(Toolkit Graveyard :: Data Collection/Metrics, defect)
Toolkit Graveyard
Data Collection/Metrics
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bryner, Assigned: bryner)
References
Details
Attachments
(1 file)
22.53 KB,
patch
|
Details | Diff | Splinter Review |
Currently, the metrics service only supports a flat event structure. For the profile event outlined on http://wiki.mozilla.org/Browser_Metrics:Data_Collectors , we need to make it support nested data structures.
Assignee | ||
Comment 1•19 years ago
|
||
I might have gone a little overboard with the accessors for the child item list, but I figured we should make this as easy as possible for API consumers to use.
Attachment #216684 -
Flags: first-review?(marria)
Updated•19 years ago
|
Attachment #216684 -
Flags: first-review?(marria) → first-review+
Assignee | ||
Comment 2•19 years ago
|
||
Just for completeness, we talked offline about whether it would make sense to just expose the DOMElement for event items rather than having a separate interface that mirrors much of that functionality. Doing it that way, though, would expose the metrics document via the element's ownerDocument, and I don't think we want that to be accessible through this API. (hack-arounds with a separate document and cloning the tree are possible, but not so great)
So we're going to stick with this approach for now.
Assignee | ||
Comment 3•19 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•