Skip to content

Commit 7cd795b

Browse files
pewsheenWSH032
authored andcommitted
chore: remove redundant samesite setting
1 parent ac95e3f commit 7cd795b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/webkitgtk/mod.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -931,14 +931,6 @@ impl InnerWebView {
931931
soup_cookie.set_secure(secure);
932932
}
933933

934-
if let Some(same_site) = cookie.same_site() {
935-
soup_cookie.set_same_site_policy(match same_site {
936-
cookie::SameSite::Lax => soup::SameSitePolicy::Lax,
937-
cookie::SameSite::Strict => soup::SameSitePolicy::Strict,
938-
cookie::SameSite::None => soup::SameSitePolicy::None,
939-
})
940-
};
941-
942934
soup_cookie
943935
}
944936

0 commit comments

Comments
 (0)