Skip to content

Commit fd62066

Browse files
authored
Merge pull request #195 from HashidaTKS/disable-first-party-sets
Disable first party sets
2 parents 74fd582 + 570a3ec commit fd62066

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

client_app.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ void ClientApp::OnBeforeCommandLineProcessing(const CefString& process_type, Cef
2828
//command_line->AppendSwitchWithValue(_T("disable-features"), _T("NetworkService"));
2929
//2019-07-24 動くようになった。
3030
//Chromium Embedded Framework Version 75.1.4+g4210896+chromium-75.0.3770.100
31+
32+
//CEF119: FirstPartySetsが有効だとYouTubeの検索窓にカーソルを合わせるとクラッシュする問題への対処。
33+
//https://github.com/chromiumembedded/cef/issues/3643
34+
//Chromeが3rd party cookiesをサポート外としたのは2024/1からだが、CEF119は2023/11のリリース。
35+
//そのため、CEF119ではまだthird party cookiesをサポートしているので、first party setsを無効化して問題ない。
36+
//https://cloud.google.com/looker/docs/best-practices/chrome-third-party-cookie-deprecation?hl=en
37+
//TODO: CEF122以降でこの問題は解消しているため、CEF122以降になったらこの記載は削除する。
38+
command_line->AppendSwitchWithValue(_T("disable-features"), _T("FirstPartySets"));
3139

3240
//2020-09-16
3341
//https://bitbucket.org/chromiumembedded/cef/issues/2989/m85-print-preview-fails-to-load-pdf-file

0 commit comments

Comments
 (0)