Repository navigation
fix: account for the package scope test restarting its layer - #4334
Merged
Merged
Conversation
Changing the page registry forces a new document. WebKit reports a caught fetch rejection from the departing document as a native page exception while the replacement loads; the same behavior reproduces without Leaf. Use the existing restarting span and retain the assertions proving that revision 2 preserves package CSS boundaries. Closes #4333
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.
The package CSS scope test changes the page's registry, forcing a document reload. WebKit reports a caught fetch rejection from the departing document as a native page exception while the replacement loads; the health collector then fails teardown even though the revised page passes its CSS assertions. This also reproduces on a plain HTML page without Leaf, using a caught fetch while the next document's response is held.
Use the existing
restartingspan for this deliberate executable-layer replacement, ending after revision 2 and its CSS boundaries are asserted. Document that application of the helper. This preserves the cross-engine scope coverage added by #4295 and changes no runtime behavior.Validation: the original WebKit case reproduced the reported teardown error locally. Holding the revision navigation reproduced it with the server still running; that controlled case passed with the span and failed again with the span removed. The final package scope test passes in Chromium, Firefox and WebKit (3 passed).
Closes #4333 — automated triage