mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-29 16:57:00 +08:00
Mark resource from the WebBundle as such and show WebBundle-specific errors.
Bug: 1182537 Change-Id: I1a35a676005cf60d725f23fac0a3900c1a1c21bc Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2949050 Commit-Queue: Danil Somsikov <dsv@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
This commit is contained in:
committed by
Devtools-frontend LUCI CQ
parent
4ba8f35eed
commit
73839bd1b0
@@ -95,7 +95,7 @@ async function requestHandler(request, response) {
|
||||
|
||||
let encoding = 'utf8';
|
||||
if (absoluteFilePath.endsWith('.wasm') || absoluteFilePath.endsWith('.png') || absoluteFilePath.endsWith('.jpg') ||
|
||||
absoluteFilePath.endsWith('.avif')) {
|
||||
absoluteFilePath.endsWith('.avif') || absoluteFilePath.endsWith('.wbn')) {
|
||||
encoding = 'binary';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user