mirror of
https://github.com/aphrody-labs/cef.git
synced 2026-10-13 21:07:07 +00:00
tests: Fix StreamResourceHandlerTest failures
This commit is contained in:
1 parent
716cec2a64
commit
3b187f4246
1 file changed
+5
@@ -99,6 +99,11 @@ class ReadTestHandler : public RoutingTestHandler {
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefRequest> request) override {
|
||||
if (request->GetResourceType() == RT_FAVICON) {
|
||||
// Ignore favicon requests.
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
got_resource_handler_.yes();
|
||||
|
||||
const std::string& url = request->GetURL();
|
||||
|
||||
Reference in new issue
Block a user