We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255e375 commit 40d0ff9Copy full SHA for 40d0ff9
src/inspector/network_agent.cc
@@ -171,12 +171,12 @@ std::unique_ptr<protocol::Network::Response> createResponseFromObject(
171
172
protocol::String mimeType;
173
if (!ObjectGetProtocolString(context, response, "mimeType").To(&mimeType)) {
174
- return {};
+ mimeType = protocol::String("");
175
}
176
177
protocol::String charset = protocol::String();
178
if (!ObjectGetProtocolString(context, response, "charset").To(&charset)) {
179
+ charset = protocol::String("");
180
181
182
return protocol::Network::Response::create()
0 commit comments