Skip to content

Cookies not working if set too early #20

@chrfin

Description

@chrfin

If you call SetCookieAsync right after the control is constructed the cookie is not set, as the internal OnSetCookieRequestedAsync-event is not yet initialized.
I also did not see a way to detect this state externally to wait for it...

Maybe the cookies could be implemented with a CookieContainer and sync them on demand like in the original WebView?

I did call SetCookieAsync in the Appearing-event of my page and about 4 out of 5 times the control is not ready at that stage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions