method Performance.markResourceTiming
#Performance.markResourceTiming(timingInfo: object,requestedUrl: string,initiatorType: string,global: object,cacheMode: "" | "local",bodyInfo: object,responseStatus: number,deliveryType?: string,): PerformanceResourceTimingCreates a new PerformanceResourceTiming entry in the Resource Timeline.
A PerformanceResourceTiming is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'resource'.
Performance resources are used to mark moments in the Resource Timeline.
Parameters #
#timingInfo: object#requestedUrl: stringThe resource url
#initiatorType: stringThe initiator name, e.g: 'fetch'
#global: object#cacheMode: "" | "local"The cache mode must be an empty string ('') or 'local'
#bodyInfo: object#responseStatus: numberThe response's status code
optional
#deliveryType: stringThe delivery type. Default: ''.