Skip to content

[Android] Fix BlazorWebView back callback can swallow the first Back press when its callback is stale-enabled#35611

Merged
kubaflo merged 1 commit into
dotnet:inflight/currentfrom
devanathan-vaithiyanathan:fix-35573
May 26, 2026
Merged

[Android] Fix BlazorWebView back callback can swallow the first Back press when its callback is stale-enabled#35611
kubaflo merged 1 commit into
dotnet:inflight/currentfrom
devanathan-vaithiyanathan:fix-35573

fix added

360751c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr failed May 26, 2026 in 2h 25m 51s

Build #10.0.80-ci+pr.35611.azdo.1435056 had test failures

Details

Tests

  • Failed: 6 (0.03%)
  • Passed: 18,451 (99.21%)
  • Other: 140 (0.75%)
  • Total: 18,597

Annotations

Check failure on line 10 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

Build log #L10

Path does not exist: /Users/cloudtest/vss/_work/1/s/artifacts/log/

Check failure on line 11 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

Build log #L11

No test result files matching '[
  '/Users/cloudtest/vss/_work/_temp/Microsoft.Maui.IntegrationTests/**/*.trx'
]' were found.

Check failure on line 8 in .buildtasks\Microsoft.Maui.Core.After.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

.buildtasks\Microsoft.Maui.Core.After.targets#L8

.buildtasks\Microsoft.Maui.Core.After.targets(8,3): error MSB4024: (NETCORE_ENGINEERING_TELEMETRY=Build) The imported project file "D:\a\_work\1\s\.buildtasks\Microsoft.Maui.Core.BundledVersions.targets" could not be loaded. The process cannot access the file 'D:\a\_work\1\s\.buildtasks\Microsoft.Maui.Core.BundledVersions.targets' because it is being used by another process.

Check failure on line 91 in .packages\microsoft.dotnet.helix.sdk\10.0.0-beta.25555.106\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.25555.106\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L91

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.25555.106\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(91,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item Microsoft.Maui.UnitTests.dll in job 546f9a6b-fc5c-4845-8bad-4a9928562445 has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/546f9a6b-fc5c-4845-8bad-4a9928562445/workitems/Microsoft.Maui.UnitTests.dll/console

Check failure on line 1 in DurationMetricsRecordWithoutActivityListeners

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

DurationMetricsRecordWithoutActivityListeners

Test failed

Check failure on line 1 in MeasureAndArrangeDoNotAllocateWithoutListeners

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

MeasureAndArrangeDoNotAllocateWithoutListeners

System.ObjectDisposedException : Cannot access a disposed object.
Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
Raw output
   at System.Threading.ThreadLocal`1.GetValueSlow()
   at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() in /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs:line 108
   at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() in /_/src/Core/src/Dispatching/Dispatcher.cs:line 9
   at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetDispatcher(IServiceProvider services, Boolean fallBackToApplicationDispatcher) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 169
   at Microsoft.Maui.Hosting.AppHostBuilderExtensions.<>c.<ConfigureDispatching>b__1_1(IServiceProvider svc) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 25
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
   at Microsoft.Maui.Hosting.AppHostBuilderExtensions.GetOptionalApplicationDispatcher(IServiceProvider provider) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 158
   at Microsoft.Maui.Hosting.AppHostBuilderExtensions.ApplicationDispatcherInitializer.Initialize(IServiceProvider services) in /_/src/Core/src/Hosting/Dispatching/AppHostBuilderExtensions.cs:line 181
   at Microsoft.Maui.MauiContextExtensions.InitializeAppServices(MauiApp mauiApp) in /_/src/Core/src/MauiContextExtensions.cs:line 83
   at Microsoft.Maui.Hosting.MauiAppBuilder.Build() in /_/src/Core/src/Hosting/MauiAppBuilder.cs:line 198
   at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.CreateMauiApp() in /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs:line 117
   at Microsoft.Maui.UnitTests.Diagnostics.LayoutDiagnosticsTests.MeasureAndArrangeDoNotAllocateWithoutListeners() in /_/src/Core/tests/UnitTests/Diagnostics/LayoutDiagnosticsTests.cs:line 26
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in BorderStrokeShapeDoesNotLeak

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

BorderStrokeShapeDoesNotLeak

Test failed

Check failure on line 1 in TestReplaceChild

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

TestReplaceChild

System.ObjectDisposedException : Cannot access a disposed object.
Object name: 'System.Threading.ThreadLocal`1[[Microsoft.Maui.Dispatching.IDispatcher, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
Raw output
   at System.Threading.ThreadLocal`1.GetValueSlow()
   at Microsoft.Maui.UnitTests.DispatcherProviderStub.GetForCurrentThread() in /_/src/Core/tests/UnitTests/TestClasses/DispatcherStub.cs:line 108
   at Microsoft.Maui.Dispatching.Dispatcher.GetForCurrentThread() in /_/src/Core/src/Dispatching/Dispatcher.cs:line 9
   at Microsoft.Maui.Controls.BindableObject..ctor() in /_/src/Controls/src/Core/BindableObject.cs:line 38
   at Microsoft.Maui.Controls.Element..ctor() in /_/src/Controls/src/Core/Element/Element.cs:line 701
   at Microsoft.Maui.Controls.StyleableElement..ctor() in /_/src/Controls/src/Core/StyleableElement/StyleableElement.cs:line 17
   at Microsoft.Maui.Controls.NavigableElement..ctor() in /_/src/Controls/src/Core/NavigableElement/NavigableElement.cs:line 22
   at Microsoft.Maui.Controls.VisualElement..ctor() in /_/src/Controls/src/Core/VisualElement/VisualElement.cs:line 531
   at Microsoft.Maui.Controls.View..ctor() in /_/src/Controls/src/Core/View/View.cs:line 94
   at Microsoft.Maui.Controls.Border..ctor()
   at Microsoft.Maui.UnitTests.Views.BorderTests.TestReplaceChild() in /_/src/Core/tests/UnitTests/Views/BorderTests.cs:line 137
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)