File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,14 @@ export function getNetworkMarkerDetails(
308308 </ TooltipDetail >
309309 ) ;
310310
311+ if ( payload . priorityHeader ) {
312+ details . push (
313+ < TooltipDetail label = "Priority Header" key = "Network-Priority-Header" >
314+ { payload . priorityHeader }
315+ </ TooltipDetail >
316+ ) ;
317+ }
318+
311319 if ( mimeType ) {
312320 details . push (
313321 < TooltipDetail label = { mimeTypeLabel } key = { 'Network-' + mimeTypeLabel } >
Original file line number Diff line number Diff line change @@ -500,6 +500,9 @@ export type NetworkPayload = {
500500 RedirectURI ?: string ;
501501 id : number ;
502502 pri : number ; // priority of the load; always included as it can change
503+ // The Priority header value from the HTTP response.
504+ // This property is optional because older versions of Gecko do not include it.
505+ priorityHeader ?: string ;
503506 count ?: number ; // Total size of transfer, if any
504507 // See all possible values in tools/profiler/core/platform.cpp
505508 status : NetworkStatus ;
You canβt perform that action at this time.
0 commit comments