Skip to content

Commit

Permalink
Updated the source URL in test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
NanthiniMahalingam committed Nov 4, 2024
1 parent 40e360c commit d9101b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Controls/tests/TestCases.HostApp/Issues/Issue18452.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ protected override void Init()
Label label = new Label();
label.AutomationId = "Label";

const string url = "https://httpbin.org/#/Cookies/get_cookies";
const string url = "https://learn.microsoft.com/en-us/dotnet/";

CookieContainer cookieContainer = new();
Uri uri = new(url, UriKind.RelativeOrAbsolute);
Expand Down
2 changes: 1 addition & 1 deletion src/Core/src/Handlers/WebView/WebViewHandler.Windows.cs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ void OnCoreWebView2Initialized(WebView2 sender, CoreWebView2InitializedEventArgs
if (Handler is WebViewHandler handler)
{
sender.UpdateUserAgent(handler.VirtualView);
if (handler.PlatformView.Source is not null)
if (sender.Source is not null)
{
handler.SyncPlatformCookies(handler.PlatformView.Source.ToString()).FireAndForget();
}
Expand Down

0 comments on commit d9101b5

Please sign in to comment.