commit | a46c048cdaf00e60f4abbfa51e394c1703f0c61e | [log] [tgz] |
---|---|---|
author | Ilya Sherman <[email protected]> | Tue Aug 18 22:38:39 2020 |
committer | Commit Bot <[email protected]> | Wed Aug 19 05:25:27 2020 |
tree | b8c5f585b3868be882a39cb3f05aef5fe2a00384 | |
parent | e3af1e3f7d4cb174f6997a9d9cdedacf743bd230 [diff] [blame] |
Pull code for formatting the X-Client-Data header from Chromium/upstream This is the devtools side of https://chromium-review.googlesource.com/c/chromium/src/+/2360517 R=mathias Bug: chromium:1103854 Change-Id: I5ec32a4e84a0f873ec5372579728a94f47a83463 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2361093 Reviewed-by: Mathias Bynens <[email protected]> Commit-Queue: Mathias Bynens <[email protected]> Auto-Submit: Ilya Sherman <[email protected]>
diff --git a/front_end/network/RequestHeadersView.js b/front_end/network/RequestHeadersView.js index ab6c224..edf55a9 100644 --- a/front_end/network/RequestHeadersView.js +++ b/front_end/network/RequestHeadersView.js
@@ -787,8 +787,8 @@ headersTreeElement.appendChild(headerTreeElement); if (headerId === 'x-client-data') { - const data = ClientVariations.Parser.parseClientVariations(header.value); - const output = ClientVariations.Formatter.formatClientVariations( + const data = ClientVariations.parseClientVariations(header.value); + const output = ClientVariations.formatClientVariations( data, ls`Active client experiment variation IDs.`, ls`Active client experiment variation IDs that trigger server-side behavior.`); const wrapper = createElement('div');