Skip to content

[Feature]: While allow frame ancestor, can we ignore the samesite policy for set Cookie from server #5308

@dfghj44444

Description

@dfghj44444

Describe the feature/enhancement you need

With webview2Settings->put_AdditionalAllowedFrameAncestors(), I can embed an iframe inside my MainFrame, however, the cookie setting in the iframe, did not work, for the reason it did not write SameSite=None, and that caused the embed iframe cannot work weel as it opened in mainFrame.

The scenario/use case where you would use this feature

I want to load anther site as an iframe in my MainFrame, and the cookie in the iframe can set from server as expect, just like it wrote samesite=none in config.

How important is this request to you?

Critical. My app's basic functions wouldn't work without it.

Suggested implementation

I would like to have an option to ignore the server's cookie samesite config.

What does your app do? Is there a pending deadline for this request?

Our App have serval pages to do different things, and an AI page to do helper, now we want to embed the AI page to any mainFrame, and interact with the mainFrame.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions