mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-13 13:51:51 +00:00
LibWeb: Implement should block mixed content response to request
This commit is contained in:
parent
2159377296
commit
7ce35b75aa
Notes:
sideshowbarker
2024-07-17 00:53:02 +09:00
Author: https://github.com/jamierocks
Commit: 7ce35b75aa
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/22
3 changed files with 29 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue