Chilarai
Chilarai

Reputation: 1888

QtWebengine Cookie SameSite=None warning

I keep receiving the following warning on QtWebEngine calls in QML. How do I resolve this?

js: A cookie associated with a resource at <URL> was set with `SameSite=None` but without `Secure`. 

This thread here SameSite warning Chrome 77 says that a cookie header (HttpOnly;Secure;SameSite=Strict) needs to be set. How do I do it in WebEngineView.

Here is my QML snippet

WebEngineView {
    id:primaryVideo

    URL:"http://www.youtube.com/embed/9ldOuVuas1c"
    width:500
    height:250
}

Upvotes: 0

Views: 410

Answers (1)

Lutz Sch&#246;nemann
Lutz Sch&#246;nemann

Reputation: 1139

According to the MDN SameSite Cookie Dokumentation the SameSite header is part of the response not the request. So it is the responsibility of the server to specify the header correctly

Upvotes: 0

Related Questions