[Regression][Windows]Fix Exception thrown on .NET 10 Windows when calling Permissions.CheckStatusAsync<Permissions.Microphone>() - #33179
Merged
kubaflo merged 10 commits intoMar 21, 2026
Azure Pipelines / maui-pr-devicetests
failed
Mar 21, 2026 in 1h 6m 36s
Build #10.0.60-ci+pr.33179.azdo.1346296 had test failures
Details
- Failed: 3 (0.04%)
- Passed: 6,506 (95.21%)
- Other: 324 (4.74%)
- Total: 6,833
Annotations
Check failure on line 51 in Build log
azure-pipelines / maui-pr-devicetests
Build log #L51
PowerShell exited with code '1'.
azure-pipelines / maui-pr-devicetests
RequestsCanBeInterceptedAndCustomDataReturnedForDifferentHosts(uriBase: \"https://echo.free.beeceptor.com/sample-request\")
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "Hello Matthew (param1=value1, param2=valu"···
Actual: "Failed to fetch"
↑ (pos 0)
Raw output
at Microsoft.Maui.MauiBlazorWebView.DeviceTests.Elements.BlazorWebViewTests.<>c__DisplayClass12_0.<<RequestsCanBeInterceptedAndCustomDataReturnedForDifferentHosts>b__0>d.MoveNext() in /_/src/BlazorWebView/tests/DeviceTests/Elements/BlazorWebViewTests.RequestInterception.cs:line 154
--- End of stack trace from previous location ---
at Microsoft.Maui.MauiBlazorWebView.DeviceTests.Elements.BlazorWebViewTests.<>c__DisplayClass16_0.<<RunTest>b__1>d.MoveNext() in /_/src/BlazorWebView/tests/DeviceTests/Elements/BlazorWebViewTests.RequestInterception.cs:line 440
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.HandlerTestBasement.<>c__DisplayClass20_0.<<AttachAndRun>b__0>d.MoveNext() in /_/src/Core/tests/DeviceTests.Shared/HandlerTests/HandlerTestBasement.cs:line 226
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>g__Run|53_0[T](Func`1 action) in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.Windows.cs:line 278
at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.Windows.cs:line 243
at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.Windows.cs:line 256
at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass12_0`2.<<AttachAndRun>g__Run|0>d.MoveNext() in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.cs:line 190
--- End of stack trace from previous location ---
at Microsoft.Maui.MauiBlazorWebView.DeviceTests.Elements.BlazorWebViewTests.RunTest(Func`3 test) in /_/src/BlazorWebView/tests/DeviceTests/Elements/BlazorWebViewTests.RequestInterception.cs:line 430
--- End of stack trace from previous location ---
azure-pipelines / maui-pr-devicetests
RequestsCanBeInterceptedAndCaseInsensitiveHeadersRead(uriBase: \"https://echo.free.beeceptor.com/sample-request\")
Assert.NotEmpty() Failure: Collection was empty
Raw output
at Microsoft.Maui.MauiBlazorWebView.DeviceTests.Elements.BlazorWebViewTests.<>c__DisplayClass15_0.<<RequestsCanBeInterceptedAndCaseInsensitiveHeadersRead>b__0>d.MoveNext() in /_/src/BlazorWebView/tests/DeviceTests/Elements/BlazorWebViewTests.RequestInterception.cs:line 401
--- End of stack trace from previous location ---
at Microsoft.Maui.MauiBlazorWebView.DeviceTests.Elements.BlazorWebViewTests.<>c__DisplayClass16_0.<<RunTest>b__1>d.MoveNext() in /_/src/BlazorWebView/tests/DeviceTests/Elements/BlazorWebViewTests.RequestInterception.cs:line 440
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.HandlerTestBasement.<>c__DisplayClass20_0.<<AttachAndRun>b__0>d.MoveNext() in /_/src/Core/tests/DeviceTests.Shared/HandlerTests/HandlerTestBasement.cs:line 226
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>g__Run|53_0[T](Func`1 action) in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.Windows.cs:line 278
at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.Windows.cs:line 243
at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.Windows.cs:line 256
at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass12_0`2.<<AttachAndRun>g__Run|0>d.MoveNext() in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.cs:line 190
--- End of stack trace from previous location ---
at Microsoft.Maui.MauiBlazorWebView.DeviceTests.Elements.BlazorWebViewTests.RunTest(Func`3 test) in /_/src/BlazorWebView/tests/DeviceTests/Elements/BlazorWebViewTests.RequestInterception.cs:line 430
--- End of stack trace from previous location ---
Check failure on line 1 in MauiBlazorWebView.DeviceTests-unpackaged.WorkItemExecution
azure-pipelines / maui-pr-devicetests
MauiBlazorWebView.DeviceTests-unpackaged.WorkItemExecution
The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.
Loading