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.
This commit is contained in:
Andreas Kling 2021-10-03 23:39:07 +02:00
commit f8354c5503
Notes: sideshowbarker 2024-07-18 03:06:39 +09:00
2 changed files with 3 additions and 2 deletions

View file

@ -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");