PerformanceTimeline.enablePreviously buffered events would be reported before method returns. See also: timelineEventAdded
| Name | Type | Description |
|---|---|---|
eventTypes | array | The types of event to report, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype The specified filter overrides any previous filters, passing empty filter disables recording. Note that not all types exposed to the web platform are currently supported. |
{
"id": 1,
"method": "PerformanceTimeline.enable",
"params": {
"eventTypes": []
}
}
{
"id": 1,
"result": {}
}
const result = await send('PerformanceTimeline.enable', {"eventTypes": []});
console.log(result);