mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
committed by
Tim Ledbetter
parent
88884c370c
commit
156f9fff32
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user