Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WinCairo] include secure cookies for secure WebSockets #9514

Merged
merged 1 commit into from Feb 7, 2023
Merged

[WinCairo] include secure cookies for secure WebSockets #9514

merged 1 commit into from Feb 7, 2023

Conversation

@mxschmitt
Copy link
Contributor Author

Happy to add a test for it if someone lets me know where! I did only find WebSocket tests for cocoa and glib so far.

@mxschmitt
Copy link
Contributor Author

cc @fujii

{
// FIXME: This should filter secure cookies out if the caller requests it.
return { cookiesForSession(*this, firstParty, url, false), false };
return { cookiesForSession(*this, firstParty, url, false, includeSecureCookies), false };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second argument is used for document.setSecureCookiesAccessed. It seems important. https://commits.webkit.org/192473@main It'd be nice, if you properly calculate the second argument in this time.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can follow-up on this one since its not related to the bug report and I didn't find an easy way of doing it.

@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Feb 7, 2023
@fujii fujii added unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing and removed merging-blocked Applied to prevent a change from being merged labels Feb 7, 2023
https://bugs.webkit.org/show_bug.cgi?id=251581

Reviewed by Fujii Hironori.

Before this patch for wss:// connections, secure cookies were not
includes. This fixes it and includes them.

Canonical link: https://commits.webkit.org/259975@main
@webkit-commit-queue
Copy link
Collaborator

Committed 259975@main (11421fd): https://commits.webkit.org/259975@main

Reviewed commits have been landed. Closing PR #9514 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit 11421fd into WebKit:main Feb 7, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants