Repository navigation
Conversation
This was referenced Nov 24, 2026
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Aborting with
null,false,0or an empty string loses the original reason at capture entry, during pending work and while decoding an image. SVG style preparation has the same issue and can also deliver an already disposed document through its queued resource-lock continuation.Preserve cancellation reasons through the task, renderer, image loader and SVG environment. Use explicit success/error outcomes, check the signal's aborted state, and recheck ownership before delivering the private document. Manual disposal errors, existing CSP/sandbox restrictions and readiness deadlines remain unchanged.
This is based directly on master
f8d1c4b; it does not depend on #650 or contain #651's native-scroll implementation. The old stacked #652 and its failed GC evidence remain separate. This change makes no general GC-stability or native-pixel-fidelity claim.Two independent fixed-input comparisons:
src/svg-style-scope.ts, 60 failed / 33 passed before and 93 passed after across Chromium, Firefox and WebKit.Validation:
docs/evidence/cancellation-reasons-master.jsonand its 207-member raw archive, SHA index and portable verifier retain both baselines, actual failed results, final six-file identities and formatting proof. The two before/after groups are not pooled into one baseline.Current-head remote results for
b652860210997de165e3790674eb13b06ef029fa: CI run 45489531716 failed; CodeQL passed. Coverage passed 1411 tests with 4 skips; source tests passed 1291 with 1 WebKit failure and 4 skips.svg-fragment-lifetime.test.ts:44failed because the source Document WeakRef remained after the original three GC calls. The iframe comparison at line 45 and image/pixel checks at line 46 onward were not reached; built-package tests and Codecov were skipped. This is the SVG host-tree case, separate from old #652's plain-HTML case; no common retaining owner or general GC fix has been established. Failing job and original assertion. The local results above do not replace this remote failure. Published exact-head remote evidence. Keep this draft; physical-device acceptance remains deferred. No npm publication, Mac network change or original contributor-PR closure.Related: #560, #585.