mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Implement should block mixed content response to request
This commit is contained in:
committed by
Andreas Kling
parent
2159377296
commit
7ce35b75aa
@@ -474,8 +474,8 @@ WebIDL::ExceptionOr<JS::GCPtr<PendingResponse>> main_fetch(JS::Realm& realm, Inf
|
||||
|
||||
// 19. If response is not a network error and any of the following returns blocked
|
||||
if (!response->is_network_error() && (
|
||||
// FIXME: - should internalResponse to request be blocked as mixed content
|
||||
false
|
||||
// - should internalResponse to request be blocked as mixed content
|
||||
MixedContent::should_response_to_request_be_blocked_as_mixed_content(request, internal_response) == Infrastructure::RequestOrResponseBlocking::Blocked
|
||||
// FIXME: - should internalResponse to request be blocked by Content Security Policy
|
||||
|| false
|
||||
// - should internalResponse to request be blocked due to its MIME type
|
||||
|
||||
Reference in New Issue
Block a user