diff options
author | Andreas Kling <kling@serenityos.org> | 2021-10-03 23:39:07 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-03 23:39:07 +0200 |
commit | f8354c5503fe9dee41d9e73b09576f699b0dbedc (patch) | |
tree | e03ec15b3cd20f501ff5e1ec80222adfd7b17b79 /Userland/Applications/Browser | |
parent | 573955be7f4b236c2725855aa96b2d24477415ed (diff) | |
download | serenity-f8354c5503fe9dee41d9e73b09576f699b0dbedc.zip |
LibWeb+Browser: Disable Same-Origin Policy by default for now
Until we have CORS preflight checks working, this is only getting in the
way of testing and I have to disable it manually all the time.
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r-- | Userland/Applications/Browser/BrowserWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/BrowserWindow.cpp b/Userland/Applications/Browser/BrowserWindow.cpp index 6e3d463b70..b2f1efa3dc 100644 --- a/Userland/Applications/Browser/BrowserWindow.cpp +++ b/Userland/Applications/Browser/BrowserWindow.cpp @@ -381,7 +381,7 @@ void BrowserWindow::build_menus() active_tab().m_web_content_view->debug_request("same-origin-policy", action.is_checked() ? "on" : "off"); }, this); - same_origin_policy_action->set_checked(true); + same_origin_policy_action->set_checked(false); debug_menu.add_action(same_origin_policy_action); auto& help_menu = add_menu("&Help"); |