Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/components/tooltip/NetworkMarker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,14 @@ export function getNetworkMarkerDetails(
</TooltipDetail>
);

if (payload.priorityHeader) {
details.push(
<TooltipDetail label="Priority Header" key="Network-Priority-Header">
{payload.priorityHeader}
</TooltipDetail>
);
}

if (mimeType) {
details.push(
<TooltipDetail label={mimeTypeLabel} key={'Network-' + mimeTypeLabel}>
Expand Down
3 changes: 3 additions & 0 deletions src/types/markers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,9 @@ export type NetworkPayload = {
RedirectURI?: string;
id: number;
pri: number; // priority of the load; always included as it can change
// The Priority header value from the HTTP response.
// This property is optional because older versions of Gecko do not include it.
priorityHeader?: string;
count?: number; // Total size of transfer, if any
// See all possible values in tools/profiler/core/platform.cpp
status: NetworkStatus;
Expand Down