Repository navigation
[release/11.0.1xx][tests] Stabilize HybridWebView GC and iframe readiness fixtures - #39784
Conversation
….1xx-7d4af78ab4e551b22c4bd42791365243081c04a4-1 On relative base path root Microsoft.Android.Sdk.Windows From Version 37.2.24 -> To Version 37.2.28
…028.31 On relative base path root Microsoft.MacCatalyst.Sdk.net11.0_27.0 , Microsoft.macOS.Sdk.net11.0_27.0 , Microsoft.tvOS.Sdk.net11.0_27.0 From Version 27.0.12230 -> To Version 27.0.12267
Retain Android 37.2.28 while deferring the Apple SDK update requiring unavailable Xcode 27.1. Restore coherent Apple versions and source SHAs so framework, sample, and shared UI/device builds can run every configured stage. Remove the unused Apple feed and duplicate VMR feed entries. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Reuse the independently validated upstream image with its original commit and author, rather than generating a competing fix. The Material3 toolbar is correct; the baseline was cropped with a different status-bar offset. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Replace Appium's ESC/BACK fallback with one ESC and explicit keyboard and dialog-state checks. Keep the original styling snapshots and tolerances. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Backport-of: 38c7492 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Remove the three obsolete Ignore attributes referencing closed issue #19883. Replay all three cases against the exact CI Material3 app: custom track/thumb colors and toggle states pass, and unchanged snapshots differ by 0.154934%, 0.154809%, and 0%, below the existing 0.5% tolerance. Keep method bodies, baselines, categories, and assertions unchanged. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Remove unrelated indentation churn introduced by the repository formatter. Relative to the pre-fix file, only the three validated Ignore removals remain. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Allocate collectable entries in a non-inlined helper before entering the collection wait. Windows Release Helix work item 3ede0869 reported ObjectsAreEvicted_GetEnumerator retaining its target; Debug and both macOS work items passed. Apply the same lifetime-isolated setup to all three eviction tests without changing collection budgets or assertions. Validation: complete Core suites pass in Release and Debug (1074 passed, 3 existing skips each); all three WeakList cases pass ten separate Release runs (30 passed, zero skipped). An external strongly rooted negative control still fails the unchanged assertion, and the restored real suite passes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Stop simulated downloads at exactly one instead of relying on an unreachable floating-point equality, and stop header/footer updates when all downloads complete. Preserve asynchronous updates during navigation and all ten push/pop cycles. Use existing W3C pointer input on Catalyst so this deliberately active fixture does not block on native element-click idle detection. Verify the last pop returns to the first page. Existing wait budgets and assertions remain intact. Validation: official Android HostApp runner built/deployed fresh sources and executed Bugzilla57910Test successfully (1 passed, 0 skipped, ten cycles, 3m20s). Exact C# arithmetic control confirms the old value is 1.0000000000000002 after 20 ticks and the corrected value is 1. Catalyst runtime confirmation remains pending in CI. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Reuse the predicate-based readiness correction from closed PR #39162, adapting it to the release branch's existing Shell shard. The element remains present while rotation layout changes, and NUnit 4 records transient assertion failures even when RetryAssert later succeeds. Keep the default readiness deadline, all three original width assertions/tolerances, category, and platform guards. Reacquire geometry during both transitions and restore portrait in finally. Current failed-case teardown already shows the correct 343-point width; matching NUnit 4.0.1 controls confirm caught transient assertions fail while predicate readiness passes. Validation: official Android HostApp runner executed the exact ShellTitleViewResizesOnRotation contract successfully with valid passing TRX; targeted format and diff checks pass. iOS CI efficacy remains pending, not inferred from Android. Backport-of: e33edd4 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Backport the CI-only cache correction already validated in #39600. Give non-elevated driver installs and updates a checkout-local cache, separate from potentially elevated global Appium installation and shared image cache ownership. Preserve local provisioning, installation versions, error propagation, tests, and existing retry limits. Do not delete or chown shared caches or elevate driver installation. Retain this release branch's CI facts and add only the applicable cache documentation. Validation: provisioning XML parses; both driver Exec operations receive the isolated environment; MSBuild project evaluation and npm cache override configuration succeed. Existing duplicate Versions.props warning is unchanged. No pipeline/configuration tests added or modified; current-branch actual CI remains pending. Backport-of: 405e7f3 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Reuse the exact test-file correction from merged #38665. Current API 36 CI records transient caught assertions as failures even after the geometry converges and the test restores all safe-area edges. NUnit 4 retains these assertion failures; keyboard visibility alone is not completed inset layout. Use NUnit's delayed constraints with the same 15-second deadline and 500ms polling. Preserve keyboard show/hide checks, strict keyboard shrinkage, and both one-pixel restoration bounds. No quarantine, platform/category changes, timeout/tolerance increases, or global helper rewrites. Actual official Android API 36 Pixel 3 XL validation: all five ContentPage tests passed, zero failed/skipped; authoritative TRX retained. Matching NUnit 4.0.1 controls confirm caught transient assertions fail, delayed transient height/geometry succeeds, and permanent violations of either restored coordinate still fail. Targeted whitespace formatting and diff checks passed. Original CI failure retained in 1654846/46056890. No pipeline-configuration tests added or modified. Backport-of: 0d1ea17 (test-file portion) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
….1xx-6d4cadfefbeab3fb1bab7a13b968833799fc7c48-1 On relative base path root Microsoft.Android.Sdk.Windows From Version 37.2.24 -> To Version 37.2.29
…029.2 On relative base path root Microsoft.MacCatalyst.Sdk.net11.0_27.0 , Microsoft.macOS.Sdk.net11.0_27.0 , Microsoft.tvOS.Sdk.net11.0_27.0 From Version 27.0.12230 -> To Version 27.0.12269
Preserve Maestro's new Android 37.2.29 update and both bot commits. The newly flowed Apple 27.0.12269 build comes from 01cf76bb, whose Make.config explicitly requires Xcode 27.1. The validated CI image has Xcode 27.0/26.6, so restore coherent Apple 27.0.12230 versions/source SHAs rather than letting shared builds block downstream tests again. Remove the unused new Apple feed and the two duplicate VMR source entries reintroduced by flow. Retain both distinct new Android feeds. XML parses, NuGet source keys are unique, and the actual owned Android workload was upgraded to 37.2.29 for local runtime validation. No Xcode-check bypass or pipeline/test suppression. Full new-head CI remains pending. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
The routing fixture dispatches native accessibility clicks to static-text descendants, while its contract concerns parent gesture routing. Use the existing W3C pointer helper on Catalyst; other platforms keep native input. Wait for each enabled click's observable count and for the transparency state before the disabled phase. Preserve all eight clicks, the original final 4/0 checks, visual assertions, categories, and default deadlines. Official Android 37.2.29/API30 validation executed both existing tests: 2 passed, 0 failed/skipped; authoritative TRX retained. The changed routing case also passed API36; its unchanged visual peer has no API36 baseline, so that missing-oracle result is not claimed green. Targeted whitespace formatting passed. Catalyst compilation is covered, but efficacy is explicitly pending the next actual Mac CI run, not inferred from Android. No production or global helper change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Shell sharding added ClearIcon query cleanup and updated Android/iOS snapshots, but omitted these three Mac baselines. They still expected an A leaked from the preceding test. Keep the cleanup and align only the three full-size Mac images with the intended cleared-query state, after inspecting calculator/bank/default native icons and labels. Use original PNG bytes from actual current-head CI run 46067158, not edited images or masks. All dimensions remain 789x563; test code, cropping and comparer thresholds are unchanged. The repository's exact default Magick.NET comparer rejects the stale baseline and accepts the corrected baseline against all six captures across two independent CI workers. This captured-frame replay is not a claim that a new full runtime CI run has passed. Document the cross-platform cleanup invariant; full new-head CI will validate publication. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Integrate target 8c3ee4 normally to resolve the merge-conflict gate that was preventing maui-pr from starting. Reuse its existing App.TapElement coordinate-input fix and scoped counter waits instead of our duplicate private helper, retaining stronger per-click 1/2/3/4 checks and the original final 4/0 contract. Do not import the target's new TEST_FAILS_ON_CATALYST wrapper around Issue35736: the requested fix must keep all four icon cases running. Retain the proven query-cleanup snapshot correction rather than quarantine the class. No test categories, counts, timeouts, tolerances, or production code are weakened. After resolution, official Android37.2.29/API30 execution confirms both existing routing/visual cases passed, zero failed/skipped; authoritative TRX retained (6.613s/5.589s). Formatting/diff checks passed. All four SearchHandler methods remain compiled without the Catalyst class guard; actual Mac efficacy and complete new-head CI remain pending. Normal merge preserves both dependency-bot commits and target history; no rebase or force-push. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Two final-head iOS shards failed before tests while a depth-one checkout still fetched all tags: over 450 MiB/153945 objects before early EOF and unusable credential retries. The same large-checkout pattern previously exhausted an integration lane's checkout budget. Use an explicit depth-one, tag-free self checkout for UI execution and disable tag fetching on the existing integration setup checkout. Keep build/sample/pack versioning checkouts, requested commits, test matrices, categories, authentication, and timeouts unchanged. These execution jobs consume already-built artifacts and have no direct release-tag consumers. Validation: both YAML files parse with the existing Ruby YAML parser; git diff checks pass; source/consumer and existing fetchTags:false prior art inspected. No pipeline/configuration tests added or modified. Actual CI must verify --no-tags checkout and nonempty recovered shard execution; no unmeasured speed or green-run claim. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
After the single bounded Windows recovery, Essentials and Graphics still fail Add-AppxPackage before tests (0x80073CF0/0x80070003). The actual Core app/framework ZIP CRCs and SHA256 block maps are intact, and unchanged Core/Blazor packages recovered on other workers. Do not retry blindly or claim this establishes the native deployment cause. The existing failure dump selects the last unsorted records and prints October 11 image events instead of the current failure. Log registered WindowsAppRuntime locations/status/manifest presence, then explicitly sort deployment events newest-first. Keep installation arguments, certificates, test execution, and the original nonzero failure unchanged. Validation: parsed the actual embedded PowerShell command with the existing PowerShell parser, zero syntax errors; git diff checks passed. No pipeline/configuration tests added or modified. This is diagnostic-only, not a deployment fix or native Windows runtime certification; actual next-head CI must supply the missing causal detail. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
The tag-free checkout completed successfully, but UI tool restore then failed creating /Users/cloudtest/.dotnet/10.0.100.toolpath.sentinel in the image-owned user home. The same permission failure occurred on an earlier run; the existing first-time-experience flag does not avoid this write. Initialize DOTNET_CLI_HOME in the agent's job-local temporary directory before provisioning, and persist it as a job variable for all later CLI processes. Tool restore and subsequent commands must share their resolver cache. Do not change HOME, SDK roots, ownership, authentication, test selection or timeouts. Avoid generating an unrelated ASP.NET development certificate during bootstrap. Validation: YAML parses; the actual embedded initializer parses as PowerShell; diff checks pass. A fresh owned CLI home created its toolpath sentinel, restored the missing local-tool resolver cache, and a separate subsequent process successfully ran Cake 4.0.0 with the same home. No pipeline/configuration tests added or modified. Actual CI SDK10 bootstrap and nonempty recovered UI execution remain pending, not inferred from the local SDK11 probe. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Use the net10.0_27.0 child packages declared by the retained macios parent, including their matching versions, source SHA, MSBuild properties and feed. Preserve all coherent-parent relationships and the Xcode 27.0 requirement. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Route this fixture's physical clicks through the actual XCUIElement instead of Mac2's absolute-coordinate application proxy. Keep existing absolute-coordinate callers unchanged, remove the ineffective activation call, and preserve all eight actions and strict counter assertions. Managed build and transport regression controls pass; native gesture efficacy requires CI validation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
Use a synchronous no-inline HybridWebView construction boundary and match Windows iframe-parent DOM readiness without changing leak or cross-origin assertions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7d9fceb8-16e7-4bb1-97ae-585036d6562d
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39784Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39784" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the test-fixture stabilization changes.
No open issues 🎉
What changed in this PR
This test-only servicing follow-up to #39742 stabilizes two device-test fixtures on release/11.0.1xx without changing production code or weakening assertions.
Changes:
- Isolates non-Windows HybridWebView creation and disconnection in a synchronous, non-inlined helper that returns only weak references.
- Waits for the Windows iframe parent’s URL/navigation-ID-matched
DOMContentLoadedevent and removes both event subscriptions infinally. - Preserves existing GC checks, readiness budgets, and the cross-origin fetch denial assertion.
| File | Description |
|---|---|
src/Core/tests/DeviceTests/Handlers/WebView/WebViewHandlerTests.Windows.cs |
Matches parent-document readiness to the intended navigation and cleans up event subscriptions. |
src/Controls/tests/DeviceTests/Memory/MemoryTests.cs |
Separates non-Windows HybridWebView setup locals from the subsequent GC assertions. |
Review effort: Balanced
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
PureWeen
left a comment
There was a problem hiding this comment.
Adversarial review: no actionable findings. The review used 3 independent reviewers with adversarial consensus at exact head b7c2493b09c3c9a1a9bee82b293556cf0feadca0, applying the repository's MAUI review criteria.
Both changed fixture paths remain exercised by device tests. The non-Windows HybridWebView path preserves native handler creation/disconnection and collection assertions for the view, handler and platform view. The Windows iframe case retains the real opaque-origin fetch, exact denial assertion and existing readiness/title budgets while correlating parent-document readiness and cleaning up subscriptions. Native tests were not executed during this review; the qualification results in the PR description were not independently audited.
Prior feedback reviewed: 1 existing review and 4 issue comments; no inline review comments were present in the snapshot. Thread resolution status is unknown; no existing threads were changed.
Scope: code review only. CI/check status and merge readiness were not evaluated; use the repository's CI-analysis workflow for that assessment.
|
@dalexsoto stamp |
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Description of Change Backports the test-specific fixes from `release/11.0.1xx` that are not already present on `main`: - #39498 — force shutdown of dependency owners during disposable Helix MSIX deployment. - #39607 — isolate Resizetizer SVG test outputs using `BaseTest` cleanup (test-only hunk; no dependency updates). - #39784 — stabilize HybridWebView GC fixture lifetimes and WebView2 iframe readiness observation. Source patches were checked against open and recently merged PRs. Existing ports, release-only snapshot baselines, and dependency/version updates were intentionally excluded. ### Validation - `.dotnet/dotnet test src/SingleProject/Resizetizer/test/UnitTests/Resizetizer.UnitTests.csproj -c Debug -p:BuildTaskOnlyBuild=true -p:CI=true --no-restore --filter 'FullyQualifiedName~SkiaSharpSvgToolsTests' --verbosity minimal` — **29 passed, 0 failed**. - The same Release command — **29 passed, 0 failed**. - `.dotnet/dotnet build src/Controls/tests/DeviceTests/Controls.DeviceTests.csproj -f net11.0-android -r android-arm64 -c Debug -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:TreatWarningsAsErrors=false -v:minimal` — **passed** with two existing `MAUI1001` warnings. - Embedded packaged-installation PowerShell parsed with zero syntax errors. - `git diff --check` — **passed**. - Native Windows execution was not run locally; the source PRs retain their Windows/Helix qualification evidence. ### Issues Fixed Backports the validated test fixes from #39498, #39607, and #39784 to `main`. ---------
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Two surgical test-fixture corrections, targeting
release/11.0.1xxexplicitly as a servicing follow-up to #39742:HandlerDoesNotLeak(HybridWebView), create and disconnect the real native handler in a synchronous[MethodImpl(NoInlining)]helper that returns only the existing three weak references. Retain the 1000ms pre-handler delay, native handler creation/disconnection,HybridRoot = "HybridTestRoot",view.Handler = null, and unchangedWaitForGCassertions/all 40 cycles. The Windows WebView2 initialization path is unchanged.CrossOriginIframeFetchOfAppDirResourceIsDenied, observe the parent URL/navigation-ID-matchedCoreWebView2.DOMContentLoadedevent rather than an unfiltered navigation-completed event. Retain the 10s readiness and 8s title budgets, publicIWebViewDelegate.LoadUrl, actual opaque-origin iframe/fetch, and the same"child:denied"/DenyCors assertion. Remove both event subscriptions infinally.No production code, quarantine/skip additions, extra GC, post-creation waits, enlarged budgets, or pipeline/matrix changes. This does not include or alter the Windows UI-test changes in #39783.
Native qualification: source
b7c2493b09c3c9a1a9bee82b293556cf0feadca0, unchanged full/defaultmaui-pr-devicetests(314), build 1657813.All 9 native Helix jobs / 62 actual XML results are complete: 43,850 total; 42,634 passed; 0 failed; 1,216 existing skips; 0 error nodes. The original build 1657739 had the same total/skip counts with two failures. Job identities were correlated from this build's own raw Azure logs; XML declared counts were checked against actual test/error nodes.
All 22 existing HybridWebView leak cases passed: all three inherited Memory fixtures on each iOS Mono/CoreCLR and Catalyst queue (osx15/osx26), plus Android Mono/CoreCLR and unchanged Windows packaged/unpackaged cases. On the originally failing iOS Mono osx26 lane, Base/Flyout/Tabbed passed in 1.3528471s / 1.3395299s / 1.3023115s on
dci-macm2-build-014; actual XML. Console evidence confirmsios-simulator-64, not physical Apple execution.The exact cross-origin iframe case passed on both real Windows deployments: packaged 3.6474163s (
a000OQF) and unpackaged 3.4842413s (a000OU2); packaged console, unpackaged console.Subsequent post-PR validation (red): unchanged full/default
maui-pr-devicetests(314), build 1657980, completed failed. It ranrefs/pull/39784/mergeat merge SHAf08f75adb72d4a6870eb59d63a41dda310a1471f, withtriggerInfo.pr.sourceSha = b7c2493b09c3c9a1a9bee82b293556cf0feadca0. The merge tree is identical to the earlier qualified head.All 9 native Helix jobs / 62 actual XML results are complete: 43,850 total; 42,632 passed; 2 failed; 1,216 unchanged skips; 0 error nodes. This run's own raw Azure send logs correlate all nine job GUIDs; XML declared counts match actual test/error nodes. Exact skip identities match the earlier run in all 62 work items. The two failures are in unchanged test methods:
MemoryTests_TabbedViewHandler.PagesDoNotLeak(type: typeof(ContentPage), includeNavigationViewHandler: true)failed in 5.3669613s because a nativeMicrosoft.Maui.Platform.ContentViewremained alive after the existing GC observation. This is a ContentPage/native-view retention assertion, not the modifiedHandlerDoesNotLeak(HybridWebView)case. Work itemControls.DeviceTests-General, job52f0de98-5629-4da2-bc40-6848a76f9254, machinedci-mac-build-477, exit 1; 1,169 total / 1,154 passed / 1 failed / 14 skipped / 0 errors. Native console confirms a normally completedios-simulator-64test run withTESTS_FAILED, not a missing-result fallback. The exact case passed in 1.3815941s in build 1657813.HybridWebViewTests_SendRawMessage.SendRawMessageRoundTripsSpecialCharacters(testMessage: "with\nnewline")failed in 26.3186838s becauseWaitForHybridWebViewLoadedwaited 25,000ms for page readiness, before the message-roundtrip callback/assertion was exercised. This is a page-readiness timeout, not evidence of newline message corruption or a failure of the modified GC case. Work itemcom.microsoft.maui.controls.devicetests-Signed, jobff2ba15b-3c2c-454e-852c-8d09cdf291b9, machinea000AFK, exit 1; 1,175 total / 1,162 passed / 1 failed / 12 skipped / 0 errors. Native console/logcat confirms completed instrumentation with one test failure. The exact case passed in 1.4111596s in build 1657813.All 22 existing HybridWebView GC cases and both Windows iframe cases passed again in build 1657980. On the failed iOS Mono osx26 lane, Base/Flyout/Tabbed HybridWebView GC passed in 1.1097638s / 1.1073444s / 1.2859115s; Android Mono HybridWebView GC passed in 1.6390928s. The exact Windows iframe case passed packaged 3.6392720s / unpackaged 5.1651167s. The seven other native jobs, including iOS Mono osx15, have empty failure/error-node sets.
The two new failure causes and their PR attribution remain unresolved. Unchanged test methods and same-tree run-to-run variability do not prove infrastructure failure, PR-unrelatedness, or that a retry is safe. The earlier build 1657813 remains historical green evidence for that run only; it does not make build 1657980 green. No qualified production fix has been established, and no source, matrix, deadline, assertion, or budget changes or additional runs were made as part of this documentation update.
Causal scope: the native results support these fixture corrections, but do not establish the original retention/event-delivery mechanism. An earlier unchanged iOS Mono osx26 run already passed. This PR does not claim hoisted-field retention, a production WebKit leak fix, or deterministic ablation certification.
Commands/results:
Windows packaged/unpackaged compilation and iOS Mono/CoreCLR compilation passed on the supported CI toolchain. No local Apple/Windows toolchain bypass was used; unrelated parent-owned pipeline/UI-test work is outside this PR's qualification scope.
Issues Fixed
No separate bug issue is linked. Addresses the two native test-fixture failures observed in build 1657739: inherited
MemoryTests_TabbedViewHandler.HandlerDoesNotLeak(HybridWebView)on iOS Mono osx26, andCrossOriginIframeFetchOfAppDirResourceIsDeniedon Windows Core packaged. Follow-up to the merged SDK/test baseline in #39742.