DevTools: improve preview content type detection
1. Preview will now attempt to deduce content type from the mime type and not the resource type. Images loaded via fetch will now be properly shown. 2. "Response" type will now recognize SVG as a text file and show the source code. Bug: 688563 Change-Id: Ie0ec2e46314e0d71ecc69e0517984bcdb3a2f755 Reviewed-on: https://chromium-review.googlesource.com/837731Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Eugene Ostroukhov <eostroukhov@chromium.org> Cr-Commit-Position: refs/heads/master@{#526076}
Showing
Please register or sign in to comment