mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
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:
parent
4e4026c89a
commit
3f5bc023e2
Notes:
github-actions[bot]
2025-07-31 22:39:12 +00:00
Author: https://github.com/Lubrsi
Commit: 3f5bc023e2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5640
9 changed files with 0 additions and 41 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue