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
|
|
@ -107,9 +107,6 @@ public:
|
|||
CSS::PreferredContrast preferred_contrast() const;
|
||||
CSS::PreferredMotion preferred_motion() const;
|
||||
|
||||
bool is_same_origin_policy_enabled() const { return m_same_origin_policy_enabled; }
|
||||
void set_same_origin_policy_enabled(bool b) { m_same_origin_policy_enabled = b; }
|
||||
|
||||
bool is_scripting_enabled() const { return m_is_scripting_enabled; }
|
||||
void set_is_scripting_enabled(bool b) { m_is_scripting_enabled = b; }
|
||||
|
||||
|
|
@ -249,9 +246,6 @@ private:
|
|||
|
||||
GC::Ptr<HTML::TraversableNavigable> m_top_level_traversable;
|
||||
|
||||
// FIXME: Enable this by default once CORS preflight checks are supported.
|
||||
bool m_same_origin_policy_enabled { false };
|
||||
|
||||
bool m_is_scripting_enabled { true };
|
||||
|
||||
bool m_should_block_pop_ups { true };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue