-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Change Windows WebView Cookies to CoreWebView2 #13518
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jfversluis
added
t/bug
Something isn't working
platform/windows 🪟
legacy-area-controls
Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
area-controls-webview
WebView
labels
Feb 23, 2023
@jfversluis you can use httpbin.org to interact with cookies (and other methods) we use this service a lot in xamarin-ios and it has a docker image in case we wanted to spawn a docker container with it in the CI, which will ensure is always around. |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Awesome @mandel-macaque! Thank you! Added a sample that looks at httpbin.org for now |
mandel-macaque
requested changes
Mar 6, 2023
mandel-macaque
requested changes
Mar 8, 2023
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
mandel-macaque
approved these changes
Mar 9, 2023
🚨 API change(s) detected @davidbritch FYI |
mattleibow
added
the
backport/suggested
The PR author or issue review has suggested that the change should be backported.
label
May 24, 2023
hartez
added
backport/NO
This change should not be backported. It may break customers.
backport/approved
After some discussion or review, this PR or change was approved to be backported.
and removed
backport/NO
This change should not be backported. It may break customers.
labels
May 31, 2023
Eilon
removed
the
legacy-area-controls
Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
label
May 10, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-controls-webview
WebView
backport/approved
After some discussion or review, this PR or change was approved to be backported.
backport/suggested
The PR author or issue review has suggested that the change should be backported.
platform/windows 🪟
t/breaking 💥
t/bug
Something isn't working
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
The Windows implementation of how we handled cookies in
WebView
was outdated. Updated it to use the more modern API and make it work again.I've added a button to the sample app which sets a cookie for httpbin.org, a site that allows you to read the cookies that are set back to you. Go to Controls > WebView and scroll down to the Load httpbin.org with Cookies button.
Click that and in the loaded website go to Cookies > Get /Cookies > Try it out > Execute and make sure the cookie that was set in code is shown.
Issues Fixed
Fixes #3901