DevTools: HAR file exported from CDT doesn't load in HttpWatch
When a page makes a 'POST' XHR request, and then sends a typed array as binary data, there is no request content type. If the user, then exports the contents of the network tool to a HAR file, the postData section is missing the mimeType field. HttpWatch requires the MimeType field, otherwise it treats the file as if its incorrectly formatted. The fix is to ensure we always generate the mimeType field for the postData section. Change-Id: Id110887fac50057ccab7a257a8de770a9d92b03c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1535348 Commit-Queue: Mike Jackson <mjackson@microsoft.com> Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#644467}
Showing
Please register or sign in to comment