Commit Graph
7 Commits
Author SHA1 Message Date
Tarek Ziadé 450e8edb10 Bug 1477943 - Add a unique id per PerformanceCounter instance - r=baku,froydnj
This new id is added in the PerformanceInfo data and helps consumers distinguish
counters.

MozReview-Commit-ID: 7kEmqJcVggM
2018-07-27 11:44:22 +02:00
Tarek Ziadé 0674167e90 Bug 1474844 - Filter out empty categories - r=baku
Filters out empty categories when ChromeUtils.requestPerformanceMetrics() is called.

This test also:

- adds more test coverage
- uses the worker windowId when it has no linked window.
- properly walk to the worker parent

MozReview-Commit-ID: 3UH9a0UtVmx
2018-07-13 11:57:59 +02:00
Tarek Ziadé c916d5e12a Bug 1474592 - typo in AggregatedResults - r=baku
Fixed a typo in the serializer.

MozReview-Commit-ID: EgwnXbfqOf6
2018-07-10 15:41:29 +02:00
Tarek Ziadé f247a7a422 Bug 1474253 - Improve ReportPerformanceInfo() - r=baku
- modifies how we get the top window id, adds isTopLevel
- renames pwid to windowId, worker to isWorker
- removes the wid field
- uses the url in case the host is empty

It also fixes PerformanceInfoDictionary.host type

MozReview-Commit-ID: 4AzO3UnJ2LM
2018-07-10 09:58:48 +02:00
Tarek Ziadé e614ede0a8 Bug 1471517 - Converts ChromeUtils.requestPerformanceMetrics as Promise - r=baku
This ChromeUtils API now returns a promise that gets resolved once all the data
has been collected via IPDL and the main process. The existing notification
design and its related XPCOM classes are removed.

MozReview-Commit-ID: CYKukBOC8yh
2018-07-05 16:32:03 +02:00
Margareta Eliza Balazs 0f5f8350f2 Backed out changeset f177b4c9bdcd (bug 1471517) for causing failures in netwerk/test/browser/browser_test_io_activity.js on a CLOSED TREE 2018-07-06 11:02:21 +03:00
Tarek Ziadé 796a84391d Bug 1471517 - Converts ChromeUtils.requestPerformanceMetrics as Promise - r=baku
This ChromeUtils API now returns a promise that gets resolved once all the data
has been collected via IPDL and the main process. The existing notification
design and its related XPCOM classes are removed.

MozReview-Commit-ID: CYKukBOC8yh
2018-07-05 16:32:03 +02:00