Define color for XHR timings in waterfall chart. (#105817)

This commit is contained in:
Justin Kambic 2021-07-15 16:18:39 -04:00 committed by GitHub
parent 15b4981b1d
commit cba23c17b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -206,6 +206,7 @@ describe('Palettes', () => {
ssl: '#edc5a2',
stylesheet: '#ca8eae',
wait: '#b0c9e0',
xhr: '#e7664c',
});
});
});

View file

@ -435,6 +435,7 @@ const buildMimeTypePalette = (): MimeTypeColourPalette => {
case MimeType.Font:
acc[value] = SAFE_PALETTE[8];
break;
case MimeType.XHR:
case MimeType.Other:
acc[value] = SAFE_PALETTE[9];
break;