LibWeb+WebContent+UI: Remove unused same-origin policy toggle

Page::is_same_origin_policy_enabled is unused, and the original FIXME
has been implemented.
This commit is contained in:
Luke Wilde 2025-07-29 12:52:57 +01:00 committed by Alexander Kalenik
parent 4e4026c89a
commit 3f5bc023e2
Notes: github-actions[bot] 2025-07-31 22:39:12 +00:00
9 changed files with 0 additions and 41 deletions

View file

@ -378,11 +378,6 @@ void ConnectionFromClient::debug_request(u64 page_id, ByteString request, ByteSt
return;
}
if (request == "same-origin-policy") {
page->page().set_same_origin_policy_enabled(argument == "on");
return;
}
if (request == "scripting") {
page->page().set_is_scripting_enabled(argument == "on");
return;