mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Support the X-Frame-Options
header
Navigation responses are now checked for adherence to the `X-Frame-Options` header and an error is shown accordingly.
This commit is contained in:
parent
88884c370c
commit
156f9fff32
Notes:
github-actions[bot]
2024-12-07 08:38:54 +00:00
Author: https://github.com/skyz1
Commit: 156f9fff32
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2763
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/tcl3 ✅
5 changed files with 88 additions and 3 deletions
|
@ -97,4 +97,5 @@ struct NonFetchSchemeNavigationParams : JS::Cell {
|
|||
void visit_edges(Visitor& visitor) override;
|
||||
};
|
||||
|
||||
bool check_a_navigation_responses_adherence_to_x_frame_options(GC::Ptr<Fetch::Infrastructure::Response> response, Navigable* navigable, URL::Origin destination_origin);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue